moopless / stratum-mining-litecoin

This fork is no longer maintained. Please use https://github.com/ahmedbodi/stratum-mining
Other
38 stars 35 forks source link

'module' object has no attribute 'setup' #70

Open cybercorey opened 10 years ago

cybercorey commented 10 years ago

Running Ubuntu, this error has gotten the best of me, any ideas?

~/MiningPool/stratum-mining-litecoin# sudo twistd -y launcher.tac Unhandled Error Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 652, in run runApp(config) File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, in runApp _SomeApplicationRunner(config).run() File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 386, in run self.application = self.createOrGetApplication() File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 451, in createOrGetApplication application = getApplication(self.config, passphrase) --- --- File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 462, in getApplication application = service.loadApplication(filename, style, passphrase) File "/usr/lib/python2.7/dist-packages/twisted/application/service.py", line 405, in loadApplication application = sob.loadValueFromFile(filename, 'application', passphrase) File "/usr/lib/python2.7/dist-packages/twisted/persisted/sob.py", line 210, in loadValueFromFile exec fileObj in d, d File "launcher.tac", line 22, in application = stratum.setup(on_startup) exceptions.AttributeError: 'module' object has no attribute 'setup'

Failed to load application: 'module' object has no attribute 'setup'

zaibon commented 10 years ago

I have the same error running sabayon linux

cybercorey commented 10 years ago

https://github.com/ahmedbodi/stratum-mining/wiki/Getting-Started-With-Stratum worked like a charm for me