Skip to content

DBInterface Issue #1

Description

@bandroidx

Hi, nice work on this fork. I am trying to use it but getting the following traceback:

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/application/app.py", line 402, in startReactor
self.config, oldstdout, oldstderr, self.profiler, reactor)
File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/application/app.py", line 323, in runReactorWithLogging
reactor.run()
File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/base.py", line 1192, in run
self.mainLoop()
File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/base.py", line 1201, in mainLoop
self.runUntilCurrent()
--- ---
File "/usr/local/lib/python2.7/dist-packages/Twisted-13.0.0-py2.7-linux-i686.egg/twisted/internet/base.py", line 824, in runUntilCurrent
call.func(_call.args, *_call.kw)
File "/root/stratum-mining/mining/DBInterface.py", line 80, in run_import
d = self.bitcoinrpc.getinfo()
exceptions.AttributeError: DBInterface instance has no attribute 'bitcoinrpc'

Also, i had to copy the conf/conf.py to stratum/config.py for it to work. stratum seems to be looking there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions