-
Notifications
You must be signed in to change notification settings - Fork 3k
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
'module' object has no attribute 'NSIG' #518
Comments
i have the same issue. |
coworker ran into this as well module' object has no attribute 'NSIG' error when using Python 2.7.12 :: Anaconda 2.2.0 (x86_64) - OSX works fine for me on ubuntu using Python 2.7.12 |
initial version is: gevent-1.1.0
install
upgrade
upgrade
|
Hopefully no longer an issue. Closing due to inactivity. |
Works on Python 2.7.12 :: Anaconda 4.2.0 (64-bit). However, for me, not on Python 2.7.11 and 2.7.13 :: Anaconda 2.5.0 (64-bit), as well as some Python 2.6.x. Curious if others have seen this.
data@data:~$ locust -f load_test.py --host=https://somewebsite.com
[2017-01-13 17:08:08,683] data/INFO/locust.main: Starting web monitor at *:8089
[2017-01-13 17:08:08,684] data/ERROR/stderr: Traceback (most recent call last):
[2017-01-13 17:08:08,684] data/ERROR/stderr: File "/anaconda/bin/locust", line 11, in
[2017-01-13 17:08:08,684] data/ERROR/stderr:
[2017-01-13 17:08:08,684] data/ERROR/stderr: sys.exit(main())
[2017-01-13 17:08:08,684] data/ERROR/stderr: File "/anaconda/lib/python2.7/site-packages/locust/main.py", line 437, in main
[2017-01-13 17:08:08,685] data/ERROR/stderr:
[2017-01-13 17:08:08,685] data/ERROR/stderr: gevent.signal(signal.SIGTERM, sig_term_handler)
[2017-01-13 17:08:08,685] data/ERROR/stderr: File "/anaconda/lib/python2.7/site-packages/gevent/init.py", line 101, in new
[2017-01-13 17:08:08,685] data/ERROR/stderr:
[2017-01-13 17:08:08,685] data/ERROR/stderr: return _signal_class(*args, **kwargs)
[2017-01-13 17:08:08,686] data/ERROR/stderr: File "/anaconda/lib/python2.7/site-packages/gevent/hub.py", line 265, in init
[2017-01-13 17:08:08,686] data/ERROR/stderr:
[2017-01-13 17:08:08,686] data/ERROR/stderr: self.watcher = self.hub.loop.signal(signalnum, ref=False)
[2017-01-13 17:08:08,686] data/ERROR/stderr: File "gevent/core.pyx", line 478, in gevent.core.loop.signal (gevent/gevent.core.c:8689)
[2017-01-13 17:08:08,686] data/ERROR/stderr: File "gevent/core.pyx", line 1136, in gevent.core.signal.init (gevent/gevent.core.c:19627)
[2017-01-13 17:08:08,687] data/ERROR/stderr: AttributeError
[2017-01-13 17:08:08,687] data/ERROR/stderr: :
[2017-01-13 17:08:08,687] data/ERROR/stderr: 'module' object has no attribute 'NSIG'
[2017-01-13 17:08:08,687] data/ERROR/stderr:
The text was updated successfully, but these errors were encountered: