Computer Hope

Software => Computer viruses and spyware => Topic started by: fnkmartin on November 01, 2011, 03:30:12 AM

Title: Errors running merged-mine-proxy
Post by: fnkmartin on November 01, 2011, 03:30:12 AM
So I have added the wxWidgets patch and compiled bitcoind I also applied the bitcoin-4diff.txt patch. Downloaded 3.24.60 of namecoind and configured my bitcoin.conf file.

I ran bitcoind in testnet and namcoind in production mode.

Then called ran merged-mine-proxy and got...



      
   
Code:
./merged-mine-proxy -w 8330 -p http://pass:[email protected]:8337/ -x http://pass:[email protected]:9098



merkle size = 1
Unhandled error in Deferred:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 388, in errback
    self._startRunCallbacks(fail)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1076, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 349, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "./merged-mine-proxy", line 249, in update_auxs
    aux_block = (yield self.auxs[chain].rpc_getauxblock())
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1018, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 349, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "./merged-mine-proxy", line 97, in callRemote
    resp = json.loads(resp)
  File "/usr/lib/python2.7/json/__init__.py", line 326, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.7/json/decoder.py", line 360, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.7/json/decoder.py", line 378, in raw_decode
    raise ValueError("No JSON object could be decoded")
exceptions.ValueError: No JSON object could be decoded
   
      



Here is a copy of my bitcoin.conf for the bitcoind...

      
   
Code:
# Run on the test network instead of the real bitcoin network.
testnet=1
# server=1 tells Bitcoin to accept JSON-RPC commands.
server=1

# You must set rpcuser and rpcpassword to secure the JSON-RPC api
rpcuser=bit
rpcpassword=pass

# How many seconds bitcoin will wait for a complete RPC HTTP request.
# after the HTTP connection is established.
rpctimeout=30

# Listen for RPC connections on this TCP port:
rpcport=8337

# You can use Bitcoin or bitcoind to send commands to Bitcoin/bitcoind
# running on another host using this option:
rpcconnect=127.0.0.1

# Set gen=1 to attempt to generate bitcoins
gen=0
   
      


Here is a copy of my settings for namecoind's bitcoin.conf

      
   
Code:
server=1
addnode=78.47.40.55:18334
rpcuser=bit
rpcpassword=pass
rpctimeout=30
rpcport=9098
rpcconnect=127.0.0.1
gen=0
paytxfee=0.00