"Crossbar start" issue in Windows 10

#1

I have installed python 3.5 and crossbar in windows 10, the installation was successful but when I tried to start the crossbar it gives me following exception…please guide

C:\Windows\system32>crossbar start
2016-09-13T11:20:41+0530 [Controller 6336] __ __ __ __ __ __ __ __
2016-09-13T11:20:41+0530 [Controller 6336] / `|__)/ \/__`/__`|__) /\ |__) |/ \
2016-09-13T11:20:41+0530 [Controller 6336] \__,| \\__/.__/.__/|__)/~~\| \. |\__/
2016-09-13T11:20:41+0530 [Controller 6336]
2016-09-13T11:20:41+0530 [Controller 6336] Crossbar.io Version: 0.15.0
2016-09-13T11:20:41+0530 [Controller 6336] Node Public Key: 4d1dfe29b8dd51ccec3d8284426576349e8664337a983d80bcf9c3bf54fdfae8
2016-09-13T11:20:41+0530 [Controller 6336]
2016-09-13T11:20:41+0530 [Controller 6336] Running from node directory 'C:\Windows\system32\.crossbar'
2016-09-13T11:20:41+0530 [Controller 6336] Controller process starting (CPython-IOCPReactor) ..
2016-09-13T11:20:41+0530 [Controller 6336] Node configuration loaded from 'config.json'
2016-09-13T11:20:41+0530 [Controller 6336] Node ID 'DESKTOP-FRH5Q37' set from hostname
2016-09-13T11:20:41+0530 [Controller 6336] Using default node shutdown triggers ['shutdown_on_worker_exit']
2016-09-13T11:20:41+0530 [Controller 6336] Joined realm 'crossbar' on node management router
2016-09-13T11:20:41+0530 [Controller 6336] Starting Router with ID 'worker-001'...
2016-09-13T11:20:41+0530 [Controller 6336] Interal error: connection to forked native worker failed ([Failure instance: Traceback: <class 'TypeError'>: a bytes-like object is required, not 'str'
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\internet\defer.py:1185:_inlineCallbacks
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\crossbar\controller\node.py:653:_startup
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\crossbar\controller\process.py:320:start_router
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\crossbar\controller\process.py:606:_start_native_worker
--- <exception caught here> ---
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\crossbar\twisted\processutil.py:117:connect
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\internet\iocpreactor\reactor.py:258:spawnProcess
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\internet\_dumbwin32proc.py:174:__init__
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\python\win32.py:103:quoteArguments
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\python\win32.py:103:<listcomp>
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\python\win32.py:90:cmdLineQuote
])
2016-09-13T11:20:41+0530 [Controller 6336] Failed to start native worker: a bytes-like object is required, not 'str'
2016-09-13T11:20:41+0530 [Controller 6336] crossbar.error.cannot_start: Failed to start native worker: a bytes-like object is required, not 'str' []
0 Likes

#2

Crossbar.io on Windows does not yet support Python 3 (only 2) - reason is Twisted/Windows isn’t 100% ported to Py 3 yet

···

Am Dienstag, 13. September 2016 08:50:55 UTC+2 schrieb chirag pathak:

I have installed python 3.5 and crossbar in windows 10, the installation was successful but when I tried to start the crossbar it gives me following exception…please guide

C:\Windows\system32>crossbar start
2016-09-13T11:20:41+0530 [Controller 6336] __ __ __ __ __ __ __ __
2016-09-13T11:20:41+0530 [Controller 6336] / `|__)/ \/__`/__`|__) /\ |__) |/ \
2016-09-13T11:20:41+0530 [Controller 6336] \__,| \\__/.__/.__/|__)/~~\| \. |\__/
2016-09-13T11:20:41+0530 [Controller 6336]
2016-09-13T11:20:41+0530 [Controller 6336] Crossbar.io Version: 0.15.0
2016-09-13T11:20:41+0530 [Controller 6336] Node Public Key: 4d1dfe29b8dd51ccec3d8284426576349e8664337a983d80bcf9c3bf54fdfae8
2016-09-13T11:20:41+0530 [Controller 6336]
2016-09-13T11:20:41+0530 [Controller 6336] Running from node directory 'C:\Windows\system32\.crossbar'
2016-09-13T11:20:41+0530 [Controller 6336] Controller process starting (CPython-IOCPReactor) ..
2016-09-13T11:20:41+0530 [Controller 6336] Node configuration loaded from 'config.json'
2016-09-13T11:20:41+0530 [Controller 6336] Node ID 'DESKTOP-FRH5Q37' set from hostname
2016-09-13T11:20:41+0530 [Controller 6336] Using default node shutdown triggers ['shutdown_on_worker_exit']
2016-09-13T11:20:41+0530 [Controller 6336] Joined realm 'crossbar' on node management router
2016-09-13T11:20:41+0530 [Controller 6336] Starting Router with ID 'worker-001'...
2016-09-13T11:20:41+0530 [Controller 6336] Interal error: connection to forked native worker failed ([Failure instance: Traceback: <class 'TypeError'>: a bytes-like object is required, not 'str'
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\internet\defer.py:1185:_inlineCallbacks
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\crossbar\controller\node.py:653:_startup
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\crossbar\controller\process.py:320:start_router
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\crossbar\controller\process.py:606:_start_native_worker
--- <exception caught here> ---
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\crossbar\twisted\processutil.py:117:connect
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\internet\iocpreactor\reactor.py:258:spawnProcess
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\internet\_dumbwin32proc.py:174:__init__
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\python\win32.py:103:quoteArguments
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\python\win32.py:103:<listcomp>
c:\users\chirag\appdata\local\programs\python\python35-32\lib\site-packages\twisted\python\win32.py:90:cmdLineQuote
])
2016-09-13T11:20:41+0530 [Controller 6336] Failed to start native worker: a bytes-like object is required, not 'str'
2016-09-13T11:20:41+0530 [Controller 6336] crossbar.error.cannot_start: Failed to start native worker: a bytes-like object is required, not 'str' []
0 Likes

closed #5
0 Likes