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

Failed to load application: 'module' object has no attribute 'LOG_ROTATION' #17

Closed litecoinmessiah closed 11 years ago

litecoinmessiah commented 11 years ago

Hello, The following error results when i try to start up stratum:

File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-x86_64.egg/twisted/persisted/sob.py", line 210, in loadValueFromFile exec fileObj in d, d File "launcher.tac", line 19, in import mining File "/root/stratum-mining-litecoin/mining/init.py", line 1, in from service import MiningService File "/root/stratum-mining-litecoin/mining/service.py", line 7, in from interfaces import Interfaces File "/root/stratum-mining-litecoin/mining/interfaces.py", line 11, in import lib.logger File "/root/stratum-mining-litecoin/lib/logger.py", line 53, in if settings.LOG_ROTATION: exceptions.AttributeError: 'module' object has no attribute 'LOG_ROTATION'

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

moopless commented 11 years ago

It looks like you are missing the LOG_ROTATION variables in the config.py. After aba73632a47d2f0d208a3ff5f63e15ef1e988777 this one is required. Later today I will pull the config_default from the main stratum and put some defaults in there.

moopless commented 11 years ago

Should be resolved with f793c914b97eaa42b5512a5c08d692a599f6cc59. Please reopen if there are issues with it.