felixlu / jap

Automatically exported from code.google.com/p/jap
0 stars 0 forks source link

INSTALL_JAP_LOCAL_WS_PYTHON error #60

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
After me install the autobahn = 0.7.4, open JAP_LOCAL_WS_PYTHON error.
Given the following information:
Traceback (most recent call last):
  File "JAP_LOCAL_WS.py", line 15, in <module>
    import JAP.JAP_LOCAL_WS
  File "C:\Users\Desktop\JAP_LOCAL_WS_PYTHON-3.0.0\JAP\JAP_LOCAL_WS.py",
line 112, in <module>
    class WSOutputProtocol(autobahn.websocket.WebSocketClientProtocol):
AttributeError: 'module' object has no attribute 'WebSocketClientProtocol'

I ask the author how to solve?

Original issue reported on code.google.com by jlz19821...@gmail.com on 26 Jan 2014 at 6:34

GoogleCodeExporter commented 8 years ago
autobahn >= 0.7.0 supports twisted and asyncio, and has seperate modules for 
twisted and asyncio.
see https://github.com/tavendo/AutobahnPython#upgrading-from-autobahn--070

if you install autobahn < 0.7.0, jap will work.

Original comment by jeroen.v...@gmail.com on 26 Jan 2014 at 11:47