[2019-09-22 09:57:13,877] lafp-mac-JG5J.int.svenskaspel.se/ERROR/stderr: Traceback (most recent call last):


 "/Users/lafp/git/locust/locust/core.py", line 361, in run

self.execute_next_task()


 "/Users/lafp/git/locust/locust/core.py", line 387, in execute_next_task

self.execute_task(task["callable"], *task["args"], **task["kwargs"])


 "/Users/lafp/git/locust/locust/core.py", line 399, in execute_task

task(self, *args, **kwargs)


 "/Users/lafp/git/locust-plugins/examples/foo.py", line 10, in my_task

request_success.fire(request_type="foo", name="bar", response_time=None, response_length=0)


 "/Users/lafp/git/locust/locust/events.py", line 34, in fire

handler(**kwargs)


 "/Users/lafp/git/locust/locust/stats.py", line 559, in on_request_success

global_stats.log_request(request_type, name, response_time, response_length)


 "/Users/lafp/git/locust/locust/stats.py", line 93, in log_request

self.total.log(response_time, content_length)


 "/Users/lafp/git/locust/locust/stats.py", line 239, in log

self._log_response_time(response_time)


 "/Users/lafp/git/locust/locust/stats.py", line 250, in _log_response_time

self.total_response_time += response_time
TypeError: unsupported operand type(s) for +=: 'int' and 'NoneType'

Traceback (most recent call last):


 "site-packages\matplotlib\backends\backend_wx.py", line 1079, in _onLeftButtonDown


 "site-packages\matplotlib\backend_bases.py", line 1917, in button_press_event


 "site-packages\matplotlib\cbook.py", line 554, in process


 "site-packages\matplotlib\cbook.py", line 416, in __call__


 "CellProfiler\cellprofiler\gui\editobjectsdlg.py", line 871, in on_click


 "CellProfiler\cellprofiler\gui\editobjectsdlg.py", line 1654, in on_split_second_click


 "CellProfiler\cellprofiler\gui\editobjectsdlg.py", line 1453, in exit_split_mode


 "CellProfiler\cellprofiler\gui\editobjectsdlg.py", line 1197, in update_artists


 "site-packages\matplotlib\backends\backend_agg.py", line 451, in restore_region


 "site-packages\matplotlib\backends\backend_agg.py", line 359, in restore_region
TypeError: restore_region() argument 1 must be matplotlib.backends._backend_agg.BufferRegion, not None
