2013-02-23 14:04:49,958 merkleMaker INFO New block: 00000000000002323fa1359645f9c26ec005792f9d463faa55931f32cde12020 (height: 222693; bits: 1a04985c)
2013-02-23 14:04:50,111 JSONRPCServer INFO Longpoll woke up 6 clients in 0.042 seconds
2013-02-23 14:04:50,126 merkleMaker CRITICAL Traceback (most recent call last):
File "/home/xxxxxx/merklemaker.py", line 680, in run
self.merkleMaker_I()
File "/home/xxxxx/merklemaker.py", line 670, in merkleMaker_I
self.merkleMaker_II()
File "/home/xxxxx/merklemaker.py", line 648, in merkleMaker_II
return self._updateMerkleTree()
File "/home/xxxxx/merklemaker.py", line 536, in _updateMerkleTree
self._updateMerkleTree_I()
File "/home/xxxxx/merklemaker.py", line 506, in _updateMerkleTree_I
r = self._updateMerkleTree_fromTS(TS)
File "/home/xxx/merklemaker.py", line 485, in _updateMerkleTree_fromTS
AcceptRatio = AcceptedScore / TotalScore
ZeroDivisionError: int division or modulo by zero
Fixed in git.
2013-02-23 16:14:17,978 JSONRPCHandler ERROR Error during JSON-RPC call (UA=b'cgminer 2.10.2', IP=::ffff:xx.xx.41.73): doJSON_submitblock['02000000d6b2ca723dd01ffffffff025d5988ac00000000', {}]
Traceback (most recent call last):
File "/home/xxxx/jsonrpcserver.py", line 200, in _doJSON_i
rv = getattr(self, method)(*params)
File "/home/xxxxx/jsonrpc_getblocktemplate.py", line 91, in doJSON_submitblock
data = bytes.fromhex(data)
ValueError: non-hexadecimal number found in fromhex() arg at position 166
i think it is bug in cgminer 2.10.2 ?
Yep.
2013-02-23 16:29:37,753 JSONRPCServer INFO Longpoll woke up 2 clients in 0.272 seconds
2013-02-23 16:30:45,122 merkleMaker ERROR Upstream 'primary' rejected proposed block from 'primary': stale-prevblk
2013-02-23 16:30:45,132 merkleMaker CRITICAL Traceback (most recent call last):
File "/home/xxxx/merklemaker.py", line 680, in run
self.merkleMaker_I()
File "/home/xxxxx/merklemaker.py", line 670, in merkleMaker_I
self.merkleMaker_II()
File "/home/xxxxx/merklemaker.py", line 648, in merkleMaker_II
return self._updateMerkleTree()
File "/home/xxxxxx/merklemaker.py", line 536, in _updateMerkleTree
self._updateMerkleTree_I()
File "/home/xxxx/merklemaker.py", line 522, in _updateMerkleTree_I
raise RuntimeError('Failed to create usable template')
RuntimeError: Failed to create usable template
Happens sometimes. bitcoind has found a new block, so is reporting our proposal stale. I'm assuming it's followed very quickly with a new block notification?
2013-02-23 14:33:47,374 merkleMaker WARNING Transaction-longpoll requested 22 seconds ago, and still not ready. Is your server fast enough to keep up with your configured WorkQueueSizeRegular maximum? (doing longpoll merkle roots)
2013-02-23 14:33:47,374 merkleMaker WARNING Haven't updated the merkle tree in at least 22 seconds! Is your server fast enough to keep up with your configured work queue minimums? (doing longpoll merkle roots)
2013-02-23 14:33:49,320 JSONRPCServer INFO Nobody to longpoll
2013-02-23 14:34:26,101 StratumServer ERROR Traceback (most recent call last):
File "/home/yyyyyyy/networkserver.py", line 413, in serve_forever
o.handle_read()
File "/home/yyyyy/networkserver.py", line 59, in handle_read
self.handle_readbuf()
File "/homeyyyyy/networkserver.py", line 111, in handle_readbuf
self.found_terminator()
File "/home/yyyyyy/stratumserver.py", line 60, in found_terminator
inbuf = b"".join(self.incoming).decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xb9 in position 32: ordinal not in range(128)
Sounds like bad data sent to the server.