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

pyczmq still depends on zsocket_probe_router #25

Open
montekki opened this issue Sep 22, 2014 · 4 comments
Open

pyczmq still depends on zsocket_probe_router #25

montekki opened this issue Sep 22, 2014 · 4 comments

Comments

@montekki
Copy link

Which i assume was removed in 303bf148e1fb19f25276f33e55ba37b522ed7230

$ python ./test_zcert.py
Traceback (most recent call last):
  File "./test_zcert.py", line 7, in <module>
    from pyczmq import zctx, zcert
  File "/usr/local/lib/python2.7/dist-packages/pyczmq/__init__.py", line 3, in <module>
    from . import (
  File "/usr/local/lib/python2.7/dist-packages/pyczmq/zsocket.py", line 215, in <module>
    probe_router = C.zsocket_probe_router
  File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 463, in __getattr__
    make_accessor(name)
  File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 459, in make_accessor
    make_accessor_locked(name)
  File "/usr/local/lib/python2.7/dist-packages/cffi/api.py", line 422, in make_accessor_locked
    raise AttributeError('%s: %s' % (name, e))
AttributeError: zsocket_probe_router: "function 'zsocket_probe_router' not found in library 'libczmq.so.1': /usr/lib/x86_64-linux-gnu/libczmq.so.1: undefined symbol: zsocket_probe_router"
@michelp
Copy link
Contributor

michelp commented Sep 22, 2014

I don't see zsocket_probe_router being used in zsocket.py. Are you up to date with the latest revision? Looks like it's zsocket.set_probe_router

@montekki
Copy link
Author

I guess not, i've installed the one with pip install pyczmq

@mjhowell
Copy link

mjhowell commented Nov 3, 2015

I just ran into the same thing. Installing from git cleared it up. Any reason not to release this latest to the cheese shop (so it may be pip installable?)

@cyrilleverrier
Copy link

cyrilleverrier commented May 3, 2016

I ran into the same issue. Please release the latest version of your module.

As a workaround, you can instruct pip to install the package from the latest version in GitHub:

requirements.txt
-----
cffi
https://github.com/zeromq/pyczmq/archive/master.zip 

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