Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed with AttributeError #185

Closed
skibum909 opened this issue Aug 5, 2014 · 6 comments
Closed

failed with AttributeError #185

skibum909 opened this issue Aug 5, 2014 · 6 comments

Comments

@skibum909
Copy link

[2014-08-05 20:41:12,285] ip-10-252-228-82/ERROR/stderr: Traceback (most recent call last):
[2014-08-05 20:41:12,285] ip-10-252-228-82/ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 327, in run
[2014-08-05 20:41:12,285] ip-10-252-228-82/ERROR/stderr: result = self._run(_self.args, *_self.kwargs)
[2014-08-05 20:41:12,285] ip-10-252-228-82/ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/locust/runners.py", line 113, in start_locust
[2014-08-05 20:41:12,285] ip-10-252-228-82/ERROR/stderr: locust().run()
[2014-08-05 20:41:12,285] ip-10-252-228-82/ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/locust/core.py", line 102, in run
[2014-08-05 20:41:12,285] ip-10-252-228-82/ERROR/stderr: self.task_set(self).run()
[2014-08-05 20:41:12,285] ip-10-252-228-82/ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/locust/core.py", line 285, in run
[2014-08-05 20:41:12,286] ip-10-252-228-82/ERROR/stderr: if self.locust._catch_exceptions:
[2014-08-05 20:41:12,286] ip-10-252-228-82/ERROR/stderr: AttributeError: 'NoneType' object has no attribute '_catch_exceptions'
[2014-08-05 20:41:12,286] ip-10-252-228-82/ERROR/stderr: <Greenlet at 0x1d4fa50: start_locust(<class 'locust_file.MyLocust'>)> failed with AttributeError

This is a list of the error output that I get when each of the locusts fail

@Jahaja
Copy link
Member

Jahaja commented Aug 6, 2014

Could you describe your setup a bit more? OS, Python version, locust version etc.

@skibum909
Copy link
Author

I am running Ubuntu 12.04, Python 2.7 and the newest version of locust

@heyman
Copy link
Member

heyman commented Sep 6, 2014

Hi!

Did you manage to resolve this issue? If not, could you post the load testing script that causes this error (or preferably a minimal version that still causes the error)?

@heyman
Copy link
Member

heyman commented Sep 24, 2014

Any update on this?

@skibum909
Copy link
Author

Yeah, I got it working the way it was suppose to. Sorry for not getting
back to you.
On Sep 24, 2014 7:41 AM, "Jonatan Heyman" [email protected] wrote:

Any update on this?


Reply to this email directly or view it on GitHub
#185 (comment).

@heyman
Copy link
Member

heyman commented Sep 24, 2014

Ok, glad to hear you resolved it :).

@heyman heyman closed this as completed Sep 24, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants