Open locolupo opened 9 years ago
Try using yadtbroadcast-client-wamp2
, it worked on my dev setup a few months ago, but I have not tried using it in a production setup.
Would be great if you could report your findings here
Plain pip install seems to work also, so you could use
project.depends_on("autobahn", "==0.8.15")
in the build.py
should you want the old v1 implementation. However I would suggest looking forward and getting it to work with wamp v2 as you already wrote.
Would be great if you could report your findings here
We have the same issue with the yadtbroadcast-server and autobahn 0.9.2
yadtbroadcast-server.py &
[1] 5550
[vagrant@vagrant-centos65 ~]$ Traceback (most recent call last):
File "/usr/bin/yadtbroadcast-server.py", line 18, in <module>
from autobahn.wamp1.protocol import WampServerFactory
ImportError: No module named wamp1.protocol
we have a try except for autobahn but autobahn 0.9 changed a bit more ;)
try:
from autobahn.wamp import WampServerFactory
except ImportError: # autobahn 0.8.0+
from autobahn.wamp1.protocol import WampServerFactory
>>> from autobahn.wamp import WampServerFactory
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name WampServerFactory
>>> from autobahn.wamp1.protocol import WampServerFactory
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named wamp1.protocol
controller + receiver work fine with the respective feature/wamp2
branch. Broadcast-server must be replaced by a dist-wamp-router and everything works.
Will close when wamp2 branches are merged into master and dist-wamp-router setup is well documented (especially the riak cluster setup).
feature/wamp2
into master
feature/wamp2
into master
after installing autobahn 0.8.15 everything is fine:
i've checked the changelog and they removed all WAMP v1 code
i think WAMPv1 is gone and we should drop the the support