" WSGI app module 'myapp' import failed: No module named flask "
2016-02-11T12:05:51+0000 [Router 170] NativeWorkerSession.onUserError
Traceback (most recent call last):
File "/opt/crossbar/site-packages/autobahn/twisted/websocket.py", line 165, in _onMessage
self.onMessage(payload, isBinary)
File "/opt/crossbar/site-packages/autobahn/wamp/websocket.py", line 90, in onMessage
self._session.onMessage(msg)
File "/opt/crossbar/site-packages/autobahn/wamp/protocol.py", line 755, in onMessage
on_reply = txaio.as_future(endpoint.fn, *invoke_args, **invoke_kwargs)
File "/opt/crossbar/site-packages/txaio/tx.py", line 339, in as_future
return maybeDeferred(fun, *args, **kwargs)
--- <exception caught here> ---
File "/opt/crossbar/site-packages/twisted/internet/defer.py", line 150, in maybeDeferred
result = f(*args, **kw)
File "/opt/crossbar/site-packages/crossbar/worker/router.py", line 795, in start_router_transport
root = self._create_resource(root_config, nested=False)
File "/opt/crossbar/site-packages/crossbar/worker/router.py", line 969, in _create_resource
raise ApplicationError(u"crossbar.error.invalid_configuration", "WSGI app module '{}' import failed: {} - Python search path was {}".format(mod_name, e, sys.path))
autobahn.wamp.exception.ApplicationError: ApplicationError(error=<crossbar.error.invalid_configuration>, args=["WSGI app module 'myapp' import failed: No module named flask - Python search path was [u'/root/flask', '/opt/crossbar/site-packages/crossbar/worker', '/usr/bin', '/opt/crossbar/lib_pypy/__extensions__', '/opt/crossbar/lib_pypy', '/opt/crossbar/lib-python/2.7', '/opt/crossbar/lib-python/2.7/lib-tk', '/opt/crossbar/lib-python/2.7/plat-linux2', '/opt/crossbar/site-packages']"], kwargs={}, enc_algo=None)
2016-02-11T12:05:51+0000 [Controller 165] crossbar.error.invalid_configuration: WSGI app module 'myapp' import failed: No module named flask - Python search path was [u'/root/flask', '/opt/crossbar/site-packages/crossbar/worker', '/usr/bin', '/opt/crossbar/lib_pypy/__extensions__', '/opt/crossbar/lib_pypy', '/opt/crossbar/lib-python/2.7', '/opt/crossbar/lib-python/2.7/lib-tk', '/opt/crossbar/lib-python/2.7/plat-linux2', '/opt/crossbar/site-packages']
--
You received this message because you are subscribed to a topic in the Google Groups "Crossbar" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/crossbario/8loiCTKr4Fw/unsubscribe.
To unsubscribe from this group and all its topics, 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/56BD1AD5.4000906%40gmail.com.
To unsubscribe from this group and all its topics, 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/56BDC0F0.9000106%40gmail.com.