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

Locust 0.7.3: TypeError trying to run test #338

Closed
smalenfant opened this issue Sep 16, 2015 · 6 comments
Closed

Locust 0.7.3: TypeError trying to run test #338

smalenfant opened this issue Sep 16, 2015 · 6 comments

Comments

@smalenfant
Copy link

I don't think I had this problem previously and not sure how to fix this. Any pointers?
I'm using the example from the quick start.

(csx)[me@ni-fl-01 csx]$ locust -f example.py -H http://tata
[2015-09-16 08:29:35,679] ni-fl-01.ni.coxlab.net/INFO/locust.main: Starting web monitor at *:8089
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: Traceback (most recent call last):
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: File "/home/smalenfa/csx/bin/locust", line 8, in <module>
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: 
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: load_entry_point('locustio==0.7.3', 'console_scripts', 'locust')()
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: File "/home/smalenfa/csx/lib/python2.6/site-packages/locust/main.py", line 437, in main
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: 
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: gevent.signal(signal.SIGTERM, sig_term_handler)
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: TypeError
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: :
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: 'module' object is not callable
[2015-09-16 08:29:35,680] ni-fl-01.ni.coxlab.net/ERROR/stderr: 
@smalenfant
Copy link
Author

I installed on another machine that never had gevent/locustio and everything is working fine. I'll just close this.

@MarcSteven
Copy link

It's still existing

@heyman
Copy link
Member

heyman commented May 20, 2020

It's still existing

Please provide more details. Do you get the same stacktrace? What Locust version ate you using? Etc. Thanks!

@SteveYf
Copy link

SteveYf commented May 20, 2020

I also encountered the same problem, locust version is 0.11.0, gevent version is 20.4.0, I am running on windows, could this be a problem with the version?

@SteveYf
Copy link

SteveYf commented May 20, 2020

I am using python3.7, I updated the version of gevent package to 1.4.0, no problem

@heyman
Copy link
Member

heyman commented May 20, 2020

Hmm, we currently specify the gevent version to >= 1.5 (since 1.4 has a problem with Python 3.8 IIRC).

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

4 participants