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

error when running in master mode #110

Closed
zerog2k opened this issue Nov 26, 2013 · 3 comments
Closed

error when running in master mode #110

zerog2k opened this issue Nov 26, 2013 · 3 comments

Comments

@zerog2k
Copy link

zerog2k commented Nov 26, 2013

Getting the following error when running in master mode. I can run non-master/slave mode without any issue. I also tried this on another box w/ python2.7, same exact message. This is on RHEL6.

Any ideas?

-bash-4.1$ locust --master  -f locustpoc.py -H 192.168.1.203
/usr/lib/python2.6/site-packages/locustio-0.7.0-py2.6.egg/locust/rpc/__init__.py:6: UserWarning: WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.
  warnings.warn("WARNING: Using pure Python socket RPC implementation instead of zmq. If running in distributed mode, this could cause a performance decrease. We recommend you to install the pyzmq python package when running in distributed mode.")
[2013-11-26 21:40:19,119] dxstesthost/INFO/locust.main: Starting web monitor on port 8089
[2013-11-26 21:40:19,120] dxstesthost/ERROR/stderr: Traceback (most recent call last):
[2013-11-26 21:40:19,120] dxstesthost/ERROR/stderr: File "/usr/bin/locust", line 9, in <module>
[2013-11-26 21:40:19,120] dxstesthost/ERROR/stderr: 
[2013-11-26 21:40:19,120] dxstesthost/ERROR/stderr: load_entry_point('locustio==0.7.0', 'console_scripts', 'locust')()
[2013-11-26 21:40:19,120] dxstesthost/ERROR/stderr: File "/usr/lib/python2.6/site-packages/locustio-0.7.0-py2.6.egg/locust/main.py", line 369, in main
[2013-11-26 21:40:19,120] dxstesthost/ERROR/stderr: 
[2013-11-26 21:40:19,120] dxstesthost/ERROR/stderr: runners.locust_runner = MasterLocustRunner(locust_classes, options.hatch_rate, options.num_clients, num_requests=options.num_requests, host=options.host, master_host=options.master_host)
[2013-11-26 21:40:19,120] dxstesthost/ERROR/stderr: File "/usr/lib/python2.6/site-packages/locustio-0.7.0-py2.6.egg/locust/runners.py", line 243, in __init__
[2013-11-26 21:40:19,120] dxstesthost/ERROR/stderr: 
[2013-11-26 21:40:19,121] dxstesthost/ERROR/stderr: self.greenlet.spawn(self.client_listener).link_exception(receiver=self.noop)
[2013-11-26 21:40:19,121] dxstesthost/ERROR/stderr: TypeError
[2013-11-26 21:40:19,121] dxstesthost/ERROR/stderr: :
[2013-11-26 21:40:19,121] dxstesthost/ERROR/stderr: link_exception() got an unexpected keyword argument 'receiver'
[2013-11-26 21:40:19,121] dxstesthost/ERROR/stderr: 
@Jahaja
Copy link
Member

Jahaja commented Nov 26, 2013

Oh, I see. This is caused by a bit too loose version "restrictions" in setup.py causing the just released gevent 1.0 to be installed. And the latest version of gevent seem to have changed the api somewhat. We'll have to look into making the necessary changes to locust to be compatible with gevent 1.0.

A workaround would be to uninstall gevent 1.0 and manually install gevent 1.0rc2, https://github.com/surfly/gevent/archive/1.0rc2.tar.gz

@Jahaja
Copy link
Member

Jahaja commented Nov 28, 2013

Fixed in 20bde08

@Jahaja Jahaja closed this as completed Nov 28, 2013
@zerog2k
Copy link
Author

zerog2k commented Dec 4, 2013

Thanks!

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

2 participants