Problem running SockJS locally after Mountain Lion update on Mac

48 views
Skip to first unread message

pe...@kobry.com

unread,
Mar 30, 2013, 9:40:45 PM3/30/13
to soc...@googlegroups.com
Hi,

Been running SockJS-Tornado for about 8 months on my local development machine, a Macbook Pro 2011. It was working fine with Lion OS 10.7, but today after updating to 10.8, I am receiving this error with SockJS-tornado. I get the same error no matter what SockJS app I run, whether it's some of the given examples or my own app.

Any ideas on how to fix? Every tip is greatly appreciated.
-----
Traceback (most recent call last):
  File "/Users/home/Sites/PythonRotors/rotors/torntest.py", line 2, in <module>
    from sockjs.tornado import SockJSRouter, SockJSConnection
  File "build/bdist.macosx-10.8-intel/egg/sockjs/tornado/__init__.py", line 3, in <module>
  File "build/bdist.macosx-10.8-intel/egg/sockjs/tornado/router.py", line 11, in <module>
  File "build/bdist.macosx-10.8-intel/egg/sockjs/tornado/transports/__init__.py", line 7, in <module>
  File "build/bdist.macosx-10.8-intel/egg/sockjs/tornado/transports/websocket.py", line 11, in <module>
  File "build/bdist.macosx-10.8-intel/egg/sockjs/tornado/websocket.py", line 40, in <module>
ImportError: cannot import name b
[Finished in 0.2s with exit code 1]
-----

Thank you very much,

-Gregory


Serge S. Koval

unread,
Mar 31, 2013, 5:52:57 AM3/31/13
to *...@kobry.com, sockjs
Try downgrading Tornado to version 2.4.1 - b() was removed in newer versions.

I plan to release new sockjs-tornado today or tomorrow with Tornado 3.0 and python 3 support.

Serge.




--
You received this message because you are subscribed to the Google Groups "sockjs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sockjs+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages