Error getting crossbar to start

#1

hi all,

I am getting started with crossbar and tried running the hello app. I am getting the following error.

nkoka@dt-nkoka:~/projects/Crossbar/hello$ crossbar start
Stale Crossbar.io PID file /home/nkoka/projects/Crossbar/hello/.crossbar/node.pid (pointing to non-existing process with PID 13299) removed
2015-04-24 12:57:09-0400 [Controller 13330] Log opened.
2015-04-24 12:57:09-0400 [Controller 13330] ==================== Crossbar.io ====================

2015-04-24 12:57:09-0400 [Controller 13330] Crossbar.io 0.10.4 starting
2015-04-24 12:57:09-0400 [Controller 13330] Running on CPython using EPollReactor reactor
2015-04-24 12:57:09-0400 [Controller 13330] Starting from node directory /home/nkoka/projects/Crossbar/hello/.crossbar
2015-04-24 12:57:09-0400 [Controller 13330] Starting from local configuration ‘/home/nkoka/projects/Crossbar/hello/.crossbar/config.json’
2015-04-24 12:57:09-0400 [Controller 13330] Traceback (most recent call last):
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/bin/crossbar”, line 9, in
2015-04-24 12:57:09-0400 [Controller 13330] load_entry_point(‘crossbar==0.10.4’, ‘console_scripts’, ‘crossbar’)()
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/lib/python2.7/dist-packages/crossbar/controller/cli.py”, line 665, in run
2015-04-24 12:57:09-0400 [Controller 13330] options.func(options)
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/lib/python2.7/dist-packages/crossbar/controller/cli.py”, line 404, in run_command_start
2015-04-24 12:57:09-0400 [Controller 13330] node.start()
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/lib/python2.7/dist-packages/crossbar/controller/node.py”, line 110, in start
2015-04-24 12:57:09-0400 [Controller 13330] self.start_from_config(config)
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/lib/python2.7/dist-packages/crossbar/controller/node.py”, line 151, in start_from_config
2015-04-24 12:57:09-0400 [Controller 13330] self._router_session_factory.add(self._controller)
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/lib/python2.7/dist-packages/crossbar/router/session.py”, line 470, in add
2015-04-24 12:57:09-0400 [Controller 13330] self._app_sessions[session] = RouterApplicationSession(session, self._routerFactory, authid, authrole)
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/lib/python2.7/dist-packages/crossbar/router/session.py”, line 108, in init
2015-04-24 12:57:09-0400 [Controller 13330] self._session.onConnect()
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/lib/python2.7/dist-packages/crossbar/controller/process.py”, line 157, in onConnect
2015-04-24 12:57:09-0400 [Controller 13330] NativeProcessSession.onConnect(self, False)
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/lib/python2.7/dist-packages/crossbar/common/process.py”, line 154, in onConnect
2015-04-24 12:57:09-0400 [Controller 13330] self._pinfo = ProcessInfo()
2015-04-24 12:57:09-0400 [Controller 13330] File “/usr/local/lib/python2.7/dist-packages/crossbar/common/processinfo.py”, line 176, in init
2015-04-24 12:57:09-0400 [Controller 13330] self._p = psutil.Process()
2015-04-24 12:57:09-0400 [Controller 13330] TypeError: init() takes exactly 2 arguments (1 given)
nkoka@dt-nkoka:~/projects/Crossbar/hello$

0 Likes

#2

Post the config you are attempting to load please…

0 Likes