NameError: name 'longpoll' is not defined

21 views
Skip to first unread message

Gareth Bult

unread,
Dec 10, 2015, 2:13:44 PM12/10/15
to Crossbar
Hi,

I just updated a test server (been running a demo for a few weeks) with pip, now crossbar isn't starting ..

Anyone any ideas?

2015-12-10T14:10:39-0500 [Controller    956 stderr] Traceback (most recent call last):
2015-12-10T14:10:39-0500 [Controller    956 stderr]   File "/usr/local/bin/crossbar", line 11, in <module>
2015-12-10T14:10:39-0500 [Controller    956 stderr]     sys.exit(run())
2015-12-10T14:10:39-0500 [Controller    956 stderr]   File "/usr/local/lib/python2.7/dist-packages/crossbar/controller/cli.py", line 834, in run
2015-12-10T14:10:39-0500 [Controller    956 stderr]     options.func(options, reactor=reactor)
2015-12-10T14:10:39-0500 [Controller    956 stderr]   File "/usr/local/lib/python2.7/dist-packages/crossbar/controller/cli.py", line 523, in run_command_start
2015-12-10T14:10:39-0500 [Controller    956 stderr]     from crossbar.controller.node import Node
2015-12-10T14:10:39-0500 [Controller    956 stderr]   File "/usr/local/lib/python2.7/dist-packages/crossbar/controller/node.py", line 49, in <module>
2015-12-10T14:10:39-0500 [Controller    956 stderr]     from crossbar.worker.router import RouterRealm
2015-12-10T14:10:39-0500 [Controller    956 stderr]   File "/usr/local/lib/python2.7/dist-packages/crossbar/worker/router.py", line 50, in <module>
2015-12-10T14:10:39-0500 [Controller    956 stderr]     from crossbar.twisted.resource import StaticResource, StaticResourceNoListing
2015-12-10T14:10:39-0500 [Controller    956 stderr]   File "/usr/local/lib/python2.7/dist-packages/crossbar/twisted/resource.py", line 593, in <module>
2015-12-10T14:10:39-0500 [Controller    956 stderr]     class WampLongPollResourceSession(longpoll.WampLongPollResourceSession):
2015-12-10T14:10:39-0500 [Controller    956 stderr] NameError: name 'longpoll' is not defined

Gareth Bult

unread,
Dec 10, 2015, 2:28:03 PM12/10/15
to Crossbar
Ok, fixed the problem here, downgraded Autobahn to 0.10.9 from 0.11 .. looks like there may be a problem using the latest version (?)

Tobias Oberstein

unread,
Dec 10, 2015, 6:40:10 PM12/10/15
to cross...@googlegroups.com
Hi Gareth,

I've pushed https://pypi.python.org/pypi/crossbar/0.11.2 which fixes
this issue.

So if you now do a pip upgrade, it should work.

Background: we need to find a way to do coordinated releases over txaio,
autobahn-python and crossbar ..

https://github.com/crossbario/crossbar/issues/543

Cheers,
/Tobias
> --
> You received this message because you are subscribed to the Google
> Groups "Crossbar" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to crossbario+...@googlegroups.com
> <mailto:crossbario+...@googlegroups.com>.
> To post to this group, send email to cross...@googlegroups.com
> <mailto:cross...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/crossbario/9e0dd4c7-820d-4aba-9b08-05367e2200c6%40googlegroups.com
> <https://groups.google.com/d/msgid/crossbario/9e0dd4c7-820d-4aba-9b08-05367e2200c6%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Gareth Bult

unread,
Dec 10, 2015, 6:53:53 PM12/10/15
to Crossbar
Hi, tried that, and yes it fixed the issue in question, but it broke my WAMPCRA authentication.

Have reverted to previous versions of Autobahn and Crossbar, working again.
- Will have to check this out when I have a little time .. 
I think I've seen something like this before, possibly a unicode based change in the authentication somewhere .. (?)
Reply all
Reply to author
Forward
0 new messages