Show Posts
|
Pages: « 1 [2] 3 4 »
|
eloipool works OK in normal mining THANKS LUKE -JR but i try to setup merged mining with namecoin, and python merged-mine-proxy -w 8330 -p http://secretusereloipool:pass@127.0.0.1:9341/ -x http://secretusernamecoin:secretpassnamecoin@localhost:8477/ and it look ok, mining proxy start i get this 2013-05-04T16:49:00.165102,updateaux 2013-05-04T16:49:00.324030,updateaux 2013-05-04T16:49:05.324250,updateaux
and it looks ok ? BUT when i try to use miner on port 8330 i get 001-0: ztex_ufm1_15d4-0001-02-01-1: Error: Invalid length of string: Disabling URL http://serwerpool.eu:8330 for 60s
(when i use ztex miner) or 2013-05-04 18:38:51: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:38:51, checking for stratum... 2013-05-04 18:38:51: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:38:51, server error: Method not found 2013-05-04 18:38:51: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:38:51, no response to getwork, using as stratum 2013-05-04 18:39:01: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:39:01, Failed to subscribe 2013-05-04 18:39:03: Listener for "Default": serwerpool.eu:8330 04/05/2013 18:39:03, IO errors - 1, tolerance 2
should I set something additional in eloipool or merged mining proxy ? to get merged mining BTC + NMC work ? I use bitcoind 'version' => 80100, 'protocolversion' => 70001, and namecoin [version] => 35000, maybe i should run other version namecoin ?
|
|
|
everything works fine but in logs , this error appears : 2013-03-31 10:11:20,543 StratumHandler DEBUG Traceback (most recent call last): File "/xxxx/eloipool.py", line 646, in receiveShare checkShare(share) File "/xxxx/eloipool.py", line 490, in checkShare MWL = workLog[None] KeyError: None
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/xxxx/stratumserver.py", line 91, in found_terminator rv = getattr(self, funcname)(*rpc['params']) File "/xxxx/stratumserver.py", line 184, in _stratum_mining_submit self.server.receiveShare(share) File "/xxxx/eloipool.py", line 655, in receiveShare logShare(share) File "/xxxx/eloipool.py", line 639, in logShare share['solution'] = b2a_hex(swap32(share['data'])).decode('utf8') KeyError: 'data'
2013-03-31 10:11:20,543 StratumHandler DEBUG Traceback (most recent call last): File "/xxxx/eloipool.py", line 646, in receiveShare checkShare(share) File "/xxxx/eloipool.py", line 490, in checkShare MWL = workLog[None] KeyError: None and this 2013-03-31 05:16:04,681 redflag CRITICAL issuing duplicate work 2013-03-31 05:16:04,682 JSONRPCHandler ERROR Error during JSON-RPC call (UA=None, IP=::ffff:83.......): doJSON_getwork[] Traceback (most recent call last): File "/xxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/xxx/jsonrpc_getwork.py", line 54, in doJSON_getwork raise self.server.RaiseRedFlags(RuntimeError('issuing duplicate work')) RuntimeError: issuing duplicate work
2013-03-31 05:16:04,695 redflag CRITICAL issuing duplicate work 2013-03-31 05:16:04,721 JSONRPCHandler ERROR Error during JSON-RPC call (UA=b'phoenix/v1.7.5', IP=::ffff:188........): doJSON_getwork[] Traceback (most recent call last): File "/xxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/xxx/jsonrpc_getwork.py", line 54, in doJSON_getwork raise self.server.RaiseRedFlags(RuntimeError('issuing duplicate work')) RuntimeError: issuing duplicate work
2013-03-31 05:16:04,725 redflag CRITICAL issuing duplicate work 2013-03-31 05:16:04,725 JSONRPCHandler ERROR Error during JSON-RPC call (UA=b'bfgminer 2.5.0', IP=::ffff:212.........): doJSON_getwork[] Traceback (most recent call last): File "/xxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/xxx/jsonrpc_getwork.py", line 54, in doJSON_getwork raise self.server.RaiseRedFlags(RuntimeError('issuing duplicate work')) RuntimeError: issuing duplicate work
it is because of bugs in clinet software ?
|
|
|
what can trigger this error ? 2013-03-29 19:49:56,743 StratumHandler DEBUG Traceback (most recent call last): File "xxxxxxxxxxxxxxxxxxxxxxxxstratumserver.py", line 91, in found_terminator rv = getattr(self, funcname)(*rpc['params']) TypeError: _stratum_mining_subscribe() takes exactly 1 positional argument (2 given)
2013-03-29 19:49:56,805 StratumHandler DEBUG Traceback (most recent call last): File "xxxxxxxxxxxxxxxxxxxxxstratumserver.py", line 91, in found_terminator rv = getattr(self, funcname)(*rpc['params'])
is this version bitcoind 0.8.1 eligious branch is ok from git clone git://gitorious.org/~Luke-Jr/bitcoin/luke-jr-bitcoin.git ?
|
|
|
any upgrade of eloipool needed ? because of stratum and custom bitcoind branch (0.8.0.eligius ) and "bug" ?
|
|
|
some small exception 2013-03-10 22:33:10,264 JSONRPCHandler ERROR Error during JSON-RPC call (UA=b'cgminer 2.10.5', IP=::ffff:82.160.xxx.xxx): doJSON_submitblock['020000000xxxxxxxxxxxxxxxxxx', {}] Traceback (most recent call last): File "/home/xxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/home/xxx/jsonrpc_getblocktemplate.py", line 99, in doJSON_submitblock self.server.receiveShare(share) File "/home/xxx/eloipool18.py", line 646, in receiveShare checkShare(share) File "/home/xxx/eloipool18.py", line 476, in checkShare othertxndata = cbtxn.disassemble(retExtra=True) File "/home/xxx/bitcoin/txn.py", line 52, in disassemble self.version = unpack('<L', self.data[:4])[0] AttributeError: 'Txn' object has no attribute 'data'
eloipool works perfect but sometimes above message appears in log file
|
|
|
probably you dont have midstate module (compile this from source file midstate.so needed ) and no sql libs pymysql etc (install python modules)
|
|
|
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? i don't think that is after new block notyfication about minute after new block ? and usualy new block is annouced without this message , just normal like this: 2013-02-23 20:14:03,307 JSONRPCServer INFO Longpoll woke up 8 clients in 0.030 seconds 2013-02-23 20:22:16,810 merkleMaker INFO New block: 00000000000000112079f0792 (height: 222748; bits: 1a04985c) 2013-02-23 20:22:16,956 JSONRPCServer INFO Longpoll woke up 8 clients in 0.081 seconds 2013-02-23 20:22:17,951 JSONRPCServer INFO Waiting 4 seconds to longpoll 2013-02-23 20:22:21,972 JSONRPCServer INFO Longpoll woke up 7 clients in 0.010 seconds 2013-02-23 20:27:41,546 merkleMaker INFO New block: 00000000000001d403f01 (height: 222749; bits: 1a04985c) 2013-02-23 20:27:41,769 JSONRPCServer INFO Longpoll woke up 8 clients in 0.089 seconds 2013-02-23 20:27:44,384 JSONRPCServer INFO Waiting 2.39 seconds to longpoll 2013-02-23 20:27:58,363 JSONRPCServer INFO Longpoll woke up 7 clients in 0.062 seconds
|
|
|
everything look ok now ( after comment TemplateChecks or use 0.8.0.eligius bitcoind branch ) but sometimes this message appears 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
? 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 ? 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
? and in stratum 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)
|
|
|
that is true, a have add commas, and now i get this error >>> 2013-02-22 22:53:35,380 merkleMaker INFO New block: 00000000000004509071260531df744090422d372d706cee907b2b5f2be8b8ff (height: 222598; bits: 1a04985c) 2013-02-22 22:53:35,382 JSONRPCServer INFO Waiting 14.1 seconds to longpoll 2013-02-22 22:53:35,450 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxx/merklemaker.py", line 680, in run self.merkleMaker_I() File "/home/xxx/merklemaker.py", line 670, in merkleMaker_I self.merkleMaker_II() File "/home/xxx/merklemaker.py", line 636, in merkleMaker_II return self._updateMerkleTree() File "/home/xxx/merklemaker.py", line 536, in _updateMerkleTree self._updateMerkleTree_I() File "/home/xxx/merklemaker.py", line 506, in _updateMerkleTree_I r = self._updateMerkleTree_fromTS(TS) File "/home/xxx/merklemaker.py", line 481, in _updateMerkleTree_fromTS (AcceptedScore, TotalScore) = self._CheckTemplate(newMerkleTree, TS) File "/home/xxx/merklemaker.py", line 430, in _CheckTemplate propose = caccess.getblocktemplate(ProposeReq) File "/home/xxx/jsonrpc/authproxy.py", line 106, in __call__ raise JSONRPCException(resp['error']) jsonrpc.authproxy.JSONRPCException
|
|
|
this error still appears , just after starting the program, >>> Traceback (most recent call last): File "./eloipool.py", line 909, in <module> MM.start() File "/home/xxxxxxxx/merklemaker.py", line 685, in start self._prepare() File "/home/xxxxxxxx7/merklemaker.py", line 117, in _prepare URINamePair(TS, 'TemplateSources[%u]' % (i,)) File "/home/xxxxxxxx/merklemaker.py", line 104, in URINamePair a['name'] = URI2Name.get(a['uri'], defname) TypeError: string indices must be integers
and the program stops i send config.py to PM (pastebin ) is it a problem with configuration ? i use the same settings in the previous version .
|
|
|
I will help in the development of eloipool, but I do not know python very well (and certainly not as good as Luke) , for now I can help in testing
is it ok that stratum server reports different difficult than client? i have send You PM with detailed description of this issue.
|
|
|
Looks like you need to raise your fd limits (check out man ulimit), and double check your UpstreamURI (or TemplateSources in newer configs)
fd limits is ok (after increase limit and RELOG ) but still get this error 2013-02-10 14:05:42,145 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxxxx/merklemaker.py", line 675, in run self.merkleMaker_I() File "/home/xxxxxx/merklemaker.py", line 665, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxxx/merklemaker.py", line 631, in merkleMaker_II return self.updateMerkleTree() File "/home/xxxxxx/merklemaker.py", line 536, in updateMerkleTree self._updateMerkleTree_I() File "/home/xxxxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template
2013-02-10 14:05:42,145 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxxxx/merklemaker.py", line 675, in run self.merkleMaker_I() File "/home/xxxxxx/merklemaker.py", line 665, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxxx/merklemaker.py", line 631, in merkleMaker_II return self.updateMerkleTree() File "/home/xxxxxx/merklemaker.py", line 536, in updateMerkleTree self._updateMerkleTree_I() File "/home/xxxxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template
2013-02-10 14:05:42,162 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxxxx/merklemaker.py", line 675, in run self.merkleMaker_I() File "/home/xxxxxx/merklemaker.py", line 665, in merkleMaker_I self.merkleMaker_II() File "/home/xxxxxx/merklemaker.py", line 631, in merkleMaker_II return self.updateMerkleTree() File "/home/xxxxxx/merklemaker.py", line 536, in updateMerkleTree self._updateMerkleTree_I() File "/home/xxxxxx/merklemaker.py", line 522, in _updateMerkleTree_I raise RuntimeError('Failed to create usable template') RuntimeError: Failed to create usable template
last version from git + login and pass copied from previous config ? it is first error message afret program start (no other before -such as "cant connect" etc )
|
|
|
Thanks Luke-Jr for great eloipool it is the best the best software pool I have ever seen ! and "It's Alive!!!" i get this error ... is this normal ? what can cause this error ? 2013-02-10 08:11:47,172 JSONRPCServer INFO Longpoll woke up xx clients in 0.009 seconds Unhandled exception in thread started by <bound method merkleMaker._bootstrap of <merkleMaker(Thread-2, stopped daemon 140194112648960)>> Traceback (most recent call last): File "/home/xxxx/merklemaker.py", line 503, in run File "/home/xxxx/merklemaker.py", line 493, in merkleMaker_I File "/home/xxxx/merklemaker.py", line 471, in merkleMaker_II File "/home/xxxx/merklemaker.py", line 277, in updateMerkleTree File "/home/xxxx/jsonrpc/authproxy.py", line 95, in __call__ File "/usr/lib/python3.1/http/client.py", line 932, in request File "/usr/lib/python3.1/http/client.py", line 970, in _send_request File "/usr/lib/python3.1/http/client.py", line 928, in endheaders File "/usr/lib/python3.1/http/client.py", line 782, in _send_output File "/usr/lib/python3.1/http/client.py", line 723, in send File "/usr/lib/python3.1/http/client.py", line 705, in connect File "/usr/lib/python3.1/socket.py", line 292, in create_connection socket.gaierror: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.1/threading.py", line 516, in _bootstrap_inner File "/home/xxxx/merklemaker.py", line 505, in run File "/usr/lib/python3.1/traceback.py", line 269, in format_exc File "/usr/lib/python3.1/traceback.py", line 186, in format_exception File "/usr/lib/python3.1/traceback.py", line 75, in format_tb File "/usr/lib/python3.1/traceback.py", line 100, in extract_tb File "/usr/lib/python3.1/linecache.py", line 15, in getline File "/usr/lib/python3.1/linecache.py", line 41, in getlines File "/usr/lib/python3.1/linecache.py", line 132, in updatecache IOError: [Errno 24] Too many open files: '/home/xxxx/merklemaker.py'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3.1/threading.py", line 489, in _bootstrap File "/usr/lib/python3.1/threading.py", line 529, in _bootstrap_inner File "/usr/lib/python3.1/traceback.py", line 269, in format_exc File "/usr/lib/python3.1/traceback.py", line 186, in format_exception File "/usr/lib/python3.1/traceback.py", line 75, in format_tb File "/usr/lib/python3.1/traceback.py", line 100, in extract_tb File "/usr/lib/python3.1/linecache.py", line 15, in getline File "/usr/lib/python3.1/linecache.py", line 41, in getlines File "/usr/lib/python3.1/linecache.py", line 132, in updatecache IOError: [Errno 24] Too many open files: '/home/xxxx/merklemaker.py'
and this when i use sql mysql share login During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.1/dist-packages/pymysql/connections.py", line 734, in _connect socket.gaierror: [Errno -5] No address associated with hostname
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/xxxx/jsonrpcserver.py", line 196, in _doJSON_i File "/home/xxxx/jsonrpc_getwork.py", line 44, in doJSON_getwork File "/home/xxxx/jsonrpc_getwork.py", line 79, in doJSON_submitwork File "/home/xxxx/eloipool9.py", line 461, in receiveShare File "/home/xxxx/sharelogging/sql.py", line 90, in logShare File "/usr/local/lib/python3.1/dist-packages/pymysql/__init__.py", line 93, in Connect File "/usr/local/lib/python3.1/dist-packages/pymysql/connections.py", line 575, in __init__ File "/usr/local/lib/python3.1/dist-packages/pymysql/connections.py", line 744, in _connect pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (-5)")
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/xxxx/jsonrpcserver.py", line 260, in handle_request File "/home/xxxx/jsonrpcserver.py", line 243, in doJSON File "/home/xxxx/jsonrpcserver.py", line 201, in _doJSON_i File "/usr/lib/python3.1/traceback.py", line 269, in format_exc File "/usr/lib/python3.1/traceback.py", line 186, in format_exception File "/usr/lib/python3.1/traceback.py", line 75, in format_tb File "/usr/lib/python3.1/traceback.py", line 100, in extract_tb File "/usr/lib/python3.1/linecache.py", line 15, in getline File "/usr/lib/python3.1/linecache.py", line 41, in getlines File "/usr/lib/python3.1/linecache.py", line 132, in updatecache IOError: [Errno 24] Too many open files: '/usr/local/lib/python3.1/dist-packages/pymysql/connections.py'
During handling of the above exception, another exception occurred:
is it mean that someone open too much socket connections to server ? flood or something ? i get this error in every version eloipool in last version i get this 2013-02-10 08:32:47,093 merkleMaker CRITICAL Traceback (most recent call last): File "/home/xxxx/merklemaker.py", line 675, in run self.merkleMaker_I() File "/home/xxxx/merklemaker.py", line 665, in merkleMaker_I self.merkleMaker_II() File "/home/xxxx/merklemaker.py", line 631, in merkleMaker_II return self.updateMerkleTree() File "/home/xxxx/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 in new version i noticed that there is new section TemplateSource and BlockSubmision , This is great, I think that this configuration is clearer than previous versions if You can describe configuration in which you run your test it will be very usefull (eg. bincond ports and bitcoin.conf + config.py )
|
|
|
FreiCoin another coin without exchange and future, what about ?Microcash ? and solidcoin and what about Mhash as Ghash ? Continue to look for gullible people?
|
|
|
Good news! Payouts are fully tested and enabled Thank you Jea ! Thank you coinotron, another shitcoin, FAP FAP FAP another coin without exchange and future, what about ?Microcash ? and solidcoin do you still counting ? Mhash as Ghash ? Continue to look for gullible people?
|
|
|
By the way, what is the use of GotWorkURI? Shares found from getmemorypool work cannot be submitted via getwork, or can they?
GotWorkURI is for merged mining. gotwork != getwork I think that eloipool need more complex exemple configuration and step by step quick start guide (in few scenerios ? ) . Is there any example for merged mining configuration ? Could someone post some config files ? I tried to do it, but it is to complicated . just few lines of config from eloipool and bitcoin (altcoin) daemon proxy ? UpstreamURI ? SecretUser? UpstreamBitCoinNode ?GotWorkURI ? BitCoinNodeAddresses ? Whish version bitcoind shuld i use ? with merged ? which proxy ? i have tries many difrent configuration, and it still does not work.... could someone post example config ? is it possible to get it all together online ?
|
|
|
i see that there is in fact two errors when i use {target2bdiff(target)} 1. JSONRPCHandler ERROR Error during JSON-RPC and then 2. TypeError: unsupported operand type(s) for /: 'int' and 'NoneType >>> 2012-12-29 15:10:46,080 JSONRPCHandler ERROR Error during JSON-RPC call: doJSON_getwork['00000002b3adf6e137be13xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Traceback (most recent call last): File "/xxxxxxxxxxxxxxxxxx/eloipool12.py", line 573, in receiveShare checkShare(share) File "/xxxxxxxxxxxxxxxxxx/eloipool12.py", line 392, in checkShare checkData(share) File "/xxxxxxxxxxxxxxxxxx/eloipool12.py", line 353, in checkData raise RejectedShare('bad-prevblk') util.RejectedShare: bad-prevblk
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/xxxxxxxxxxxxxxxxxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/xxxxxxxxxxxxxxxxxx/jsonrpc_getwork.py", line 44, in doJSON_getwork return self.doJSON_submitwork(data) File "/xxxxxxxxxxxxxxxxxx/jsonrpc_getwork.py", line 81, in doJSON_submitwork self.server.receiveShare(share) File "/xxxxxxxxxxxxxxxxxx/eloipool12.py", line 579, in receiveShare logShare(share) File "/xxxxxxxxxxxxxxxxxx/eloipool12.py", line 568, in logShare i.logShare(share) File "/xxxxxxxxxxxxxxxxxx/sharelogging/logfile.py", line 60, in logShare logline = self.fmt.formatShare(share) File "/xxxxxxxxxxxxxxxxxx/util.py", line 55, in formatShare (stmt, params) = self.applyToShare(*a, **ka) File "/xxxxxxxxxxxxxxxxxx/util.py", line 62, in applyToShare params.append(f(share)) File "/xxxxxxxxxxxxxxxxxx/util.py", line 115, in <lambda> return lambda s: target2bdiff(subfunc(s)) File "/xxxxxxxxxxxxxxxxxx/util.py", line 44, in target2bdiff bdiff = bdiff1target / target TypeError: unsupported operand type(s) for /: 'int' and 'NoneType' i dont know if it is importent
|
|
|
i have add {target2bdiff(target)} and get this error Traceback (most recent call last): File "/xxxxxxxxxxxxxxxxxxxxx/jsonrpcserver.py", line 200, in _doJSON_i rv = getattr(self, method)(*params) File "/xxxxxxxxxxxxxxxxxxxxx/jsonrpc_getwork.py", line 44, in doJSON_getwork return self.doJSON_submitwork(data) File "/xxxxxxxxxxxxxxxxxxxxx/jsonrpc_getwork.py", line 81, in doJSON_submitwork self.server.receiveShare(share) File "/xxxxxxxxxxxxxxxxxxxxx/eloipool12.py", line 579, in receiveShare logShare(share) File "/xxxxxxxxxxxxxxxxxxxxx/eloipool12.py", line 568, in logShare i.logShare(share) File "/xxxxxxxxxxxxxxxxxxxxx/sharelogging/logfile.py", line 60, in logShare logline = self.fmt.formatShare(share) File "/xxxxxxxxxxxxxxxxxxxxx/util.py", line 55, in formatShare (stmt, params) = self.applyToShare(*a, **ka) File "/xxxxxxxxxxxxxxxxxxxxx/util.py", line 62, in applyToShare params.append(f(share)) File "/xxxxxxxxxxxxxxxxxxxxx/util.py", line 115, in <lambda> return lambda s: target2bdiff(subfunc(s)) File "/xxxxxxxxxxxxxxxxxxxxx/util.py", line 44, in target2bdiff bdiff = bdiff1target / target TypeError: unsupported operand type(s) for /: 'int' and 'NoneType'
so it look like {target2bdiff(target)} is buggy but {target2pdiff(target)} seems to be ok what means when someone have 1 ? and other user None ? as a result {target2pdiff(target)} in share log ?
|
|
|
|