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

No module named lib.settings (launcher.tac) #49

Open maulerjan opened 11 years ago

maulerjan commented 11 years ago

Hi,

I'm trying to execute this command: "twistd -ny launcher.tac -l log/debug.log"

But I'm still receiving error:

" File "launcher.tac", line 14, in import lib.settings as settings exceptions.ImportError: No module named lib.settings

Failed to load application: No module named lib.settings "

I will cry soon...

moopless commented 11 years ago

lib.settings is a local library (stratum-mining-litecoin/lib/settings.py) Please make sure it exists. Check to make sure the path is correct at the top of launcher.tac. It is also likely that stratum core is not installed.

moopless commented 11 years ago

Any update on this?

maulerjan commented 11 years ago

Still the same error. :-( I istall Stratum core, and do all stuffs exactly same like in INSTALL.md is described, but when i try to "twistd -ny launcher.tac -l log/debug.log", same error. Directory "lib" and file "settings.py" inside exists, but I don't see any path at the top of launcher.tac

moopless commented 11 years ago

Can you upload the debug.log and stratum.log to pastebin? Make sure to comment out any private information if DEBUG=true is enabled.

moopless commented 11 years ago

Any Update on this?

tbourvon commented 10 years ago

Same error here, the debug.log file doesn't even get created, neither does stratum.log. It simply seems that the launcher doesn't have "lib/" in its import path or something similar. I am not very familiar with Python.

nicoschtein commented 10 years ago

Just use https://github.com/ahmedbodi/stratum-mining

2013/12/31 BurningMind notifications@github.com

Same error here, the debug.log file doesn't even get created, neither does stratum.log. It simply seems that the launcher doesn't have "lib/" in its import path or something similar. I am not very familiar with Python.

— Reply to this email directly or view it on GitHubhttps://github.com/moopless/stratum-mining-litecoin/issues/49#issuecomment-31395319 .

EvgenijM86 commented 8 years ago

I've got same error with ahmedbodi/stratum-mining.

majeed703 commented 7 years ago

Same error getting . Please help me to fix this essue

Unhandled Error Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/Twisted-16.7.0rc2-py2.7-linux-x86_64.egg/twisted/application/app.py", line 648, in run runApp(config) File "/usr/local/lib/python2.7/dist-packages/Twisted-16.7.0rc2-py2.7-linux-x86_64.egg/twisted/scripts/twistd.py", line 25, in runApp _SomeApplicationRunner(config).run() File "/usr/local/lib/python2.7/dist-packages/Twisted-16.7.0rc2-py2.7-linux-x86_64.egg/twisted/application/app.py", line 379, in run self.application = self.createOrGetApplication() File "/usr/local/lib/python2.7/dist-packages/Twisted-16.7.0rc2-py2.7-linux-x86_64.egg/twisted/application/app.py", line 444, in createOrGetApplication application = getApplication(self.config, passphrase)


File "/usr/local/lib/python2.7/dist-packages/Twisted-16.7.0rc2-py2.7-linux-x86_64.egg/twisted/application/app.py", line 455, in getApplication application = service.loadApplication(filename, style, passphrase) File "/usr/local/lib/python2.7/dist-packages/Twisted-16.7.0rc2-py2.7-linux-x86_64.egg/twisted/application/service.py", line 411, in loadApplication passphrase) File "/usr/local/lib/python2.7/dist-packages/Twisted-16.7.0rc2-py2.7-linux-x86_64.egg/twisted/persisted/sob.py", line 223, in loadValueFromFile eval(codeObj, d, d) File "launcher.tac", line 15, in import lib.settings as settings exceptions.ImportError: No module named lib.settings

Failed to load application: No module named lib.settings