You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When stopping from the web interface I sometimes see the following in the terminal:
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/locust/core.py", line 267, in run
self.execute_next_task()
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/locust/core.py", line 293, in execute_next_task
self.execute_task(task["callable"], *task["args"], **task["kwargs"])
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/locust/core.py", line 305, in execute_task
task(self, *args, **kwargs)
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/locustfile.py", line 128, in home
self.home_feed()
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/locustfile.py", line 67, in home_feed
headers=get_headers(self.access_token)
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/requests/sessions.py", line 526, in get
return self.request('GET', url, **kwargs)
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/locust/clients.py", line 113, in request
response = self._send_request_safe_mode(method, url, **kwargs)
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/locust/clients.py", line 157, in _send_request_safe_mode
return requests.Session.request(self, method, url, **kwargs)
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/requests/sessions.py", line 504, in request
prep.url, proxies, stream, verify, cert
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/requests/sessions.py", line 677, in merge_environment_settings
env_proxies = get_environ_proxies(url, no_proxy=no_proxy)
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/requests/utils.py", line 693, in get_environ_proxies
if should_bypass_proxies(url, no_proxy=no_proxy):
File "/Users/greyvugrin/Desktop/code/soloshot-locust-tests/lib/python2.7/site-packages/requests/utils.py", line 681, in should_bypass_proxies
if bypass:
UnboundLocalError: local variable 'bypass' referenced before assignment
When it happens the web continues to show more requests coming through.
When stopping from the web interface I sometimes see the following in the terminal:
When it happens the web continues to show more requests coming through.
For reference, the offending task seems to be
The text was updated successfully, but these errors were encountered: