Skip to content
This repository has been archived by the owner on Mar 6, 2023. It is now read-only.

twistd.log #12

Open
foollatest opened this issue Jan 6, 2014 · 1 comment
Open

twistd.log #12

foollatest opened this issue Jan 6, 2014 · 1 comment

Comments

@foollatest
Copy link

2014-01-06 17:26:58+0800 [-] Log opened.
2014-01-06 17:26:58+0800 [-] twistd 11.1.0 (/usr/bin/python 2.7.3) starting up.
2014-01-06 17:26:58+0800 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2014-01-06 17:26:58+0800 [HTTPPageGetter,client] 2014-01-06 17:26:58,371 DEBUG stats # Logging initialized
2014-01-06 17:26:58+0800 [HTTPPageGetter,client] 2014-01-06 17:26:58,374 DEBUG protocol # Logging initialized
2014-01-06 17:26:58+0800 [HTTPPageGetter,client] 2014-01-06 17:26:58,375 DEBUG socket_transport # Logging initialized
2014-01-06 17:26:58+0800 [HTTPPageGetter,client] 2014-01-06 17:26:58,375 DEBUG http_transport # Logging initialized
2014-01-06 17:26:58+0800 [HTTPPageGetter,client] Unhandled error in Deferred:
2014-01-06 17:26:58+0800 [HTTPPageGetter,client] Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
result = g.send(result)
File "/root/stratum-mining/mining/init.py", line 112, in setup
on_startup.callback(True)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 362, in callback
self._startRunCallbacks(result)
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 458, in _startRunCallbacks
self._runCallbacks()
--- ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
current.result = callback(current.result, _args, *_kw)
File "/root/stratum-mining/stratum/stratum/server.py", line 46, in setup_finalize
import websocket_transport
File "/root/stratum-mining/stratum/stratum/websocket_transport.py", line 1, in
from autobahn.websocket import WebSocketServerProtocol, WebSocketServerFactory
exceptions.ImportError: cannot import name WebSocketServerProtocol

@baitnfatty
Copy link

You need to go into server.py and websocket_transport.py change the "Autobahn.websocket" to "autobahn.twisted.websocket"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants