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

pyzmq 13.0.0 breaks distribution #58

Closed
dmansen opened this issue Mar 4, 2013 · 5 comments
Closed

pyzmq 13.0.0 breaks distribution #58

dmansen opened this issue Mar 4, 2013 · 5 comments

Comments

@dmansen
Copy link

dmansen commented Mar 4, 2013

Just tried to get setup with a distributed swarm today and kept getting this error from zmq:

 <load-testing> derek@DEREKS_MACBOOK_PRO_LOCAL s004 ~/load-testing> locust --master -H http://localhost:3001
locust --master -H http://localhost:3001
[2013-03-04 14:18:32,678] INFO/locust.main: Starting web monitor on port 8089
[2013-03-04 14:18:32,678] ERROR/stderr: Traceback (most recent call last):
[2013-03-04 14:18:32,678] ERROR/stderr: File "/Users/derek/load-testing/bin/locust", line 8, in <module>
[2013-03-04 14:18:32,678] ERROR/stderr: 
[2013-03-04 14:18:32,679] ERROR/stderr: load_entry_point('locustio==0.6.2', 'console_scripts', 'locust')()
[2013-03-04 14:18:32,679] ERROR/stderr: File "/Users/derek/load-testing/lib/python2.7/site-packages/locust/main.py", line 363, in main
[2013-03-04 14:18:32,679] ERROR/stderr: 
[2013-03-04 14:18:32,679] 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-03-04 14:18:32,679] ERROR/stderr: File "/Users/derek/load-testing/lib/python2.7/site-packages/locust/runners.py", line 244, in __init__
[2013-03-04 14:18:32,679] ERROR/stderr: 
[2013-03-04 14:18:32,771] ERROR/stderr: self.server = rpc.Server()
[2013-03-04 14:18:32,772] ERROR/stderr: File "/Users/derek/load-testing/lib/python2.7/site-packages/locust/rpc/zmqrpc.py", line 12, in __init__
[2013-03-04 14:18:32,772] ERROR/stderr: 
[2013-03-04 14:18:32,772] ERROR/stderr: self.receiver = context.socket(zmq.PULL)
[2013-03-04 14:18:32,772] ERROR/stderr: File "/Users/derek/cloudmine/load-testing/lib/python2.7/site-packages/zmq/sugar/context.py", line 82, in socket
[2013-03-04 14:18:32,772] ERROR/stderr: 
[2013-03-04 14:18:32,772] ERROR/stderr: s = self._socket_class(self, socket_type)
[2013-03-04 14:18:32,772] ERROR/stderr: File "/Users/derek/load-testing/lib/python2.7/site-packages/gevent_zeromq/core.py", line 36, in __init__
[2013-03-04 14:18:32,772] ERROR/stderr: 
[2013-03-04 14:18:32,772] ERROR/stderr: self.__in_send_multipart = False
[2013-03-04 14:18:32,773] ERROR/stderr: File "/Users/derek/load-testing/lib/python2.7/site-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
[2013-03-04 14:18:32,845] ERROR/stderr: 
[2013-03-04 14:18:32,845] ERROR/stderr: self.__class__.__name__, upper_key)
[2013-03-04 14:18:32,845] ERROR/stderr: AttributeError
[2013-03-04 14:18:32,845] ERROR/stderr: :
[2013-03-04 14:18:32,845] ERROR/stderr: GreenSocket has no such option: _GREENSOCKET__IN_SEND_MULTIPART
[2013-03-04 14:18:32,845] ERROR/stderr: 

pyzmq is now more strict about which attributes you can set on a socket. This seems to be caused by a recent zmq update (to version 13.0.0 from 2.2.0.1, 11 days ago). Installing 2.2.0.1 explicitly fixed the problem:

1 derek@DEREKS_MACBOOK_PRO_LOCAL s004 ~/load-testing> pip install pyzmq-2.2.0.1

@Jahaja
Copy link
Member

Jahaja commented Mar 4, 2013

Just pushed a fix (ba9ec8c) for this. Thanks for reporting.

@Jahaja Jahaja closed this as completed Mar 7, 2013
@jnicklas
Copy link

Seems like this has not been released. From what I can tell? Could you push a new version?

@heyman
Copy link
Member

heyman commented Sep 19, 2013

I'll try to push out 0.7 in the upcoming week. Would like to get #83 done, and make sure the documentation reflects all changes.

@grennis
Copy link

grennis commented Nov 12, 2013

Seems this is still released... any updates?

@j-mcnally
Copy link

yeah i have this same issue, should i be using git version of locustio?

pancaprima added a commit to pancaprima/locust that referenced this issue May 14, 2018
* change dependencies order in setup.py (locustio#54)

* bugfix when hide edit modal while stopping and edit modal still open (locustio#56)

* rizal new feature upload test file to eb (locustio#53)

* upload test file to deployed eb

* enable user to upload test file to deployed eb

reload list on selector after file uploaded

writing files to slaves

distribute file to slaves and reload the test list

route config json to user fileio

update directories dinamycally

reload after upload, populate directory list

modify interface

add confirmation dialog

* fix non geometric elements

* fix test not reloaded when not in master slave mode, css file and alert message

* erlangga feature create new json keys (locustio#52)

* Revert "erlangga feature create new json keys (locustio#52)" (locustio#57)

This reverts commit acccdf5.
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

6 participants