generalfault / stratum-mining

Implementation of Bitcoin mining pool on Stratum protocol
Other
8 stars 10 forks source link

Default service already exists for type 'mining' #4

Open Lucidi0us opened 10 years ago

Lucidi0us commented 10 years ago

root@localhost:/opt/solo/stratum-mining# twistd -ny launcher.tac -l - 2013-11-18 17:51:37,117 INFO mining # Connecting to bitcoind... 2013-11-18 17:51:37,157 INFO proxy # C extension for midstate not available. Using default implementation instead. Unhandled Error Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 652, in run runApp(config) File "/usr/local/lib/python2.7/dist-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/scripts/twistd.py", line 23, in runApp _SomeApplicationRunner(config).run() File "/usr/local/lib/python2.7/dist-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 386, in run self.application = self.createOrGetApplication() File "/usr/local/lib/python2.7/dist-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 451, in createOrGetApplication application = getApplication(self.config, passphrase) --- --- File "/usr/local/lib/python2.7/dist-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/application/app.py", line 462, in getApplication application = service.loadApplication(filename, style, passphrase) File "/usr/local/lib/python2.7/dist-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/application/service.py", line 405, in loadApplication application = sob.loadValueFromFile(filename, 'application', passphrase) File "/usr/local/lib/python2.7/dist-packages/Twisted-12.3.0-py2.7-linux-x86_64.egg/twisted/persisted/sob.py", line 210, in loadValueFromFile exec fileObj in d, d File "launcher.tac", line 43, in from lib.getwork_proxy import GetworkProxy File "/opt/solo/stratum-mining/lib/getwork_proxy.py", line 11, in from mining_libs import client_service File "/usr/local/lib/python2.7/dist-packages/stratum_mining_proxy-1.3.0-py2.7.egg/mining_libs/client_service.py", line 8, in import stratum_listener File "/usr/local/lib/python2.7/dist-packages/stratum_mining_proxy-1.3.0-py2.7.egg/mining_libs/stratum_listener.py", line 69, in class StratumProxyService(GenericService): File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.11-py2.7.egg/stratum/services.py", line 224, in init ServiceFactory.register_service(cls, _dict) File "/usr/local/lib/python2.7/dist-packages/stratum-0.2.11-py2.7.egg/stratum/services.py", line 135, in register_service raise custom_exceptions.DefaultServiceAlreadyExistException("Default service already exists for type '%s'" % service_type) stratum.custom_exceptions.DefaultServiceAlreadyExistException: Default service already exists for type 'mining'

Failed to load application: Default service already exists for type 'mining'