{"action":"created","issue":{"url":"https://api.github.com/repos/crossbario/crossbar/issues/286","labels_url":"https://api.github.com/repos/crossbario/crossbar/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/crossbario/crossbar/issues/286/comments","events_url":"https://api.github.com/repos/crossbario/crossbar/issues/286/events","html_url":"https://github.com/crossbario/crossbar/issues/286","id":65435153,"number":286,"title":"raspberry pi - failed to start native worker","user":{"login":"dimddev","id":5753440,"avatar_url":"https://avatars.githubusercontent.com/u/5753440?v=3","gravatar_id":"","url":"https://api.github.com/users/dimddev","html_url":"https://github.com/dimddev","followers_url":"https://api.github.com/users/dimddev/followers","following_url":"https://api.github.com/users/dimddev/following{/other_user}","gists_url":"https://api.github.com/users/dimddev/gists{/gist_id}","starred_url":"https://api.github.com/users/dimddev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimddev/subscriptions","organizations_url":"https://api.github.com/users/dimddev/orgs","repos_url":"https://api.github.com/users/dimddev/repos","events_url":"https://api.github.com/users/dimddev/events{/privacy}","received_events_url":"https://api.github.com/users/dimddev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-31T12:01:32Z","updated_at":"2015-03-31T12:03:26Z","closed_at":null,"body":"Hello I read that crossbar works well with raspberry pi, but seems does not working on my side\r\n\r\nhere is the results from pip freeze:\r\n\r\n(env)pi@tarpi /home/core/hello $ pip freeze\r\nJinja2==2.7.3\r\nMarkupSafe==0.23\r\nPyTrie==0.2\r\nPyYAML==3.11\r\nPygments==2.0.2\r\nTwisted==15.0.0\r\nargparse==1.2.1\r\nautobahn==0.10.2\r\ncffi==0.9.2\r\ncharacteristic==14.3.0\r\ncrossbar==0.10.3\r\ncryptography==0.8.1\r\ndistribute==0.6.24\r\nenum34==1.0.4\r\nmistune==0.5.1\r\nnetaddr==0.7.13\r\npyOpenSSL==0.14\r\npyasn1==0.1.7\r\npyasn1-modules==0.0.5\r\npycparser==2.10\r\nrequests==2.6.0\r\nservice-identity==14.0.0\r\nshutilwhich==1.0.1\r\nsix==1.9.0\r\ntreq==15.0.0\r\nwsgiref==0.1.2\r\nzope.interface==4.1.2\r\n\r\nthe log file from crossbar\r\n\r\n(env)pi@tarpi /home/core/hello $ crossbar start\r\n2015-03-31 11:51:37+0000 [Controller   2332] Log opened.\r\n2015-03-31 11:51:37+0000 [Controller   2332] ==================== Crossbar.io ====================\r\n\t\r\n2015-03-31 11:51:37+0000 [Controller   2332] Crossbar.io 0.10.3 starting\r\n2015-03-31 11:51:37+0000 [Controller   2332] Running on CPython using EPollReactor reactor\r\n2015-03-31 11:51:37+0000 [Controller   2332] Starting from node directory /home/core/hello/.crossbar\r\n2015-03-31 11:51:38+0000 [Controller   2332] Starting from local configuration '/home/core/hello/.crossbar/config.json'\r\n2015-03-31 11:51:38+0000 [Controller   2332] Warning, could not set process title (setproctitle not installed)\r\n2015-03-31 11:51:38+0000 [Controller   2332] Warning: process utilities not available\r\n2015-03-31 11:51:39+0000 [Controller   2332] Router created for realm 'crossbar'\r\n2015-03-31 11:51:39+0000 [Controller   2332] No WAMPlets detected in enviroment.\r\n2015-03-31 11:51:39+0000 [Controller   2332] Starting Router with ID 'worker1' ..\r\n2015-03-31 11:51:39+0000 [Controller   2332] Entering reactor event loop ...\r\n2015-03-31 11:51:41+0000 [Router       2335] Log opened.\r\n2015-03-31 11:51:41+0000 [Router       2335] Warning: could not set worker process title (setproctitle not installed)\r\n\r\n\r\n2015-03-31 11:52:05+0000 [Router       2335] Running under CPython using EPollReactor reactor\r\n2015-03-31 11:52:10+0000 [Controller   2332] Worker 2335: Process connection gone (A process has ended with a probable error condition: process ended with exit code 1.)\r\n2015-03-31 11:52:10+0000 [Controller   2332] ERROR: failed to start native worker - A process has ended with a probable error condition: process ended with exit code 1.\r\n2015-03-31 11:52:10+0000 [Controller   2332] Traceback (most recent call last):\r\n2015-03-31 11:52:10+0000 [Controller   2332]   File \"/home/core/env/local/lib/python2.7/site-packages/crossbar/controller/node.py\", line 183, in run_node_config\r\n2015-03-31 11:52:10+0000 [Controller   2332]     yield self._run_node_config(config)\r\n2015-03-31 11:52:10+0000 [Controller   2332]   File \"/home/core/env/local/lib/python2.7/site-packages/twisted/internet/defer.py\", line 1105, in _inlineCallbacks\r\n2015-03-31 11:52:10+0000 [Controller   2332]     result = result.throwExceptionIntoGenerator(g)\r\n2015-03-31 11:52:10+0000 [Controller   2332]   File \"/home/core/env/local/lib/python2.7/site-packages/twisted/python/failure.py\", line 389, in throwExceptionIntoGenerator\r\n2015-03-31 11:52:10+0000 [Controller   2332]     return g.throw(self.type, self.value, self.tb)\r\n2015-03-31 11:52:10+0000 [Controller   2332]   File \"/home/core/env/local/lib/python2.7/site-packages/crossbar/controller/node.py\", line 249, in _run_node_config\r\n2015-03-31 11:52:10+0000 [Controller   2332]     yield self._controller.start_router(worker_id, worker_options, details=call_details)\r\n2015-03-31 11:52:10+0000 [Controller   2332]   File \"/home/core/env/local/lib/python2.7/site-packages/twisted/internet/defer.py\", line 578, in _runCallbacks\r\n2015-03-31 11:52:10+0000 [Controller   2332]     current.result = callback(current.result, *args, **kw)\r\n2015-03-31 11:52:10+0000 [Controller   2332]   File \"/home/core/env/local/lib/python2.7/site-packages/crossbar/controller/process.py\", line 534, in on_ready_error\r\n2015-03-31 11:52:10+0000 [Controller   2332]     raise ApplicationError(\"crossbar.error.cannot_start\", emsg, worker.getlog())\r\n2015-03-31 11:52:10+0000 [Controller   2332] ApplicationError: ApplicationError('crossbar.error.cannot_start', args = ('ERROR: failed to start native worker - A process has ended with a probable error condition: process ended with exit code 1.', []), kwargs = {})\r\n2015-03-31 11:52:10+0000 [Controller   2332] Main loop terminated.\r\n\r\nand the OS information:\r\n\r\nLinux tarpi 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux\r\nRaspbian GNU/Linux 7\r\n\r\npython version:\r\n\r\nPython 2.7.3 (default, Mar 18 2014, 05:13:23)\r\nGCC - 4.6.3\r\n\r\nSo maybe I miss something or maybe it's a bug"},"comment":{"url":"https://api.github.com/repos/crossbario/crossbar/issues/comments/88061210","html_url":"https://github.com/crossbario/crossbar/issues/286#issuecomment-88061210","issue_url":"https://api.github.com/repos/crossbario/crossbar/issues/286","id":88061210,"user":{"login":"dimddev","id":5753440,"avatar_url":"https://avatars.githubusercontent.com/u/5753440?v=3","gravatar_id":"","url":"https://api.github.com/users/dimddev","html_url":"https://github.com/dimddev","followers_url":"https://api.github.com/users/dimddev/followers","following_url":"https://api.github.com/users/dimddev/following{/other_user}","gists_url":"https://api.github.com/users/dimddev/gists{/gist_id}","starred_url":"https://api.github.com/users/dimddev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimddev/subscriptions","organizations_url":"https://api.github.com/users/dimddev/orgs","repos_url":"https://api.github.com/users/dimddev/repos","events_url":"https://api.github.com/users/dimddev/events{/privacy}","received_events_url":"https://api.github.com/users/dimddev/received_events","type":"User","site_admin":false},"created_at":"2015-03-31T12:03:25Z","updated_at":"2015-03-31T12:03:25Z","body":"I forgot to say, that this test is performed with the template comes from crossbar command:\r\n\r\ncrossbar init --template hello:python --appdir hello"}}