Errors when you run the script pyeth ?

inzem77inzem77 Member Posts: 5
Why i get those errors ?

[email protected]:/tmp$ pyeth
CRITICAL:root Loaded your customizations from monkeypatch.py
INFO:app starting version='0.9.2'
INFO:eth.chainmgr opening chain db_path='/home/inzem/.pyethereum/statedb'
Bottle v0.12.8 server starting up (using WaitressServer())...
Listening on http://0.0.0.0:30203/
Hit Ctrl-C to quit.

serving on http://0.0.0.0:30203
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/pyethereum/stoppable.py", line 31, in run
self.loop_body()
File "/usr/local/lib/python2.7/dist-packages/pyethereum/chainmanager.py", line 69, in loop_body
self.mine()
File "/usr/local/lib/python2.7/dist-packages/pyethereum/chainmanager.py", line 103, in mine
block = self.miner.mine()
AttributeError: 'NoneType' object has no attribute 'mine'

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/pyethereum/stoppable.py", line 29, in run
self.pre_loop()
File "/usr/local/lib/python2.7/dist-packages/pyethereum/tcpserver.py", line 110, in pre_loop
sock.bind((self.listen_host, self.port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
error: [Errno 98] Address already in use


[email protected]:~/sites/ethereum/pyethereum$ ls ~/.pyethereum/
config.txt statedb

[email protected]:/tmp$ cat ~/.pyethereum/config.txt

# NETWORK OPTIONS ###########

[network]

# Connect to remote host/port
# poc-7.ethdev.com:30300
remote_host = 207.12.89.180
remote_port = 30300

# Listen on the given host/port for incoming connections
listen_host = 0.0.0.0
listen_port = 30303

# Number of peer to connections to establish
num_peers = 10

# unique id of this node
node_id = b41f9fdece52f8ed9bfb302fb7d4c729b48d007e5c7220f61332ca58318c8658b41f9fdece52f8ed9bfb302fb7d4c729b48d007e5c7220f61332ca58318c8658

# API OPTIONS ###########
[api]

# Serve the restful json api on the given host/port
listen_host = 0.0.0.0
listen_port = 30203

# path to server the api at
api_path = /api/v02a


# MISC OIPTIONS #########
[misc]

# Load database from path
data_dir = /home/inzem/.pyethereum

# percent cpu devoted to mining 0=off
mining = 30

# see help for available log groups
logging = :INFO


# log as json output
log_json = 0

# WALLET OPTIONS ##################
[wallet]

# Set the coinbase (mining payout) address
coinbase = 6c386a4b26f73c802f34673f7248bb118f97424a

Comments

Sign In or Register to comment.