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

Lock gevent version #335

Merged
merged 1 commit into from
Sep 10, 2015
Merged

Conversation

nollbit
Copy link
Contributor

@nollbit nollbit commented Sep 10, 2015

Newer versions of gevent recently released to pypi seems not to work with locust

Below occurs with gevent 1.1b4

[2015-09-10 07:23:09,609] precise64/INFO/locust.main: Starting web monitor at *:8089
[2015-09-10 07:23:09,611] precise64/ERROR/stderr: Traceback (most recent call last):
[2015-09-10 07:23:09,611] precise64/ERROR/stderr: File "/usr/local/bin/locust", line 9, in <module>
[2015-09-10 07:23:09,611] precise64/ERROR/stderr:
[2015-09-10 07:23:09,612] precise64/ERROR/stderr: load_entry_point('locustio==0.7.3', 'console_scripts', 'locust')()
[2015-09-10 07:23:09,612] precise64/ERROR/stderr: File "/usr/local/lib/python2.7/dist-packages/locust/main.py", line 437, in main
[2015-09-10 07:23:09,612] precise64/ERROR/stderr:
[2015-09-10 07:23:09,613] precise64/ERROR/stderr: gevent.signal(signal.SIGTERM, sig_term_handler)
[2015-09-10 07:23:09,613] precise64/ERROR/stderr: TypeError
[2015-09-10 07:23:09,613] precise64/ERROR/stderr: :
[2015-09-10 07:23:09,613] precise64/ERROR/stderr: 'module' object is not callable
[2015-09-10 07:23:09,613] precise64/ERROR/stderr:

Newer versions of gevent recently released to pypi seems not to work with locust
ronniekk added a commit that referenced this pull request Sep 10, 2015
@ronniekk ronniekk merged commit 047a461 into locustio:master Sep 10, 2015
@rmandar16
Copy link

Looks like we are again hitting this issue with latest gevent version : https://pypi.org/project/gevent/20.4.0/ , updated as on April, 22nd, 2020:

[2020-04-27 04:04:30,815] tester_host/ERROR/stderr: Traceback (most recent call last):
[2020-04-27 04:04:30,815] tester_host/ERROR/stderr: File "/usr/bin/locust", line 8, in
[2020-04-27 04:04:30,815] tester_host/ERROR/stderr:
[2020-04-27 04:04:30,815] tester_host/ERROR/stderr: sys.exit(main())
[2020-04-27 04:04:30,815] tester_host/ERROR/stderr: File "/usr/lib/python2.7/site-packages/locust/main.py", line 515, in main
[2020-04-27 04:04:30,815] tester_host/ERROR/stderr:
[2020-04-27 04:04:30,815] tester_host/ERROR/stderr: gevent.signal(signal.SIGTERM, sig_term_handler)
[2020-04-27 04:04:30,815] tester_host/ERROR/stderr: TypeError
[2020-04-27 04:04:30,815] tester_host/ERROR/stderr: :
[2020-04-27 04:04:30,815] tester_host/ERROR/stderr: 'module' object is not callable

@heyman
Copy link
Member

heyman commented Apr 27, 2020

@rmandar16

The Gevent version is pinned so one shouldn't run into this unless manually upgrading the gevent version. Nevertheless, I've released a new 0.14.6 version with a fix, and updated so that it uses the latest version of Gevent.

Master already works with the latest Gevent version.

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

Successfully merging this pull request may close these issues.

5 participants