pyethapp (both from pypi (1.2.3) and built from master crash after appr. 600MB of testnet blockchain data (leveldb size monitored), after block <Block(#173522 6e252728)>
Checklist
[x] installed pyethapp inside a virtualenv
System/environment
OS: Ubuntu 14.04
python version: 2.7.6
pyethapp version: 1.2.3 + master
installation method (pip & pypi/git & setup.py): pip install pyethapp (but also from master)
pyethapp branch (if applicable): --
Expected behaviour
I expected pyethapp to eventually download the entire testnet blockchain after invoking
bin/pyethapp --profile morden --data-dir ../state run
I've tried this with both the current master branch (git clone, setup -e editable . etc) and a pip installed version
Observed behaviour
pyethapp crashes after about 600MB of blockchain data by not properly handling an invalid transaction
INFO:eth.chainservice added txs=11 gas_used=1456400 block=<Block(#173519 5667dea2)>
INFO:eth.chainservice added txs=11 gas_used=809768 block=<Block(#173520 a1ec179e)>
INFO:eth.chainservice added txs=66 gas_used=2611847 block=<Block(#173521 539c1e93)>
INFO:eth.chainservice added txs=12 gas_used=674968 block=<Block(#173522 6e252728)>
Traceback (most recent call last):
File "/home/ivo/m3r/projects/Guts/ethereum/pyethapp-pip/local/lib/python2.7/site-packages/gevent/greenlet.py", line 534, in run
result = self._run(*self.args, **self.kwargs)
File "/home/ivo/m3r/projects/Guts/ethereum/pyethapp-pip/local/lib/python2.7/site-packages/pyethapp/eth_service.py", line 277, in _add_blocks
except processblock.InvalidTransaction as e:
AttributeError: 'module' object has no attribute 'InvalidTransaction'
<Greenlet at 0x7f3f04f26870: <bound method ChainService._add_blocks of <ChainService at 0x7f3f0f4047d0>>> failed with AttributeError
INFO:p2p.peer received hello client_version=Geth/Node1/v1.3.5/linux/go1.5.1 version=4 capabilities=(('eth', 63), ('eth', 62), ('eth', 61))
WARNING:eth.chainservice invalid network id remote_network_id=1529417 expected_network_id=2
WARNING:protocol protocol exception, stopping error=wrong network_id
INFO:p2p.peer received hello client_version=Geth/v1.4.3-stable/linux/go1.5.1 version=4 capabilities=(('eth', 63), ('eth', 62), ('eth', 61))
WARNING:eth.chainservice invalid network id remote_network_id=1 expected_network_id=2
WARNING:protocol protocol exception, stopping error=wrong network_id
INFO:p2p.peer received hello client_version=Geth/v1.4.5-stable-a269a713/linux/go1.6.2 version=4 capabilities=(('eth', 63), ('eth', 62), ('eth', 61))
INFO:p2p.peer received hello client_version=Geth/v1.3.6/linux/go1.6.2 version=4 capabilities=(('eth', 63), ('eth', 62), ('eth', 61))
WARNING:eth.chainservice invalid network id remote_network_id=909 expected_network_id=2
WARNING:protocol protocol exception, stopping error=wrong network_id
INFO:p2p.peer received hello client_version=Geth/v1.5.0-unstable/windows/go1.6.2 version=4 capabilities=(('eth', 63),)
Steps to reproduce
create virtualenv
pip install pyethapp
bin/pyethapp --profile morden --data-dir ../state run
pyethapp (both from pypi (1.2.3) and built from master crash after appr. 600MB of testnet blockchain data (leveldb size monitored), after block <Block(#173522 6e252728)>
Checklist
pyethapp
inside a virtualenvSystem/environment
Expected behaviour
I expected pyethapp to eventually download the entire testnet blockchain after invoking
I've tried this with both the current master branch (git clone, setup -e editable . etc) and a pip installed version
Observed behaviour
pyethapp crashes after about 600MB of blockchain data by not properly handling an invalid transaction
Steps to reproduce
wait...
Entire pip freeze: