ImportError: cannot import name 'ProcessEndpoint' [newbie user]

#1

Hi, Thanks for this great tool!

i’m trying to run my first example (c++)

when starting crossbar i’m getting:

crossbar start
Stale Crossbar.io PID file /home/cfb/hello/.crossbar/node.pid (pointing to non-existing process with PID 24916) removed
Traceback (most recent call last):
File “/usr/bin/crossbar”, line 9, in
load_entry_point(‘crossbar==0.10.4’, ‘console_scripts’, ‘crossbar’)()
File “/usr/lib/python3.4/site-packages/crossbar/controller/cli.py”, line 665, in run
options.func(options)
File “/usr/lib/python3.4/site-packages/crossbar/controller/cli.py”, line 387, in run_command_start
from crossbar.twisted.processutil import DefaultSystemFileLogObserver
File “/usr/lib/python3.4/site-packages/crossbar/twisted/processutil.py”, line 38, in
from twisted.internet.endpoints import _WrapIProtocol, ProcessEndpoint
ImportError: cannot import name 'ProcessEndpoint’

``

Any idea about the problem?

cossbar version say:
Crossbar.io package versions and platform information:

Crossbar.io : 0.10.4

Autobahn>Python : 0.10.3

WebSocket UTF8 Validator : ?

WebSocket XOR Masker : ?

WAMP JSON Codec : stdlib

WAMP MsgPack Codec : msgpack-python-0.4.6

Twisted : 15.1.0-EPollReactor

Python : 3.4.1-CPython

OS : Linux-3.19.3-1-desktop-x86_64-with-SuSE-20150406-x86_64

Machine : x86_64

Thanks.

0 Likes

#2

Yes: Crossbar.io as of today needs Python 2, not 3 (due to Twisted not being fully ported)

···

Sent from Mobile (Google Nexus 5)

Am 23.04.2015 3:21 nachm. schrieb “Christian Faure” christian.f...@gmail.com:

Hi, Thanks for this great tool!

i’m trying to run my first example (c++)

when starting crossbar i’m getting:

crossbar start
Stale Crossbar.io PID file /home/cfb/hello/.crossbar/node.pid (pointing to non-existing process with PID 24916) removed
Traceback (most recent call last):
File “/usr/bin/crossbar”, line 9, in
load_entry_point(‘crossbar==0.10.4’, ‘console_scripts’, ‘crossbar’)()
File “/usr/lib/python3.4/site-packages/crossbar/controller/cli.py”, line 665, in run
options.func(options)
File “/usr/lib/python3.4/site-packages/crossbar/controller/cli.py”, line 387, in run_command_start
from crossbar.twisted.processutil import DefaultSystemFileLogObserver
File “/usr/lib/python3.4/site-packages/crossbar/twisted/processutil.py”, line 38, in
from twisted.internet.endpoints import _WrapIProtocol, ProcessEndpoint
ImportError: cannot import name 'ProcessEndpoint’

``

Any idea about the problem?

cossbar version say:
Crossbar.io package versions and platform information:

Crossbar.io : 0.10.4

Autobahn>Python : 0.10.3

WebSocket UTF8 Validator : ?

WebSocket XOR Masker : ?

WAMP JSON Codec : stdlib

WAMP MsgPack Codec : msgpack-python-0.4.6

Twisted : 15.1.0-EPollReactor

Python : 3.4.1-CPython

OS : Linux-3.19.3-1-desktop-x86_64-with-SuSE-20150406-x86_64

Machine : x86_64

Thanks.

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.

To post to this group, send email to cross...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/639abb39-4585-4f03-a471-6e13011a72bf%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes

#3

Ok! Thanks!
i will try with python 2.

···

On Thursday, April 23, 2015 at 1:59:11 PM UTC-4, Tobias Oberstein wrote:

Yes: Crossbar.io as of today needs Python 2, not 3 (due to Twisted not being fully ported)

Sent from Mobile (Google Nexus 5)

Am 23.04.2015 3:21 nachm. schrieb “Christian Faure” christian.f...@gmail.com:

Hi, Thanks for this great tool!

i’m trying to run my first example (c++)

when starting crossbar i’m getting:

crossbar start
Stale Crossbar.io PID file /home/cfb/hello/.crossbar/node.pid (pointing to non-existing process with PID 24916) removed
Traceback (most recent call last):
File “/usr/bin/crossbar”, line 9, in
load_entry_point(‘crossbar==0.10.4’, ‘console_scripts’, ‘crossbar’)()
File “/usr/lib/python3.4/site-packages/crossbar/controller/cli.py”, line 665, in run
options.func(options)
File “/usr/lib/python3.4/site-packages/crossbar/controller/cli.py”, line 387, in run_command_start
from crossbar.twisted.processutil import DefaultSystemFileLogObserver
File “/usr/lib/python3.4/site-packages/crossbar/twisted/processutil.py”, line 38, in
from twisted.internet.endpoints import _WrapIProtocol, ProcessEndpoint
ImportError: cannot import name 'ProcessEndpoint’

``

Any idea about the problem?

cossbar version say:
Crossbar.io package versions and platform information:

Crossbar.io : 0.10.4

Autobahn>Python : 0.10.3

WebSocket UTF8 Validator : ?

WebSocket XOR Masker : ?

WAMP JSON Codec : stdlib

WAMP MsgPack Codec : msgpack-python-0.4.6

Twisted : 15.1.0-EPollReactor

Python : 3.4.1-CPython

OS : Linux-3.19.3-1-desktop-x86_64-with-SuSE-20150406-x86_64

Machine : x86_64

Thanks.

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.

To post to this group, send email to cros...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/crossbario/639abb39-4585-4f03-a471-6e13011a72bf%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

0 Likes