iancoleman / BitcoinArmory-Daemon

A json rpc interface to BitcoinArmory
4 stars 8 forks source link

exceptions.OverflowError #2

Open zuijlen opened 11 years ago

zuijlen commented 11 years ago

Installed bitcoind, armory dependencies and armory-daemon on Debian6. Bitcoind in daemon mode operates. When starting: $ python armory-daemon.py -> Reading wallet file -> Loading blockchain -> Syncing wallets with blockchain -> Initialising server -> Server started -> Online - tracking blockchainHandshake finished, connection open!

And after that, first a traceback and a exeption: Traceback (most recent call last): File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger return callWithContext({"system": lp}, func, _args, _kw) File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext return context.call({ILogContext: newCtx}, func, _args, _kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, _args, _kw) File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext return func(_args,__kw) --- --- File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite why = getattr(selectable, method)() File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead return self.protocol.dataReceived(data) File "/home/userX/BitcoinArmory-Daemon/armoryengine.py", line 8699, in dataReceived self.processMessage(msg) File "/home/userX/BitcoinArmory-Daemon/armoryengine.py", line 8740, in processMessage self.factory.func_newTx(pytx) File "armory-daemon.py", line 199, in newTxFunc recips = [txref.getTxOut(i).getRecipientAddr() for i in range(nOut)] exceptions.OverflowError: range() result has too many items _*Connection to Satoshi client LOST! Attempting to reconnect...

I'm not able to find out what the trigger is for this exeption. Please let me know if the setup is wrong, or it is a error.

Kind regards

iancoleman commented 11 years ago

I have started looking at this, now the latest armoryengine.py is included hopefully we can get to the bottom of this and restore the basic json-rpc interface to a functional state. See https://bitcointalk.org/index.php?topic=92496.msg1437254#msg1437254 for progress on the resolution to related (but different) issues.