ff19

p2pool debug

Feb 5th, 2012
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 132.41 KB | None | 0 0
  1. /home/mrx/p2pool/p2pool/p2pool/util/pack.py:190: DeprecationWarning: object.__new__() takes no parameters
  2.   return Type.__new__(cls, bits, endianness)
  3. 2012-02-05 19:11:02.688427 p2pool (version a7edadd)
  4. 2012-02-05 19:11:02.688580
  5. 2012-02-05 19:11:02.688638 Install Pygame and PIL to enable visualizations! Visualizations disabled.
  6. 2012-02-05 19:11:02.688667
  7. 2012-02-05 19:11:02.688748 Testing bitcoind RPC connection to 'http://127.0.0.1:20003/' with username '1'...
  8. 2012-02-05 19:11:02.715836     ...success!
  9. 2012-02-05 19:11:02.715897     Current block hash: c6aaf4d0d857a25273a26f614dec08b2b13f6292842bb01b0a63d1fe4b811aba
  10. 2012-02-05 19:11:02.715931
  11. 2012-02-05 19:11:02.715964 Testing bitcoind P2P connection to '127.0.0.1:9333'...
  12. 2012-02-05 19:11:02.857193     ...success!
  13. 2012-02-05 19:11:02.857239
  14. 2012-02-05 19:11:02.857271 Computing payout script from provided address....
  15. 2012-02-05 19:11:02.857332     ...success!
  16. 2012-02-05 19:11:02.857567     Payout script: Address. Address: LMrxFf19Y7LHM7tBDMByscBizfG6RHJomS
  17. 2012-02-05 19:11:02.857599
  18. 2012-02-05 19:11:02.858214 Loading shares...
  19. 2012-02-05 19:11:03.940222     1000
  20. 2012-02-05 19:11:05.003968     2000
  21. 2012-02-05 19:11:06.071800     3000
  22. 2012-02-05 19:11:07.143350     4000
  23. 2012-02-05 19:11:08.210510     5000
  24. 2012-02-05 19:11:09.305301     6000
  25. 2012-02-05 19:11:10.385699     7000
  26. 2012-02-05 19:11:11.453602     8000
  27. 2012-02-05 19:11:12.525256     9000
  28. 2012-02-05 19:11:13.574785     10000
  29. 2012-02-05 19:11:14.632115     11000
  30. 2012-02-05 19:11:15.710572     12000
  31. 2012-02-05 19:11:16.792945     13000
  32. 2012-02-05 19:11:17.864542     14000
  33. 2012-02-05 19:11:19.020325     15000
  34. 2012-02-05 19:11:20.087341     16000
  35. 2012-02-05 19:11:21.153032     17000
  36. 2012-02-05 19:11:22.240551     18000
  37. 2012-02-05 19:11:23.311017     19000
  38. 2012-02-05 19:11:24.366405     20000
  39. 2012-02-05 19:11:25.442825     21000
  40. 2012-02-05 19:11:26.527668     22000
  41. 2012-02-05 19:11:27.610034     23000
  42. 2012-02-05 19:11:28.344645     ...inserting 23549 verified shares...
  43. 2012-02-05 19:11:29.264228     ...done loading 23549 shares!
  44. 2012-02-05 19:11:29.264326
  45. 2012-02-05 19:11:29.264578 Initializing work...
  46. 2012-02-05 19:11:30.873794 2 tails:
  47. 2012-02-05 19:11:30.873923 4b01bc14 (4, None)
  48. 2012-02-05 19:11:30.873966 86af972a (8640, 0L)
  49. 2012-02-05 19:11:30.934155 238 heads. Top 10:
  50. 2012-02-05 19:11:30.934278     867d5242 ed19224e (82971578216L, 0, 0)
  51. 2012-02-05 19:11:30.934333     6cdc165e c2408223 (83180762560L, 0, 0)
  52. 2012-02-05 19:11:30.934386     7171aba7 d1877be4 (83265697188L, 0, 0)
  53. 2012-02-05 19:11:30.934439     31869ff0 0f180c03 (83360111524L, 0, 0)
  54. 2012-02-05 19:11:30.934491     664106ce 998f5a08 (83419657950L, 0, 0)
  55. 2012-02-05 19:11:30.934543     35cd6770 fd9126d4 (84325220880L, 0, 0)
  56. 2012-02-05 19:11:30.934596     8db2b7d1 abfbf407 (84369089386L, 0, 0)
  57. 2012-02-05 19:11:30.934648     58f8e8ad 96a85e45 (84431607712L, 0, 0)
  58. 2012-02-05 19:11:30.934700     5116e0fc df25e212 (86815722373L, 0, 0)
  59. 2012-02-05 19:11:30.934753     34ab6001 4a40ced8 (88570171097L, 0, 0)
  60. 2012-02-05 19:11:31.307660 > Traceback (most recent call last):
  61. 2012-02-05 19:11:31.307761 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 879, in gotResult
  62. 2012-02-05 19:11:31.307790 >     _inlineCallbacks(r, g, deferred)
  63. 2012-02-05 19:11:31.307817 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks
  64. 2012-02-05 19:11:31.307844 >     result = g.send(result)
  65. 2012-02-05 19:11:31.307870 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 150, in set_real_work1
  66. 2012-02-05 19:11:31.307896 >     coinbaseflags=work['coinbaseflags'],
  67. 2012-02-05 19:11:31.307923 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 64, in set
  68. 2012-02-05 19:11:31.307949 >     self.changed.happened(value)
  69. 2012-02-05 19:11:31.307974 > --- <exception caught here> ---
  70. 2012-02-05 19:11:31.308000 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  71. 2012-02-05 19:11:31.308026 >     func(*event)
  72. 2012-02-05 19:11:31.308052 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 188, in <lambda>
  73. 2012-02-05 19:11:31.308086 >     pre_current_work.changed.watch(lambda _: set_real_work2())
  74. 2012-02-05 19:11:31.308113 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  75. 2012-02-05 19:11:31.308139 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  76. 2012-02-05 19:11:31.308165 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  77. 2012-02-05 19:11:31.308190 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  78. 2012-02-05 19:11:31.308217 > exceptions.ZeroDivisionError: long division or modulo by zero
  79. 2012-02-05 19:11:31.308506     ...success!
  80. 2012-02-05 19:11:31.308536
  81. 2012-02-05 19:11:31.308634 Joining p2pool network using port 9338...
  82. 2012-02-05 19:11:31.519445 > Unhandled error in Deferred:
  83. 2012-02-05 19:11:31.519887 > Traceback (most recent call last):
  84. 2012-02-05 19:11:31.519919 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks
  85. 2012-02-05 19:11:31.519947 >     result = g.send(result)
  86. 2012-02-05 19:11:31.519974 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 351, in main
  87. 2012-02-05 19:11:31.520000 >     task.LoopingCall(save_shares).start(60)
  88. 2012-02-05 19:11:31.520026 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/task.py", line 163, in start
  89. 2012-02-05 19:11:31.520052 >     self()
  90. 2012-02-05 19:11:31.520078 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/task.py", line 194, in __call__
  91. 2012-02-05 19:11:31.520104 >     d = defer.maybeDeferred(self.f, *self.a, **self.kw)
  92. 2012-02-05 19:11:31.520130 > --- <exception caught here> ---
  93. 2012-02-05 19:11:31.520156 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 117, in maybeDeferred
  94. 2012-02-05 19:11:31.520182 >     result = f(*args, **kw)
  95. 2012-02-05 19:11:31.520207 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 347, in save_shares
  96. 2012-02-05 19:11:31.520234 >     for share in tracker.get_chain(current_work.value['best_share_hash'], min(tracker.get_height(current_work.value['best_share_hash']), 2*net.CHAIN_LENGTH)):
  97. 2012-02-05 19:11:31.520261 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  98. 2012-02-05 19:11:31.521334     ...success!
  99. 2012-02-05 19:11:31.521367
  100. 2012-02-05 19:11:31.523203 Listening for workers on port 2000...
  101. 2012-02-05 19:11:31.523515     Worker password: 761cd548b77fa2da (only required for generating graphs)
  102. 2012-02-05 19:11:31.831996 > Unhandled error in Deferred:
  103. 2012-02-05 19:11:31.832231 > Traceback (most recent call last):
  104. 2012-02-05 19:11:31.832281 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks
  105. 2012-02-05 19:11:31.832326 >     result = g.send(result)
  106. 2012-02-05 19:11:31.832369 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 761, in main
  107. 2012-02-05 19:11:31.832411 >     task.LoopingCall(add_point).start(100)
  108. 2012-02-05 19:11:31.832452 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/task.py", line 163, in start
  109. 2012-02-05 19:11:31.832513 >     self()
  110. 2012-02-05 19:11:31.832554 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/task.py", line 194, in __call__
  111. 2012-02-05 19:11:31.832596 >     d = defer.maybeDeferred(self.f, *self.a, **self.kw)
  112. 2012-02-05 19:11:31.832637 > --- <exception caught here> ---
  113. 2012-02-05 19:11:31.832677 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 117, in maybeDeferred
  114. 2012-02-05 19:11:31.832718 >     result = f(*args, **kw)
  115. 2012-02-05 19:11:31.832758 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 756, in add_point
  116. 2012-02-05 19:11:31.832798 >     if tracker.get_height(current_work.value['best_share_hash']) < 720:
  117. 2012-02-05 19:11:31.832838 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  118. 2012-02-05 19:11:31.834251     ...success!
  119. 2012-02-05 19:11:31.834305
  120. 2012-02-05 19:11:31.834762 Started successfully!
  121. 2012-02-05 19:11:31.834813
  122. 2012-02-05 19:11:31.895983 1 tails:
  123. 2012-02-05 19:11:31.896127 a23aede8 (8640, 0L)
  124. 2012-02-05 19:11:31.897302 5 heads. Top 10:
  125. 2012-02-05 19:11:31.897391     35cd6770 fd9126d4 (82266828410L, 0, 0)
  126. 2012-02-05 19:11:31.897474     8db2b7d1 abfbf407 (82310696916L, 0, 0)
  127. 2012-02-05 19:11:31.897555     58f8e8ad 96a85e45 (82373215242L, 0, 0)
  128. 2012-02-05 19:11:31.897634     5116e0fc df25e212 (84757329903L, 0, 0)
  129. 2012-02-05 19:11:31.897714     34ab6001 4a40ced8 (86511778627L, 0, 0)
  130. 2012-02-05 19:11:32.406379 > Traceback (most recent call last):
  131. 2012-02-05 19:11:32.406475 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  132. 2012-02-05 19:11:32.406519 >     handler(**payload2)
  133. 2012-02-05 19:11:32.406562 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  134. 2012-02-05 19:11:32.406604 >     self.factory.new_headers.happened([header['header'] for header in headers])
  135. 2012-02-05 19:11:32.406646 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  136. 2012-02-05 19:11:32.406687 >     func(*event)
  137. 2012-02-05 19:11:32.406727 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  138. 2012-02-05 19:11:32.406768 >     self.updated.happened()
  139. 2012-02-05 19:11:32.406808 > --- <exception caught here> ---
  140. 2012-02-05 19:11:32.406849 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  141. 2012-02-05 19:11:32.406890 >     func(*event)
  142. 2012-02-05 19:11:32.406929 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  143. 2012-02-05 19:11:32.406970 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  144. 2012-02-05 19:11:32.407011 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  145. 2012-02-05 19:11:32.407051 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  146. 2012-02-05 19:11:32.407094 > exceptions.ZeroDivisionError: long division or modulo by zero
  147. 2012-02-05 19:11:32.501174 1 tails:
  148. 2012-02-05 19:11:32.501312 621fb22b (8640, 0L)
  149. 2012-02-05 19:11:32.502467 5 heads. Top 10:
  150. 2012-02-05 19:11:32.502556     35cd6770 fd9126d4 (80296284642L, 0, 0)
  151. 2012-02-05 19:11:32.502639     8db2b7d1 abfbf407 (80340153148L, 0, 0)
  152. 2012-02-05 19:11:32.502719     58f8e8ad 96a85e45 (80402671474L, 0, 0)
  153. 2012-02-05 19:11:32.502799     5116e0fc df25e212 (82786786135L, 0, 0)
  154. 2012-02-05 19:11:32.502878     34ab6001 4a40ced8 (84541234859L, 0, 0)
  155. 2012-02-05 19:11:33.005035 > Traceback (most recent call last):
  156. 2012-02-05 19:11:33.005163 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  157. 2012-02-05 19:11:33.005210 >     handler(**payload2)
  158. 2012-02-05 19:11:33.005253 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  159. 2012-02-05 19:11:33.005296 >     self.factory.new_headers.happened([header['header'] for header in headers])
  160. 2012-02-05 19:11:33.005338 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  161. 2012-02-05 19:11:33.005381 >     func(*event)
  162. 2012-02-05 19:11:33.005422 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  163. 2012-02-05 19:11:33.005492 >     self.updated.happened()
  164. 2012-02-05 19:11:33.005534 > --- <exception caught here> ---
  165. 2012-02-05 19:11:33.005575 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  166. 2012-02-05 19:11:33.005617 >     func(*event)
  167. 2012-02-05 19:11:33.005657 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  168. 2012-02-05 19:11:33.005699 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  169. 2012-02-05 19:11:33.005740 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  170. 2012-02-05 19:11:33.005783 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  171. 2012-02-05 19:11:33.005827 > exceptions.ZeroDivisionError: long division or modulo by zero
  172. 2012-02-05 19:11:33.009354 > Traceback (most recent call last):
  173. 2012-02-05 19:11:33.009437 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  174. 2012-02-05 19:11:33.009497 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  175. 2012-02-05 19:11:33.009542 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  176. 2012-02-05 19:11:33.009585 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  177. 2012-02-05 19:11:33.009627 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  178. 2012-02-05 19:11:33.009670 >     return func(*args,**kw)
  179. 2012-02-05 19:11:33.009712 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  180. 2012-02-05 19:11:33.009755 >     why = getattr(selectable, method)()
  181. 2012-02-05 19:11:33.009797 > --- <exception caught here> ---
  182. 2012-02-05 19:11:33.009839 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 938, in doRead
  183. 2012-02-05 19:11:33.009882 >     protocol.makeConnection(transport)
  184. 2012-02-05 19:11:33.009923 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  185. 2012-02-05 19:11:33.009966 >     self.connectionMade()
  186. 2012-02-05 19:11:33.010007 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  187. 2012-02-05 19:11:33.010048 >     best_share_hash=self.node.best_share_hash_func(),
  188. 2012-02-05 19:11:33.010090 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  189. 2012-02-05 19:11:33.010132 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  190. 2012-02-05 19:11:33.010175 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  191. 2012-02-05 19:11:33.010748 > Traceback (most recent call last):
  192. 2012-02-05 19:11:33.010800 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger
  193. 2012-02-05 19:11:33.010846 >     return callWithContext({"system": lp}, func, *args, **kw)
  194. 2012-02-05 19:11:33.010889 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  195. 2012-02-05 19:11:33.010932 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  196. 2012-02-05 19:11:33.010975 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  197. 2012-02-05 19:11:33.011019 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  198. 2012-02-05 19:11:33.011062 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  199. 2012-02-05 19:11:33.011105 >     return func(*args,**kw)
  200. 2012-02-05 19:11:33.011146 > --- <exception caught here> ---
  201. 2012-02-05 19:11:33.011188 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  202. 2012-02-05 19:11:33.011231 >     why = getattr(selectable, method)()
  203. 2012-02-05 19:11:33.011273 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 664, in doConnect
  204. 2012-02-05 19:11:33.011317 >     self._connectDone()
  205. 2012-02-05 19:11:33.011359 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 671, in _connectDone
  206. 2012-02-05 19:11:33.011421 >     self.protocol.makeConnection(self)
  207. 2012-02-05 19:11:33.011464 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  208. 2012-02-05 19:11:33.011507 >     self.connectionMade()
  209. 2012-02-05 19:11:33.011549 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  210. 2012-02-05 19:11:33.011591 >     best_share_hash=self.node.best_share_hash_func(),
  211. 2012-02-05 19:11:33.011633 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  212. 2012-02-05 19:11:33.011675 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  213. 2012-02-05 19:11:33.011716 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  214. 2012-02-05 19:11:33.012997 Incoming connection to peer 172.16.0.3:53362 established. p2pool version: 2 'a7edadd'
  215. 2012-02-05 19:11:33.013328 Got share hash, requesting! Hash: a47641a5
  216. 2012-02-05 19:11:33.105458 1 tails:
  217. 2012-02-05 19:11:33.105593 fcbd8917 (8640, 0L)
  218. 2012-02-05 19:11:33.106751 5 heads. Top 10:
  219. 2012-02-05 19:11:33.106839     35cd6770 fd9126d4 (78103659175L, 0, 0)
  220. 2012-02-05 19:11:33.106923     8db2b7d1 abfbf407 (78147527681L, 0, 0)
  221. 2012-02-05 19:11:33.107004     58f8e8ad 96a85e45 (78210046007L, 0, 0)
  222. 2012-02-05 19:11:33.107084     5116e0fc df25e212 (80594160668L, 0, 0)
  223. 2012-02-05 19:11:33.107163     34ab6001 4a40ced8 (82348609392L, 0, 0)
  224. 2012-02-05 19:11:33.612145 > Traceback (most recent call last):
  225. 2012-02-05 19:11:33.612252 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  226. 2012-02-05 19:11:33.612298 >     handler(**payload2)
  227. 2012-02-05 19:11:33.612340 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  228. 2012-02-05 19:11:33.612381 >     self.factory.new_headers.happened([header['header'] for header in headers])
  229. 2012-02-05 19:11:33.612423 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  230. 2012-02-05 19:11:33.612463 >     func(*event)
  231. 2012-02-05 19:11:33.612504 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  232. 2012-02-05 19:11:33.612544 >     self.updated.happened()
  233. 2012-02-05 19:11:33.612585 > --- <exception caught here> ---
  234. 2012-02-05 19:11:33.612625 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  235. 2012-02-05 19:11:33.612666 >     func(*event)
  236. 2012-02-05 19:11:33.612705 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  237. 2012-02-05 19:11:33.612745 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  238. 2012-02-05 19:11:33.612786 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  239. 2012-02-05 19:11:33.612827 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  240. 2012-02-05 19:11:33.612870 > exceptions.ZeroDivisionError: long division or modulo by zero
  241. 2012-02-05 19:11:33.614702 Lost peer 172.16.0.3:53362
  242. 2012-02-05 19:11:33.710053 1 tails:
  243. 2012-02-05 19:11:33.710194 6a927f0b (8640, 0L)
  244. 2012-02-05 19:11:33.711343 5 heads. Top 10:
  245. 2012-02-05 19:11:33.711431     35cd6770 fd9126d4 (75648903498L, 0, 0)
  246. 2012-02-05 19:11:33.711515     8db2b7d1 abfbf407 (75692772004L, 0, 0)
  247. 2012-02-05 19:11:33.711594     58f8e8ad 96a85e45 (75755290330L, 0, 0)
  248. 2012-02-05 19:11:33.711675     5116e0fc df25e212 (78139404991L, 0, 0)
  249. 2012-02-05 19:11:33.711755     34ab6001 4a40ced8 (79893853715L, 0, 0)
  250. 2012-02-05 19:11:34.227840 > Traceback (most recent call last):
  251. 2012-02-05 19:11:34.227948 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  252. 2012-02-05 19:11:34.227993 >     handler(**payload2)
  253. 2012-02-05 19:11:34.228034 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  254. 2012-02-05 19:11:34.228076 >     self.factory.new_headers.happened([header['header'] for header in headers])
  255. 2012-02-05 19:11:34.228117 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  256. 2012-02-05 19:11:34.228159 >     func(*event)
  257. 2012-02-05 19:11:34.228219 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  258. 2012-02-05 19:11:34.228261 >     self.updated.happened()
  259. 2012-02-05 19:11:34.228301 > --- <exception caught here> ---
  260. 2012-02-05 19:11:34.228342 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  261. 2012-02-05 19:11:34.228382 >     func(*event)
  262. 2012-02-05 19:11:34.228422 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  263. 2012-02-05 19:11:34.228463 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  264. 2012-02-05 19:11:34.228503 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  265. 2012-02-05 19:11:34.228544 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  266. 2012-02-05 19:11:34.228586 > exceptions.ZeroDivisionError: long division or modulo by zero
  267. 2012-02-05 19:11:34.230271 > Traceback (most recent call last):
  268. 2012-02-05 19:11:34.230338 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger
  269. 2012-02-05 19:11:34.230384 >     return callWithContext({"system": lp}, func, *args, **kw)
  270. 2012-02-05 19:11:34.230425 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  271. 2012-02-05 19:11:34.230467 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  272. 2012-02-05 19:11:34.230508 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  273. 2012-02-05 19:11:34.230551 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  274. 2012-02-05 19:11:34.230592 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  275. 2012-02-05 19:11:34.230634 >     return func(*args,**kw)
  276. 2012-02-05 19:11:34.230675 > --- <exception caught here> ---
  277. 2012-02-05 19:11:34.230715 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  278. 2012-02-05 19:11:34.230757 >     why = getattr(selectable, method)()
  279. 2012-02-05 19:11:34.230798 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 664, in doConnect
  280. 2012-02-05 19:11:34.230840 >     self._connectDone()
  281. 2012-02-05 19:11:34.230881 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 671, in _connectDone
  282. 2012-02-05 19:11:34.230923 >     self.protocol.makeConnection(self)
  283. 2012-02-05 19:11:34.230963 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  284. 2012-02-05 19:11:34.231005 >     self.connectionMade()
  285. 2012-02-05 19:11:34.231047 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  286. 2012-02-05 19:11:34.231088 >     best_share_hash=self.node.best_share_hash_func(),
  287. 2012-02-05 19:11:34.231129 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  288. 2012-02-05 19:11:34.231170 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  289. 2012-02-05 19:11:34.231211 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  290. 2012-02-05 19:11:34.263549 1 tails:
  291. 2012-02-05 19:11:34.263689 d913cc16 (8640, 0L)
  292. 2012-02-05 19:11:34.264841 5 heads. Top 10:
  293. 2012-02-05 19:11:34.264928     35cd6770 fd9126d4 (73344045658L, 0, 0)
  294. 2012-02-05 19:11:34.265010     8db2b7d1 abfbf407 (73387914164L, 0, 0)
  295. 2012-02-05 19:11:34.265090     58f8e8ad 96a85e45 (73450432490L, 0, 0)
  296. 2012-02-05 19:11:34.265169     5116e0fc df25e212 (75834547151L, 0, 0)
  297. 2012-02-05 19:11:34.265249     34ab6001 4a40ced8 (77588995875L, 0, 0)
  298. 2012-02-05 19:11:34.377533 > Traceback (most recent call last):
  299. 2012-02-05 19:11:34.377636 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  300. 2012-02-05 19:11:34.377681 >     handler(**payload2)
  301. 2012-02-05 19:11:34.377722 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  302. 2012-02-05 19:11:34.377764 >     self.factory.new_headers.happened([header['header'] for header in headers])
  303. 2012-02-05 19:11:34.377825 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  304. 2012-02-05 19:11:34.377867 >     func(*event)
  305. 2012-02-05 19:11:34.377907 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  306. 2012-02-05 19:11:34.377948 >     self.updated.happened()
  307. 2012-02-05 19:11:34.377987 > --- <exception caught here> ---
  308. 2012-02-05 19:11:34.378027 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  309. 2012-02-05 19:11:34.378067 >     func(*event)
  310. 2012-02-05 19:11:34.378107 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  311. 2012-02-05 19:11:34.378147 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  312. 2012-02-05 19:11:34.378187 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  313. 2012-02-05 19:11:34.378228 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  314. 2012-02-05 19:11:34.378270 > exceptions.ZeroDivisionError: long division or modulo by zero
  315. 2012-02-05 19:11:34.471397 1 tails:
  316. 2012-02-05 19:11:34.471539 062495ba (8640, 0L)
  317. 2012-02-05 19:11:34.472694 5 heads. Top 10:
  318. 2012-02-05 19:11:34.472782     35cd6770 fd9126d4 (72833933540L, 0, 0)
  319. 2012-02-05 19:11:34.472865     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  320. 2012-02-05 19:11:34.472945     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  321. 2012-02-05 19:11:34.473025     5116e0fc df25e212 (75324435033L, 0, 0)
  322. 2012-02-05 19:11:34.473105     34ab6001 4a40ced8 (77078883757L, 0, 0)
  323. 2012-02-05 19:11:34.474364 > Traceback (most recent call last):
  324. 2012-02-05 19:11:34.474415 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  325. 2012-02-05 19:11:34.474459 >     handler(**payload2)
  326. 2012-02-05 19:11:34.474500 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  327. 2012-02-05 19:11:34.474540 >     self.factory.new_headers.happened([header['header'] for header in headers])
  328. 2012-02-05 19:11:34.474582 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  329. 2012-02-05 19:11:34.474623 >     func(*event)
  330. 2012-02-05 19:11:34.474662 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  331. 2012-02-05 19:11:34.474702 >     self.updated.happened()
  332. 2012-02-05 19:11:34.474742 > --- <exception caught here> ---
  333. 2012-02-05 19:11:34.474782 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  334. 2012-02-05 19:11:34.474822 >     func(*event)
  335. 2012-02-05 19:11:34.474862 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  336. 2012-02-05 19:11:34.474902 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  337. 2012-02-05 19:11:34.474943 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  338. 2012-02-05 19:11:34.474983 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  339. 2012-02-05 19:11:34.475025 > exceptions.ZeroDivisionError: long division or modulo by zero
  340. 2012-02-05 19:11:34.576412 1 tails:
  341. 2012-02-05 19:11:34.576550 062495ba (8640, 0L)
  342. 2012-02-05 19:11:34.577676 5 heads. Top 10:
  343. 2012-02-05 19:11:34.577763     35cd6770 fd9126d4 (72833933540L, 0, 0)
  344. 2012-02-05 19:11:34.577845     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  345. 2012-02-05 19:11:34.577925     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  346. 2012-02-05 19:11:34.578004     5116e0fc df25e212 (75324435033L, 0, 0)
  347. 2012-02-05 19:11:34.578083     34ab6001 4a40ced8 (77078883757L, 0, 0)
  348. 2012-02-05 19:11:34.579327 > Traceback (most recent call last):
  349. 2012-02-05 19:11:34.579379 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  350. 2012-02-05 19:11:34.579423 >     handler(**payload2)
  351. 2012-02-05 19:11:34.579464 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  352. 2012-02-05 19:11:34.579504 >     self.factory.new_headers.happened([header['header'] for header in headers])
  353. 2012-02-05 19:11:34.579547 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  354. 2012-02-05 19:11:34.579609 >     func(*event)
  355. 2012-02-05 19:11:34.579651 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  356. 2012-02-05 19:11:34.579692 >     self.updated.happened()
  357. 2012-02-05 19:11:34.579733 > --- <exception caught here> ---
  358. 2012-02-05 19:11:34.579773 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  359. 2012-02-05 19:11:34.579814 >     func(*event)
  360. 2012-02-05 19:11:34.579854 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  361. 2012-02-05 19:11:34.579895 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  362. 2012-02-05 19:11:34.579936 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  363. 2012-02-05 19:11:34.579977 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  364. 2012-02-05 19:11:34.580022 > exceptions.ZeroDivisionError: long division or modulo by zero
  365. 2012-02-05 19:11:34.581094 > Traceback (most recent call last):
  366. 2012-02-05 19:11:34.581145 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  367. 2012-02-05 19:11:34.581189 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  368. 2012-02-05 19:11:34.581230 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  369. 2012-02-05 19:11:34.581272 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  370. 2012-02-05 19:11:34.581312 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  371. 2012-02-05 19:11:34.581354 >     return func(*args,**kw)
  372. 2012-02-05 19:11:34.581393 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  373. 2012-02-05 19:11:34.581434 >     why = getattr(selectable, method)()
  374. 2012-02-05 19:11:34.581474 > --- <exception caught here> ---
  375. 2012-02-05 19:11:34.581513 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 938, in doRead
  376. 2012-02-05 19:11:34.581555 >     protocol.makeConnection(transport)
  377. 2012-02-05 19:11:34.581595 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  378. 2012-02-05 19:11:34.581637 >     self.connectionMade()
  379. 2012-02-05 19:11:34.581676 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  380. 2012-02-05 19:11:34.581716 >     best_share_hash=self.node.best_share_hash_func(),
  381. 2012-02-05 19:11:34.581756 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  382. 2012-02-05 19:11:34.581796 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  383. 2012-02-05 19:11:34.581837 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  384. 2012-02-05 19:11:34.582548 Incoming connection to peer 172.16.0.3:62084 established. p2pool version: 2 'a059b56'
  385. 2012-02-05 19:11:34.673713 1 tails:
  386. 2012-02-05 19:11:34.673844 062495ba (8640, 0L)
  387. 2012-02-05 19:11:34.683151 5 heads. Top 10:
  388. 2012-02-05 19:11:34.683238     35cd6770 fd9126d4 (72833933540L, 0, 0)
  389. 2012-02-05 19:11:34.683322     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  390. 2012-02-05 19:11:34.683402     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  391. 2012-02-05 19:11:34.683481     5116e0fc df25e212 (75324435033L, 0, 0)
  392. 2012-02-05 19:11:34.683561     34ab6001 4a40ced8 (77078883757L, 0, 0)
  393. 2012-02-05 19:11:34.684834 > Traceback (most recent call last):
  394. 2012-02-05 19:11:34.684885 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  395. 2012-02-05 19:11:34.684930 >     handler(**payload2)
  396. 2012-02-05 19:11:34.684970 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  397. 2012-02-05 19:11:34.685012 >     self.factory.new_headers.happened([header['header'] for header in headers])
  398. 2012-02-05 19:11:34.685052 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  399. 2012-02-05 19:11:34.685093 >     func(*event)
  400. 2012-02-05 19:11:34.685133 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  401. 2012-02-05 19:11:34.685194 >     self.updated.happened()
  402. 2012-02-05 19:11:34.685235 > --- <exception caught here> ---
  403. 2012-02-05 19:11:34.685275 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  404. 2012-02-05 19:11:34.685316 >     func(*event)
  405. 2012-02-05 19:11:34.685355 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  406. 2012-02-05 19:11:34.685396 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  407. 2012-02-05 19:11:34.685436 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  408. 2012-02-05 19:11:34.685477 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  409. 2012-02-05 19:11:34.685518 > exceptions.ZeroDivisionError: long division or modulo by zero
  410. 2012-02-05 19:11:34.777795 1 tails:
  411. 2012-02-05 19:11:34.777934 062495ba (8640, 0L)
  412. 2012-02-05 19:11:34.779077 5 heads. Top 10:
  413. 2012-02-05 19:11:34.779165     35cd6770 fd9126d4 (72833933540L, 0, 0)
  414. 2012-02-05 19:11:34.779265     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  415. 2012-02-05 19:11:34.779347     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  416. 2012-02-05 19:11:34.779426     5116e0fc df25e212 (75324435033L, 0, 0)
  417. 2012-02-05 19:11:34.779505     34ab6001 4a40ced8 (77078883757L, 0, 0)
  418. 2012-02-05 19:11:34.780767 > Traceback (most recent call last):
  419. 2012-02-05 19:11:34.780819 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  420. 2012-02-05 19:11:34.780863 >     handler(**payload2)
  421. 2012-02-05 19:11:34.780904 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  422. 2012-02-05 19:11:34.780946 >     self.factory.new_headers.happened([header['header'] for header in headers])
  423. 2012-02-05 19:11:34.780988 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  424. 2012-02-05 19:11:34.781029 >     func(*event)
  425. 2012-02-05 19:11:34.781069 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  426. 2012-02-05 19:11:34.781109 >     self.updated.happened()
  427. 2012-02-05 19:11:34.781149 > --- <exception caught here> ---
  428. 2012-02-05 19:11:34.781190 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  429. 2012-02-05 19:11:34.781231 >     func(*event)
  430. 2012-02-05 19:11:34.781271 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  431. 2012-02-05 19:11:34.781311 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  432. 2012-02-05 19:11:34.781351 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  433. 2012-02-05 19:11:34.781392 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  434. 2012-02-05 19:11:34.781436 > exceptions.ZeroDivisionError: long division or modulo by zero
  435. 2012-02-05 19:11:34.835537 > Traceback (most recent call last):
  436. 2012-02-05 19:11:34.835635 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 354, in _startRunCallbacks
  437. 2012-02-05 19:11:34.835680 >     self._runCallbacks()
  438. 2012-02-05 19:11:34.835722 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
  439. 2012-02-05 19:11:34.835764 >     self.result = callback(self.result, *args, **kw)
  440. 2012-02-05 19:11:34.835805 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 879, in gotResult
  441. 2012-02-05 19:11:34.835848 >     _inlineCallbacks(r, g, deferred)
  442. 2012-02-05 19:11:34.835889 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks
  443. 2012-02-05 19:11:34.835930 >     result = g.send(result)
  444. 2012-02-05 19:11:34.835970 > --- <exception caught here> ---
  445. 2012-02-05 19:11:34.836010 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 838, in status_thread
  446. 2012-02-05 19:11:34.836050 >     height = tracker.get_height(current_work.value['best_share_hash'])
  447. 2012-02-05 19:11:34.836091 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  448. 2012-02-05 19:11:34.874963 1 tails:
  449. 2012-02-05 19:11:34.875116 062495ba (8640, 0L)
  450. 2012-02-05 19:11:34.876265 5 heads. Top 10:
  451. 2012-02-05 19:11:34.876354     35cd6770 fd9126d4 (72833933540L, 0, 0)
  452. 2012-02-05 19:11:34.876438     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  453. 2012-02-05 19:11:34.876518     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  454. 2012-02-05 19:11:34.876597     5116e0fc df25e212 (75324435033L, 0, 0)
  455. 2012-02-05 19:11:34.876678     34ab6001 4a40ced8 (77078883757L, 0, 0)
  456. 2012-02-05 19:11:34.877949 > Traceback (most recent call last):
  457. 2012-02-05 19:11:34.878000 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  458. 2012-02-05 19:11:34.878044 >     handler(**payload2)
  459. 2012-02-05 19:11:34.878085 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  460. 2012-02-05 19:11:34.878127 >     self.factory.new_headers.happened([header['header'] for header in headers])
  461. 2012-02-05 19:11:34.878169 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  462. 2012-02-05 19:11:34.878210 >     func(*event)
  463. 2012-02-05 19:11:34.878261 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  464. 2012-02-05 19:11:34.878302 >     self.updated.happened()
  465. 2012-02-05 19:11:34.878342 > --- <exception caught here> ---
  466. 2012-02-05 19:11:34.878382 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  467. 2012-02-05 19:11:34.878424 >     func(*event)
  468. 2012-02-05 19:11:34.878463 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  469. 2012-02-05 19:11:34.878503 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  470. 2012-02-05 19:11:34.878543 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  471. 2012-02-05 19:11:34.878584 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  472. 2012-02-05 19:11:34.878626 > exceptions.ZeroDivisionError: long division or modulo by zero
  473. 2012-02-05 19:11:34.971989 1 tails:
  474. 2012-02-05 19:11:34.972143 062495ba (8640, 0L)
  475. 2012-02-05 19:11:34.973286 5 heads. Top 10:
  476. 2012-02-05 19:11:34.973375     35cd6770 fd9126d4 (72833933540L, 0, 0)
  477. 2012-02-05 19:11:34.973457     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  478. 2012-02-05 19:11:34.973537     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  479. 2012-02-05 19:11:34.973617     5116e0fc df25e212 (75324435033L, 0, 0)
  480. 2012-02-05 19:11:34.973697     34ab6001 4a40ced8 (77078883757L, 0, 0)
  481. 2012-02-05 19:11:34.974981 > Traceback (most recent call last):
  482. 2012-02-05 19:11:34.975033 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  483. 2012-02-05 19:11:34.975078 >     handler(**payload2)
  484. 2012-02-05 19:11:34.975119 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  485. 2012-02-05 19:11:34.975161 >     self.factory.new_headers.happened([header['header'] for header in headers])
  486. 2012-02-05 19:11:34.975203 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  487. 2012-02-05 19:11:34.975244 >     func(*event)
  488. 2012-02-05 19:11:34.975284 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  489. 2012-02-05 19:11:34.975324 >     self.updated.happened()
  490. 2012-02-05 19:11:34.975364 > --- <exception caught here> ---
  491. 2012-02-05 19:11:34.975405 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  492. 2012-02-05 19:11:34.975446 >     func(*event)
  493. 2012-02-05 19:11:34.975486 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  494. 2012-02-05 19:11:34.975526 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  495. 2012-02-05 19:11:34.975566 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  496. 2012-02-05 19:11:34.975607 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  497. 2012-02-05 19:11:34.975649 > exceptions.ZeroDivisionError: long division or modulo by zero
  498. 2012-02-05 19:11:35.068107 1 tails:
  499. 2012-02-05 19:11:35.068244 062495ba (8640, 0L)
  500. 2012-02-05 19:11:35.069406 5 heads. Top 10:
  501. 2012-02-05 19:11:35.069493     35cd6770 fd9126d4 (72833933540L, 0, 0)
  502. 2012-02-05 19:11:35.069577     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  503. 2012-02-05 19:11:35.069658     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  504. 2012-02-05 19:11:35.069738     5116e0fc df25e212 (75324435033L, 0, 0)
  505. 2012-02-05 19:11:35.069816     34ab6001 4a40ced8 (77078883757L, 0, 0)
  506. 2012-02-05 19:11:35.071084 > Traceback (most recent call last):
  507. 2012-02-05 19:11:35.071136 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  508. 2012-02-05 19:11:35.071180 >     handler(**payload2)
  509. 2012-02-05 19:11:35.071221 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  510. 2012-02-05 19:11:35.071263 >     self.factory.new_headers.happened([header['header'] for header in headers])
  511. 2012-02-05 19:11:35.071305 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  512. 2012-02-05 19:11:35.071346 >     func(*event)
  513. 2012-02-05 19:11:35.071386 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  514. 2012-02-05 19:11:35.071437 >     self.updated.happened()
  515. 2012-02-05 19:11:35.071478 > --- <exception caught here> ---
  516. 2012-02-05 19:11:35.071518 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  517. 2012-02-05 19:11:35.071559 >     func(*event)
  518. 2012-02-05 19:11:35.071600 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  519. 2012-02-05 19:11:35.071640 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  520. 2012-02-05 19:11:35.071681 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  521. 2012-02-05 19:11:35.071721 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  522. 2012-02-05 19:11:35.071764 > exceptions.ZeroDivisionError: long division or modulo by zero
  523. 2012-02-05 19:11:35.173399 1 tails:
  524. 2012-02-05 19:11:35.173547 062495ba (8640, 0L)
  525. 2012-02-05 19:11:35.174678 5 heads. Top 10:
  526. 2012-02-05 19:11:35.174765     35cd6770 fd9126d4 (72833933540L, 0, 0)
  527. 2012-02-05 19:11:35.174848     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  528. 2012-02-05 19:11:35.174928     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  529. 2012-02-05 19:11:35.175007     5116e0fc df25e212 (75324435033L, 0, 0)
  530. 2012-02-05 19:11:35.175087     34ab6001 4a40ced8 (77078883757L, 0, 0)
  531. 2012-02-05 19:11:35.176343 > Traceback (most recent call last):
  532. 2012-02-05 19:11:35.176393 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  533. 2012-02-05 19:11:35.176437 >     handler(**payload2)
  534. 2012-02-05 19:11:35.176478 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  535. 2012-02-05 19:11:35.176519 >     self.factory.new_headers.happened([header['header'] for header in headers])
  536. 2012-02-05 19:11:35.176559 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  537. 2012-02-05 19:11:35.176600 >     func(*event)
  538. 2012-02-05 19:11:35.176639 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  539. 2012-02-05 19:11:35.176680 >     self.updated.happened()
  540. 2012-02-05 19:11:35.176720 > --- <exception caught here> ---
  541. 2012-02-05 19:11:35.176760 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  542. 2012-02-05 19:11:35.176800 >     func(*event)
  543. 2012-02-05 19:11:35.176839 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  544. 2012-02-05 19:11:35.176879 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  545. 2012-02-05 19:11:35.176919 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  546. 2012-02-05 19:11:35.176960 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  547. 2012-02-05 19:11:35.177001 > exceptions.ZeroDivisionError: long division or modulo by zero
  548. 2012-02-05 19:11:35.178046 > Traceback (most recent call last):
  549. 2012-02-05 19:11:35.178097 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  550. 2012-02-05 19:11:35.178161 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  551. 2012-02-05 19:11:35.178202 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  552. 2012-02-05 19:11:35.178244 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  553. 2012-02-05 19:11:35.178285 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  554. 2012-02-05 19:11:35.178326 >     return func(*args,**kw)
  555. 2012-02-05 19:11:35.178365 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  556. 2012-02-05 19:11:35.178407 >     why = getattr(selectable, method)()
  557. 2012-02-05 19:11:35.178446 > --- <exception caught here> ---
  558. 2012-02-05 19:11:35.178486 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 938, in doRead
  559. 2012-02-05 19:11:35.178527 >     protocol.makeConnection(transport)
  560. 2012-02-05 19:11:35.178566 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  561. 2012-02-05 19:11:35.178616 >     self.connectionMade()
  562. 2012-02-05 19:11:35.178656 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  563. 2012-02-05 19:11:35.178696 >     best_share_hash=self.node.best_share_hash_func(),
  564. 2012-02-05 19:11:35.178736 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  565. 2012-02-05 19:11:35.178776 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  566. 2012-02-05 19:11:35.178816 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  567. 2012-02-05 19:11:35.179510 Incoming connection to peer 172.16.0.3:32876 established. p2pool version: 2 'c5f086c'
  568. 2012-02-05 19:11:35.227202 Lost peer 172.16.0.3:62084
  569. 2012-02-05 19:11:35.273168 1 tails:
  570. 2012-02-05 19:11:35.273301 062495ba (8640, 0L)
  571. 2012-02-05 19:11:35.274459 5 heads. Top 10:
  572. 2012-02-05 19:11:35.274547     35cd6770 fd9126d4 (72833933540L, 0, 0)
  573. 2012-02-05 19:11:35.274630     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  574. 2012-02-05 19:11:35.274712     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  575. 2012-02-05 19:11:35.274792     5116e0fc df25e212 (75324435033L, 0, 0)
  576. 2012-02-05 19:11:35.274872     34ab6001 4a40ced8 (77078883757L, 0, 0)
  577. 2012-02-05 19:11:35.276122 > Traceback (most recent call last):
  578. 2012-02-05 19:11:35.276173 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  579. 2012-02-05 19:11:35.276218 >     handler(**payload2)
  580. 2012-02-05 19:11:35.276260 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  581. 2012-02-05 19:11:35.276301 >     self.factory.new_headers.happened([header['header'] for header in headers])
  582. 2012-02-05 19:11:35.276343 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  583. 2012-02-05 19:11:35.276385 >     func(*event)
  584. 2012-02-05 19:11:35.276424 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  585. 2012-02-05 19:11:35.276465 >     self.updated.happened()
  586. 2012-02-05 19:11:35.276505 > --- <exception caught here> ---
  587. 2012-02-05 19:11:35.276545 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  588. 2012-02-05 19:11:35.276587 >     func(*event)
  589. 2012-02-05 19:11:35.276627 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  590. 2012-02-05 19:11:35.276667 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  591. 2012-02-05 19:11:35.276708 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  592. 2012-02-05 19:11:35.276749 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  593. 2012-02-05 19:11:35.276792 > exceptions.ZeroDivisionError: long division or modulo by zero
  594. 2012-02-05 19:11:35.429493 1 tails:
  595. 2012-02-05 19:11:35.429632 062495ba (8640, 0L)
  596. 2012-02-05 19:11:35.430767 5 heads. Top 10:
  597. 2012-02-05 19:11:35.430856     35cd6770 fd9126d4 (72833933540L, 0, 0)
  598. 2012-02-05 19:11:35.430939     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  599. 2012-02-05 19:11:35.431041     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  600. 2012-02-05 19:11:35.431123     5116e0fc df25e212 (75324435033L, 0, 0)
  601. 2012-02-05 19:11:35.431202     34ab6001 4a40ced8 (77078883757L, 0, 0)
  602. 2012-02-05 19:11:35.432482 > Traceback (most recent call last):
  603. 2012-02-05 19:11:35.432535 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  604. 2012-02-05 19:11:35.432579 >     handler(**payload2)
  605. 2012-02-05 19:11:35.432620 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  606. 2012-02-05 19:11:35.432661 >     self.factory.new_headers.happened([header['header'] for header in headers])
  607. 2012-02-05 19:11:35.432703 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  608. 2012-02-05 19:11:35.432745 >     func(*event)
  609. 2012-02-05 19:11:35.432785 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  610. 2012-02-05 19:11:35.432826 >     self.updated.happened()
  611. 2012-02-05 19:11:35.432876 > --- <exception caught here> ---
  612. 2012-02-05 19:11:35.432917 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  613. 2012-02-05 19:11:35.432958 >     func(*event)
  614. 2012-02-05 19:11:35.432998 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  615. 2012-02-05 19:11:35.433039 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  616. 2012-02-05 19:11:35.433079 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  617. 2012-02-05 19:11:35.433120 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  618. 2012-02-05 19:11:35.433162 > exceptions.ZeroDivisionError: long division or modulo by zero
  619. 2012-02-05 19:11:35.433950 Lost peer 172.16.0.3:32876
  620. 2012-02-05 19:11:35.530402 1 tails:
  621. 2012-02-05 19:11:35.530536 062495ba (8640, 0L)
  622. 2012-02-05 19:11:35.531672 5 heads. Top 10:
  623. 2012-02-05 19:11:35.531760     35cd6770 fd9126d4 (72833933540L, 0, 0)
  624. 2012-02-05 19:11:35.531841     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  625. 2012-02-05 19:11:35.531920     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  626. 2012-02-05 19:11:35.531999     5116e0fc df25e212 (75324435033L, 0, 0)
  627. 2012-02-05 19:11:35.532087     34ab6001 4a40ced8 (77078883757L, 0, 0)
  628. 2012-02-05 19:11:35.533346 > Traceback (most recent call last):
  629. 2012-02-05 19:11:35.533396 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  630. 2012-02-05 19:11:35.533439 >     handler(**payload2)
  631. 2012-02-05 19:11:35.533481 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  632. 2012-02-05 19:11:35.533521 >     self.factory.new_headers.happened([header['header'] for header in headers])
  633. 2012-02-05 19:11:35.533562 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  634. 2012-02-05 19:11:35.533603 >     func(*event)
  635. 2012-02-05 19:11:35.533642 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  636. 2012-02-05 19:11:35.533682 >     self.updated.happened()
  637. 2012-02-05 19:11:35.533722 > --- <exception caught here> ---
  638. 2012-02-05 19:11:35.533762 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  639. 2012-02-05 19:11:35.533802 >     func(*event)
  640. 2012-02-05 19:11:35.533841 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  641. 2012-02-05 19:11:35.533881 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  642. 2012-02-05 19:11:35.533921 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  643. 2012-02-05 19:11:35.534041 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  644. 2012-02-05 19:11:35.534086 > exceptions.ZeroDivisionError: long division or modulo by zero
  645. 2012-02-05 19:11:35.626603 1 tails:
  646. 2012-02-05 19:11:35.626740 062495ba (8640, 0L)
  647. 2012-02-05 19:11:35.627865 5 heads. Top 10:
  648. 2012-02-05 19:11:35.627953     35cd6770 fd9126d4 (72833933540L, 0, 0)
  649. 2012-02-05 19:11:35.628036     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  650. 2012-02-05 19:11:35.628135     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  651. 2012-02-05 19:11:35.628217     5116e0fc df25e212 (75324435033L, 0, 0)
  652. 2012-02-05 19:11:35.628297     34ab6001 4a40ced8 (77078883757L, 0, 0)
  653. 2012-02-05 19:11:35.629553 > Traceback (most recent call last):
  654. 2012-02-05 19:11:35.629604 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  655. 2012-02-05 19:11:35.629649 >     handler(**payload2)
  656. 2012-02-05 19:11:35.629691 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  657. 2012-02-05 19:11:35.629732 >     self.factory.new_headers.happened([header['header'] for header in headers])
  658. 2012-02-05 19:11:35.629772 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  659. 2012-02-05 19:11:35.629813 >     func(*event)
  660. 2012-02-05 19:11:35.629853 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  661. 2012-02-05 19:11:35.629894 >     self.updated.happened()
  662. 2012-02-05 19:11:35.629943 > --- <exception caught here> ---
  663. 2012-02-05 19:11:35.629983 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  664. 2012-02-05 19:11:35.630024 >     func(*event)
  665. 2012-02-05 19:11:35.630063 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  666. 2012-02-05 19:11:35.630104 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  667. 2012-02-05 19:11:35.630145 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  668. 2012-02-05 19:11:35.630186 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  669. 2012-02-05 19:11:35.630227 > exceptions.ZeroDivisionError: long division or modulo by zero
  670. 2012-02-05 19:11:35.723112 1 tails:
  671. 2012-02-05 19:11:35.723250 062495ba (8640, 0L)
  672. 2012-02-05 19:11:35.724402 5 heads. Top 10:
  673. 2012-02-05 19:11:35.724491     35cd6770 fd9126d4 (72833933540L, 0, 0)
  674. 2012-02-05 19:11:35.724574     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  675. 2012-02-05 19:11:35.724653     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  676. 2012-02-05 19:11:35.724733     5116e0fc df25e212 (75324435033L, 0, 0)
  677. 2012-02-05 19:11:35.724812     34ab6001 4a40ced8 (77078883757L, 0, 0)
  678. 2012-02-05 19:11:35.726080 > Traceback (most recent call last):
  679. 2012-02-05 19:11:35.726132 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  680. 2012-02-05 19:11:35.726177 >     handler(**payload2)
  681. 2012-02-05 19:11:35.726219 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  682. 2012-02-05 19:11:35.726261 >     self.factory.new_headers.happened([header['header'] for header in headers])
  683. 2012-02-05 19:11:35.726302 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  684. 2012-02-05 19:11:35.726343 >     func(*event)
  685. 2012-02-05 19:11:35.726383 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  686. 2012-02-05 19:11:35.726424 >     self.updated.happened()
  687. 2012-02-05 19:11:35.726465 > --- <exception caught here> ---
  688. 2012-02-05 19:11:35.726505 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  689. 2012-02-05 19:11:35.726545 >     func(*event)
  690. 2012-02-05 19:11:35.726585 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  691. 2012-02-05 19:11:35.726626 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  692. 2012-02-05 19:11:35.726667 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  693. 2012-02-05 19:11:35.726709 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  694. 2012-02-05 19:11:35.726751 > exceptions.ZeroDivisionError: long division or modulo by zero
  695. 2012-02-05 19:11:35.757522 > Traceback (most recent call last):
  696. 2012-02-05 19:11:35.757610 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  697. 2012-02-05 19:11:35.757655 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  698. 2012-02-05 19:11:35.757717 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  699. 2012-02-05 19:11:35.757761 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  700. 2012-02-05 19:11:35.757802 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  701. 2012-02-05 19:11:35.757843 >     return func(*args,**kw)
  702. 2012-02-05 19:11:35.757883 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  703. 2012-02-05 19:11:35.757925 >     why = getattr(selectable, method)()
  704. 2012-02-05 19:11:35.757966 > --- <exception caught here> ---
  705. 2012-02-05 19:11:35.758007 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 938, in doRead
  706. 2012-02-05 19:11:35.758049 >     protocol.makeConnection(transport)
  707. 2012-02-05 19:11:35.758089 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  708. 2012-02-05 19:11:35.758130 >     self.connectionMade()
  709. 2012-02-05 19:11:35.758178 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  710. 2012-02-05 19:11:35.758219 >     best_share_hash=self.node.best_share_hash_func(),
  711. 2012-02-05 19:11:35.758260 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  712. 2012-02-05 19:11:35.758302 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  713. 2012-02-05 19:11:35.758342 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  714. 2012-02-05 19:11:35.760565 Incoming connection to peer 172.16.0.3:54334 established. p2pool version: 2 '633dd68'
  715. 2012-02-05 19:11:35.819441 1 tails:
  716. 2012-02-05 19:11:35.819584 062495ba (8640, 0L)
  717. 2012-02-05 19:11:35.820749 5 heads. Top 10:
  718. 2012-02-05 19:11:35.820839     35cd6770 fd9126d4 (72833933540L, 0, 0)
  719. 2012-02-05 19:11:35.820921     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  720. 2012-02-05 19:11:35.821001     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  721. 2012-02-05 19:11:35.821080     5116e0fc df25e212 (75324435033L, 0, 0)
  722. 2012-02-05 19:11:35.821159     34ab6001 4a40ced8 (77078883757L, 0, 0)
  723. 2012-02-05 19:11:35.822421 > Traceback (most recent call last):
  724. 2012-02-05 19:11:35.822472 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  725. 2012-02-05 19:11:35.822516 >     handler(**payload2)
  726. 2012-02-05 19:11:35.822558 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  727. 2012-02-05 19:11:35.822599 >     self.factory.new_headers.happened([header['header'] for header in headers])
  728. 2012-02-05 19:11:35.822640 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  729. 2012-02-05 19:11:35.822681 >     func(*event)
  730. 2012-02-05 19:11:35.822721 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  731. 2012-02-05 19:11:35.822761 >     self.updated.happened()
  732. 2012-02-05 19:11:35.822801 > --- <exception caught here> ---
  733. 2012-02-05 19:11:35.822841 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  734. 2012-02-05 19:11:35.822881 >     func(*event)
  735. 2012-02-05 19:11:35.822920 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  736. 2012-02-05 19:11:35.822960 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  737. 2012-02-05 19:11:35.823001 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  738. 2012-02-05 19:11:35.823041 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  739. 2012-02-05 19:11:35.823083 > exceptions.ZeroDivisionError: long division or modulo by zero
  740. 2012-02-05 19:11:35.922715 1 tails:
  741. 2012-02-05 19:11:35.922855 062495ba (8640, 0L)
  742. 2012-02-05 19:11:35.924509 5 heads. Top 10:
  743. 2012-02-05 19:11:35.924598     35cd6770 fd9126d4 (72833933540L, 0, 0)
  744. 2012-02-05 19:11:35.924681     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  745. 2012-02-05 19:11:35.924761     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  746. 2012-02-05 19:11:35.924841     5116e0fc df25e212 (75324435033L, 0, 0)
  747. 2012-02-05 19:11:35.924920     34ab6001 4a40ced8 (77078883757L, 0, 0)
  748. 2012-02-05 19:11:35.926221 > Traceback (most recent call last):
  749. 2012-02-05 19:11:35.926273 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  750. 2012-02-05 19:11:35.926317 >     handler(**payload2)
  751. 2012-02-05 19:11:35.926359 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  752. 2012-02-05 19:11:35.926400 >     self.factory.new_headers.happened([header['header'] for header in headers])
  753. 2012-02-05 19:11:35.926441 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  754. 2012-02-05 19:11:35.926482 >     func(*event)
  755. 2012-02-05 19:11:35.926522 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  756. 2012-02-05 19:11:35.926563 >     self.updated.happened()
  757. 2012-02-05 19:11:35.926603 > --- <exception caught here> ---
  758. 2012-02-05 19:11:35.926642 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  759. 2012-02-05 19:11:35.926683 >     func(*event)
  760. 2012-02-05 19:11:35.926732 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  761. 2012-02-05 19:11:35.926774 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  762. 2012-02-05 19:11:35.926814 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  763. 2012-02-05 19:11:35.926855 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  764. 2012-02-05 19:11:35.926897 > exceptions.ZeroDivisionError: long division or modulo by zero
  765. 2012-02-05 19:11:36.029417 1 tails:
  766. 2012-02-05 19:11:36.029563 062495ba (8640, 0L)
  767. 2012-02-05 19:11:36.030706 5 heads. Top 10:
  768. 2012-02-05 19:11:36.030794     35cd6770 fd9126d4 (72833933540L, 0, 0)
  769. 2012-02-05 19:11:36.030877     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  770. 2012-02-05 19:11:36.030957     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  771. 2012-02-05 19:11:36.031037     5116e0fc df25e212 (75324435033L, 0, 0)
  772. 2012-02-05 19:11:36.031116     34ab6001 4a40ced8 (77078883757L, 0, 0)
  773. 2012-02-05 19:11:36.032423 > Traceback (most recent call last):
  774. 2012-02-05 19:11:36.032474 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  775. 2012-02-05 19:11:36.032517 >     handler(**payload2)
  776. 2012-02-05 19:11:36.032557 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  777. 2012-02-05 19:11:36.032598 >     self.factory.new_headers.happened([header['header'] for header in headers])
  778. 2012-02-05 19:11:36.032638 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  779. 2012-02-05 19:11:36.032678 >     func(*event)
  780. 2012-02-05 19:11:36.032717 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  781. 2012-02-05 19:11:36.032757 >     self.updated.happened()
  782. 2012-02-05 19:11:36.032797 > --- <exception caught here> ---
  783. 2012-02-05 19:11:36.032837 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  784. 2012-02-05 19:11:36.032877 >     func(*event)
  785. 2012-02-05 19:11:36.032916 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  786. 2012-02-05 19:11:36.032956 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  787. 2012-02-05 19:11:36.032997 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  788. 2012-02-05 19:11:36.033037 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  789. 2012-02-05 19:11:36.033079 > exceptions.ZeroDivisionError: long division or modulo by zero
  790. 2012-02-05 19:11:36.048018 Lost peer 172.16.0.3:54334
  791. 2012-02-05 19:11:36.125655 1 tails:
  792. 2012-02-05 19:11:36.125796 062495ba (8640, 0L)
  793. 2012-02-05 19:11:36.126933 5 heads. Top 10:
  794. 2012-02-05 19:11:36.127022     35cd6770 fd9126d4 (72833933540L, 0, 0)
  795. 2012-02-05 19:11:36.127104     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  796. 2012-02-05 19:11:36.127185     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  797. 2012-02-05 19:11:36.127265     5116e0fc df25e212 (75324435033L, 0, 0)
  798. 2012-02-05 19:11:36.127344     34ab6001 4a40ced8 (77078883757L, 0, 0)
  799. 2012-02-05 19:11:36.128637 > Traceback (most recent call last):
  800. 2012-02-05 19:11:36.128689 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  801. 2012-02-05 19:11:36.128733 >     handler(**payload2)
  802. 2012-02-05 19:11:36.128774 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  803. 2012-02-05 19:11:36.128816 >     self.factory.new_headers.happened([header['header'] for header in headers])
  804. 2012-02-05 19:11:36.128857 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  805. 2012-02-05 19:11:36.128898 >     func(*event)
  806. 2012-02-05 19:11:36.128938 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  807. 2012-02-05 19:11:36.128979 >     self.updated.happened()
  808. 2012-02-05 19:11:36.129019 > --- <exception caught here> ---
  809. 2012-02-05 19:11:36.129059 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  810. 2012-02-05 19:11:36.129101 >     func(*event)
  811. 2012-02-05 19:11:36.129155 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  812. 2012-02-05 19:11:36.129197 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  813. 2012-02-05 19:11:36.129238 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  814. 2012-02-05 19:11:36.129279 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  815. 2012-02-05 19:11:36.129322 > exceptions.ZeroDivisionError: long division or modulo by zero
  816. 2012-02-05 19:11:36.222061 1 tails:
  817. 2012-02-05 19:11:36.222197 062495ba (8640, 0L)
  818. 2012-02-05 19:11:36.223332 5 heads. Top 10:
  819. 2012-02-05 19:11:36.223421     35cd6770 fd9126d4 (72833933540L, 0, 0)
  820. 2012-02-05 19:11:36.223506     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  821. 2012-02-05 19:11:36.223587     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  822. 2012-02-05 19:11:36.223667     5116e0fc df25e212 (75324435033L, 0, 0)
  823. 2012-02-05 19:11:36.223747     34ab6001 4a40ced8 (77078883757L, 0, 0)
  824. 2012-02-05 19:11:36.225036 > Traceback (most recent call last):
  825. 2012-02-05 19:11:36.225087 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  826. 2012-02-05 19:11:36.225130 >     handler(**payload2)
  827. 2012-02-05 19:11:36.225172 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  828. 2012-02-05 19:11:36.225214 >     self.factory.new_headers.happened([header['header'] for header in headers])
  829. 2012-02-05 19:11:36.225256 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  830. 2012-02-05 19:11:36.225297 >     func(*event)
  831. 2012-02-05 19:11:36.225337 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  832. 2012-02-05 19:11:36.225378 >     self.updated.happened()
  833. 2012-02-05 19:11:36.225419 > --- <exception caught here> ---
  834. 2012-02-05 19:11:36.225460 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  835. 2012-02-05 19:11:36.225501 >     func(*event)
  836. 2012-02-05 19:11:36.225542 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  837. 2012-02-05 19:11:36.225582 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  838. 2012-02-05 19:11:36.225623 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  839. 2012-02-05 19:11:36.225663 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  840. 2012-02-05 19:11:36.225706 > exceptions.ZeroDivisionError: long division or modulo by zero
  841. 2012-02-05 19:11:36.233732 > Traceback (most recent call last):
  842. 2012-02-05 19:11:36.233808 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger
  843. 2012-02-05 19:11:36.233854 >     return callWithContext({"system": lp}, func, *args, **kw)
  844. 2012-02-05 19:11:36.233897 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  845. 2012-02-05 19:11:36.233939 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  846. 2012-02-05 19:11:36.233996 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  847. 2012-02-05 19:11:36.234039 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  848. 2012-02-05 19:11:36.234081 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  849. 2012-02-05 19:11:36.234123 >     return func(*args,**kw)
  850. 2012-02-05 19:11:36.234164 > --- <exception caught here> ---
  851. 2012-02-05 19:11:36.234204 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  852. 2012-02-05 19:11:36.234246 >     why = getattr(selectable, method)()
  853. 2012-02-05 19:11:36.234287 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 664, in doConnect
  854. 2012-02-05 19:11:36.234330 >     self._connectDone()
  855. 2012-02-05 19:11:36.234371 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 671, in _connectDone
  856. 2012-02-05 19:11:36.234414 >     self.protocol.makeConnection(self)
  857. 2012-02-05 19:11:36.234465 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  858. 2012-02-05 19:11:36.234507 >     self.connectionMade()
  859. 2012-02-05 19:11:36.234548 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  860. 2012-02-05 19:11:36.234589 >     best_share_hash=self.node.best_share_hash_func(),
  861. 2012-02-05 19:11:36.234631 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  862. 2012-02-05 19:11:36.234672 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  863. 2012-02-05 19:11:36.234713 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  864. 2012-02-05 19:11:36.235376 > Traceback (most recent call last):
  865. 2012-02-05 19:11:36.235425 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  866. 2012-02-05 19:11:36.235471 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  867. 2012-02-05 19:11:36.235512 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  868. 2012-02-05 19:11:36.235554 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  869. 2012-02-05 19:11:36.235595 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  870. 2012-02-05 19:11:36.235636 >     return func(*args,**kw)
  871. 2012-02-05 19:11:36.235676 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  872. 2012-02-05 19:11:36.235716 >     why = getattr(selectable, method)()
  873. 2012-02-05 19:11:36.235757 > --- <exception caught here> ---
  874. 2012-02-05 19:11:36.235797 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 938, in doRead
  875. 2012-02-05 19:11:36.235838 >     protocol.makeConnection(transport)
  876. 2012-02-05 19:11:36.235878 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  877. 2012-02-05 19:11:36.235919 >     self.connectionMade()
  878. 2012-02-05 19:11:36.235958 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  879. 2012-02-05 19:11:36.235998 >     best_share_hash=self.node.best_share_hash_func(),
  880. 2012-02-05 19:11:36.236038 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  881. 2012-02-05 19:11:36.236079 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  882. 2012-02-05 19:11:36.236119 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  883. 2012-02-05 19:11:36.324473 1 tails:
  884. 2012-02-05 19:11:36.324612 062495ba (8640, 0L)
  885. 2012-02-05 19:11:36.325765 5 heads. Top 10:
  886. 2012-02-05 19:11:36.325854     35cd6770 fd9126d4 (72833933540L, 0, 0)
  887. 2012-02-05 19:11:36.325936     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  888. 2012-02-05 19:11:36.326016     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  889. 2012-02-05 19:11:36.326096     5116e0fc df25e212 (75324435033L, 0, 0)
  890. 2012-02-05 19:11:36.326175     34ab6001 4a40ced8 (77078883757L, 0, 0)
  891. 2012-02-05 19:11:36.327444 > Traceback (most recent call last):
  892. 2012-02-05 19:11:36.327495 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  893. 2012-02-05 19:11:36.327555 >     handler(**payload2)
  894. 2012-02-05 19:11:36.327597 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  895. 2012-02-05 19:11:36.327638 >     self.factory.new_headers.happened([header['header'] for header in headers])
  896. 2012-02-05 19:11:36.327680 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  897. 2012-02-05 19:11:36.327721 >     func(*event)
  898. 2012-02-05 19:11:36.327761 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  899. 2012-02-05 19:11:36.327801 >     self.updated.happened()
  900. 2012-02-05 19:11:36.327841 > --- <exception caught here> ---
  901. 2012-02-05 19:11:36.327880 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  902. 2012-02-05 19:11:36.327921 >     func(*event)
  903. 2012-02-05 19:11:36.327961 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  904. 2012-02-05 19:11:36.328001 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  905. 2012-02-05 19:11:36.328052 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  906. 2012-02-05 19:11:36.328093 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  907. 2012-02-05 19:11:36.328617 > exceptions.ZeroDivisionError: long division or modulo by zero
  908. 2012-02-05 19:11:36.428582 1 tails:
  909. 2012-02-05 19:11:36.428727 062495ba (8640, 0L)
  910. 2012-02-05 19:11:36.429869 5 heads. Top 10:
  911. 2012-02-05 19:11:36.429957     35cd6770 fd9126d4 (72833933540L, 0, 0)
  912. 2012-02-05 19:11:36.430040     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  913. 2012-02-05 19:11:36.430121     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  914. 2012-02-05 19:11:36.430202     5116e0fc df25e212 (75324435033L, 0, 0)
  915. 2012-02-05 19:11:36.430281     34ab6001 4a40ced8 (77078883757L, 0, 0)
  916. 2012-02-05 19:11:36.431558 > Traceback (most recent call last):
  917. 2012-02-05 19:11:36.431610 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  918. 2012-02-05 19:11:36.431654 >     handler(**payload2)
  919. 2012-02-05 19:11:36.431696 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  920. 2012-02-05 19:11:36.431737 >     self.factory.new_headers.happened([header['header'] for header in headers])
  921. 2012-02-05 19:11:36.431778 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  922. 2012-02-05 19:11:36.431819 >     func(*event)
  923. 2012-02-05 19:11:36.431859 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  924. 2012-02-05 19:11:36.431901 >     self.updated.happened()
  925. 2012-02-05 19:11:36.431941 > --- <exception caught here> ---
  926. 2012-02-05 19:11:36.431981 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  927. 2012-02-05 19:11:36.432083 >     func(*event)
  928. 2012-02-05 19:11:36.432126 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  929. 2012-02-05 19:11:36.432167 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  930. 2012-02-05 19:11:36.432208 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  931. 2012-02-05 19:11:36.432249 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  932. 2012-02-05 19:11:36.432291 > exceptions.ZeroDivisionError: long division or modulo by zero
  933. 2012-02-05 19:11:36.532091 1 tails:
  934. 2012-02-05 19:11:36.532229 062495ba (8640, 0L)
  935. 2012-02-05 19:11:36.533380 5 heads. Top 10:
  936. 2012-02-05 19:11:36.533467     35cd6770 fd9126d4 (72833933540L, 0, 0)
  937. 2012-02-05 19:11:36.533550     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  938. 2012-02-05 19:11:36.533631     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  939. 2012-02-05 19:11:36.533710     5116e0fc df25e212 (75324435033L, 0, 0)
  940. 2012-02-05 19:11:36.533790     34ab6001 4a40ced8 (77078883757L, 0, 0)
  941. 2012-02-05 19:11:36.535052 > Traceback (most recent call last):
  942. 2012-02-05 19:11:36.535103 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  943. 2012-02-05 19:11:36.535165 >     handler(**payload2)
  944. 2012-02-05 19:11:36.535207 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  945. 2012-02-05 19:11:36.535249 >     self.factory.new_headers.happened([header['header'] for header in headers])
  946. 2012-02-05 19:11:36.535290 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  947. 2012-02-05 19:11:36.535331 >     func(*event)
  948. 2012-02-05 19:11:36.535371 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  949. 2012-02-05 19:11:36.535412 >     self.updated.happened()
  950. 2012-02-05 19:11:36.535453 > --- <exception caught here> ---
  951. 2012-02-05 19:11:36.535493 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  952. 2012-02-05 19:11:36.535533 >     func(*event)
  953. 2012-02-05 19:11:36.535572 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  954. 2012-02-05 19:11:36.535612 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  955. 2012-02-05 19:11:36.535664 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  956. 2012-02-05 19:11:36.535706 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  957. 2012-02-05 19:11:36.535748 > exceptions.ZeroDivisionError: long division or modulo by zero
  958. 2012-02-05 19:11:36.628695 1 tails:
  959. 2012-02-05 19:11:36.628828 062495ba (8640, 0L)
  960. 2012-02-05 19:11:36.629959 5 heads. Top 10:
  961. 2012-02-05 19:11:36.630047     35cd6770 fd9126d4 (72833933540L, 0, 0)
  962. 2012-02-05 19:11:36.630130     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  963. 2012-02-05 19:11:36.630210     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  964. 2012-02-05 19:11:36.630289     5116e0fc df25e212 (75324435033L, 0, 0)
  965. 2012-02-05 19:11:36.630368     34ab6001 4a40ced8 (77078883757L, 0, 0)
  966. 2012-02-05 19:11:36.631658 > Traceback (most recent call last):
  967. 2012-02-05 19:11:36.631709 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  968. 2012-02-05 19:11:36.631753 >     handler(**payload2)
  969. 2012-02-05 19:11:36.631794 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  970. 2012-02-05 19:11:36.631835 >     self.factory.new_headers.happened([header['header'] for header in headers])
  971. 2012-02-05 19:11:36.631876 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  972. 2012-02-05 19:11:36.631917 >     func(*event)
  973. 2012-02-05 19:11:36.631957 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  974. 2012-02-05 19:11:36.631997 >     self.updated.happened()
  975. 2012-02-05 19:11:36.632045 > --- <exception caught here> ---
  976. 2012-02-05 19:11:36.632085 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  977. 2012-02-05 19:11:36.632125 >     func(*event)
  978. 2012-02-05 19:11:36.632165 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  979. 2012-02-05 19:11:36.632205 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  980. 2012-02-05 19:11:36.632246 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  981. 2012-02-05 19:11:36.632286 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  982. 2012-02-05 19:11:36.632328 > exceptions.ZeroDivisionError: long division or modulo by zero
  983. 2012-02-05 19:11:36.731114 1 tails:
  984. 2012-02-05 19:11:36.731245 062495ba (8640, 0L)
  985. 2012-02-05 19:11:36.732401 5 heads. Top 10:
  986. 2012-02-05 19:11:36.732489     35cd6770 fd9126d4 (72833933540L, 0, 0)
  987. 2012-02-05 19:11:36.732571     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  988. 2012-02-05 19:11:36.732650     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  989. 2012-02-05 19:11:36.732730     5116e0fc df25e212 (75324435033L, 0, 0)
  990. 2012-02-05 19:11:36.732810     34ab6001 4a40ced8 (77078883757L, 0, 0)
  991. 2012-02-05 19:11:36.734586 > Traceback (most recent call last):
  992. 2012-02-05 19:11:36.734638 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  993. 2012-02-05 19:11:36.734682 >     handler(**payload2)
  994. 2012-02-05 19:11:36.734740 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  995. 2012-02-05 19:11:36.734782 >     self.factory.new_headers.happened([header['header'] for header in headers])
  996. 2012-02-05 19:11:36.734823 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  997. 2012-02-05 19:11:36.734863 >     func(*event)
  998. 2012-02-05 19:11:36.734902 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  999. 2012-02-05 19:11:36.734943 >     self.updated.happened()
  1000. 2012-02-05 19:11:36.734982 > --- <exception caught here> ---
  1001. 2012-02-05 19:11:36.735022 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1002. 2012-02-05 19:11:36.735062 >     func(*event)
  1003. 2012-02-05 19:11:36.735101 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1004. 2012-02-05 19:11:36.735141 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1005. 2012-02-05 19:11:36.735181 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1006. 2012-02-05 19:11:36.735232 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1007. 2012-02-05 19:11:36.735274 > exceptions.ZeroDivisionError: long division or modulo by zero
  1008. 2012-02-05 19:11:36.828295 1 tails:
  1009. 2012-02-05 19:11:36.828435 062495ba (8640, 0L)
  1010. 2012-02-05 19:11:36.829603 5 heads. Top 10:
  1011. 2012-02-05 19:11:36.829697     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1012. 2012-02-05 19:11:36.829782     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1013. 2012-02-05 19:11:36.829863     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1014. 2012-02-05 19:11:36.829944     5116e0fc df25e212 (75324435033L, 0, 0)
  1015. 2012-02-05 19:11:36.830023     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1016. 2012-02-05 19:11:36.831280 > Traceback (most recent call last):
  1017. 2012-02-05 19:11:36.831330 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1018. 2012-02-05 19:11:36.831374 >     handler(**payload2)
  1019. 2012-02-05 19:11:36.831414 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1020. 2012-02-05 19:11:36.831455 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1021. 2012-02-05 19:11:36.831496 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1022. 2012-02-05 19:11:36.831537 >     func(*event)
  1023. 2012-02-05 19:11:36.831576 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1024. 2012-02-05 19:11:36.831617 >     self.updated.happened()
  1025. 2012-02-05 19:11:36.831657 > --- <exception caught here> ---
  1026. 2012-02-05 19:11:36.831696 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1027. 2012-02-05 19:11:36.831736 >     func(*event)
  1028. 2012-02-05 19:11:36.831775 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1029. 2012-02-05 19:11:36.831815 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1030. 2012-02-05 19:11:36.831855 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1031. 2012-02-05 19:11:36.831895 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1032. 2012-02-05 19:11:36.831937 > exceptions.ZeroDivisionError: long division or modulo by zero
  1033. 2012-02-05 19:11:36.832985 > Traceback (most recent call last):
  1034. 2012-02-05 19:11:36.833035 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  1035. 2012-02-05 19:11:36.833079 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  1036. 2012-02-05 19:11:36.833120 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  1037. 2012-02-05 19:11:36.833161 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  1038. 2012-02-05 19:11:36.833201 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  1039. 2012-02-05 19:11:36.833241 >     return func(*args,**kw)
  1040. 2012-02-05 19:11:36.833281 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  1041. 2012-02-05 19:11:36.833339 >     why = getattr(selectable, method)()
  1042. 2012-02-05 19:11:36.833379 > --- <exception caught here> ---
  1043. 2012-02-05 19:11:36.833419 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 938, in doRead
  1044. 2012-02-05 19:11:36.833459 >     protocol.makeConnection(transport)
  1045. 2012-02-05 19:11:36.833498 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  1046. 2012-02-05 19:11:36.833539 >     self.connectionMade()
  1047. 2012-02-05 19:11:36.833579 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  1048. 2012-02-05 19:11:36.833618 >     best_share_hash=self.node.best_share_hash_func(),
  1049. 2012-02-05 19:11:36.833658 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  1050. 2012-02-05 19:11:36.833698 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  1051. 2012-02-05 19:11:36.833737 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  1052. 2012-02-05 19:11:36.842597 Incoming connection to peer 172.16.0.3:56442 established. p2pool version: 2 '0f4f19b'
  1053. 2012-02-05 19:11:36.936758 1 tails:
  1054. 2012-02-05 19:11:36.936930 062495ba (8640, 0L)
  1055. 2012-02-05 19:11:36.938133 5 heads. Top 10:
  1056. 2012-02-05 19:11:36.938227     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1057. 2012-02-05 19:11:36.938312     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1058. 2012-02-05 19:11:36.938394     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1059. 2012-02-05 19:11:36.938477     5116e0fc df25e212 (75324435033L, 0, 0)
  1060. 2012-02-05 19:11:36.938559     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1061. 2012-02-05 19:11:36.939890 > Traceback (most recent call last):
  1062. 2012-02-05 19:11:36.939965 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1063. 2012-02-05 19:11:36.940018 >     handler(**payload2)
  1064. 2012-02-05 19:11:36.940062 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1065. 2012-02-05 19:11:36.940105 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1066. 2012-02-05 19:11:36.940149 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1067. 2012-02-05 19:11:36.940192 >     func(*event)
  1068. 2012-02-05 19:11:36.940234 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1069. 2012-02-05 19:11:36.940277 >     self.updated.happened()
  1070. 2012-02-05 19:11:36.940319 > --- <exception caught here> ---
  1071. 2012-02-05 19:11:36.940360 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1072. 2012-02-05 19:11:36.940403 >     func(*event)
  1073. 2012-02-05 19:11:36.940445 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1074. 2012-02-05 19:11:36.940492 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1075. 2012-02-05 19:11:36.940534 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1076. 2012-02-05 19:11:36.940576 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1077. 2012-02-05 19:11:36.940621 > exceptions.ZeroDivisionError: long division or modulo by zero
  1078. 2012-02-05 19:11:37.033399 1 tails:
  1079. 2012-02-05 19:11:37.033536 062495ba (8640, 0L)
  1080. 2012-02-05 19:11:37.034674 5 heads. Top 10:
  1081. 2012-02-05 19:11:37.034764     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1082. 2012-02-05 19:11:37.034846     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1083. 2012-02-05 19:11:37.034925     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1084. 2012-02-05 19:11:37.035005     5116e0fc df25e212 (75324435033L, 0, 0)
  1085. 2012-02-05 19:11:37.035084     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1086. 2012-02-05 19:11:37.036361 > Traceback (most recent call last):
  1087. 2012-02-05 19:11:37.036413 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1088. 2012-02-05 19:11:37.036458 >     handler(**payload2)
  1089. 2012-02-05 19:11:37.036499 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1090. 2012-02-05 19:11:37.036539 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1091. 2012-02-05 19:11:37.036597 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1092. 2012-02-05 19:11:37.036639 >     func(*event)
  1093. 2012-02-05 19:11:37.036680 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1094. 2012-02-05 19:11:37.036721 >     self.updated.happened()
  1095. 2012-02-05 19:11:37.036761 > --- <exception caught here> ---
  1096. 2012-02-05 19:11:37.036800 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1097. 2012-02-05 19:11:37.036841 >     func(*event)
  1098. 2012-02-05 19:11:37.036880 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1099. 2012-02-05 19:11:37.036921 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1100. 2012-02-05 19:11:37.036962 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1101. 2012-02-05 19:11:37.037002 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1102. 2012-02-05 19:11:37.037044 > exceptions.ZeroDivisionError: long division or modulo by zero
  1103. 2012-02-05 19:11:37.143967 1 tails:
  1104. 2012-02-05 19:11:37.144101 062495ba (8640, 0L)
  1105. 2012-02-05 19:11:37.145229 5 heads. Top 10:
  1106. 2012-02-05 19:11:37.145315     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1107. 2012-02-05 19:11:37.145397     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1108. 2012-02-05 19:11:37.145476     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1109. 2012-02-05 19:11:37.145555     5116e0fc df25e212 (75324435033L, 0, 0)
  1110. 2012-02-05 19:11:37.145633     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1111. 2012-02-05 19:11:37.146856 > Traceback (most recent call last):
  1112. 2012-02-05 19:11:37.146906 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1113. 2012-02-05 19:11:37.146950 >     handler(**payload2)
  1114. 2012-02-05 19:11:37.146991 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1115. 2012-02-05 19:11:37.147031 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1116. 2012-02-05 19:11:37.147072 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1117. 2012-02-05 19:11:37.147112 >     func(*event)
  1118. 2012-02-05 19:11:37.147152 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1119. 2012-02-05 19:11:37.147192 >     self.updated.happened()
  1120. 2012-02-05 19:11:37.147231 > --- <exception caught here> ---
  1121. 2012-02-05 19:11:37.147270 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1122. 2012-02-05 19:11:37.147310 >     func(*event)
  1123. 2012-02-05 19:11:37.147349 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1124. 2012-02-05 19:11:37.147389 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1125. 2012-02-05 19:11:37.147429 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1126. 2012-02-05 19:11:37.147469 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1127. 2012-02-05 19:11:37.147510 > exceptions.ZeroDivisionError: long division or modulo by zero
  1128. 2012-02-05 19:11:37.148192 Lost peer 172.16.0.3:56442
  1129. 2012-02-05 19:11:37.183033 1 tails:
  1130. 2012-02-05 19:11:37.183159 062495ba (8640, 0L)
  1131. 2012-02-05 19:11:37.184283 5 heads. Top 10:
  1132. 2012-02-05 19:11:37.184371     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1133. 2012-02-05 19:11:37.184454     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1134. 2012-02-05 19:11:37.184533     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1135. 2012-02-05 19:11:37.184612     5116e0fc df25e212 (75324435033L, 0, 0)
  1136. 2012-02-05 19:11:37.184691     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1137. 2012-02-05 19:11:37.185913 > Traceback (most recent call last):
  1138. 2012-02-05 19:11:37.185962 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1139. 2012-02-05 19:11:37.186006 >     handler(**payload2)
  1140. 2012-02-05 19:11:37.186046 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1141. 2012-02-05 19:11:37.186087 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1142. 2012-02-05 19:11:37.186145 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1143. 2012-02-05 19:11:37.186186 >     func(*event)
  1144. 2012-02-05 19:11:37.186225 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1145. 2012-02-05 19:11:37.186265 >     self.updated.happened()
  1146. 2012-02-05 19:11:37.186305 > --- <exception caught here> ---
  1147. 2012-02-05 19:11:37.186345 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1148. 2012-02-05 19:11:37.186385 >     func(*event)
  1149. 2012-02-05 19:11:37.186424 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1150. 2012-02-05 19:11:37.186464 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1151. 2012-02-05 19:11:37.186504 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1152. 2012-02-05 19:11:37.186544 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1153. 2012-02-05 19:11:37.186586 > exceptions.ZeroDivisionError: long division or modulo by zero
  1154. 2012-02-05 19:11:37.196459 > Traceback (most recent call last):
  1155. 2012-02-05 19:11:37.196545 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  1156. 2012-02-05 19:11:37.196591 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  1157. 2012-02-05 19:11:37.196633 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  1158. 2012-02-05 19:11:37.196675 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  1159. 2012-02-05 19:11:37.196716 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  1160. 2012-02-05 19:11:37.196758 >     return func(*args,**kw)
  1161. 2012-02-05 19:11:37.196798 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  1162. 2012-02-05 19:11:37.196840 >     why = getattr(selectable, method)()
  1163. 2012-02-05 19:11:37.196880 > --- <exception caught here> ---
  1164. 2012-02-05 19:11:37.196921 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 938, in doRead
  1165. 2012-02-05 19:11:37.196963 >     protocol.makeConnection(transport)
  1166. 2012-02-05 19:11:37.197003 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  1167. 2012-02-05 19:11:37.197044 >     self.connectionMade()
  1168. 2012-02-05 19:11:37.197085 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  1169. 2012-02-05 19:11:37.197126 >     best_share_hash=self.node.best_share_hash_func(),
  1170. 2012-02-05 19:11:37.197166 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  1171. 2012-02-05 19:11:37.197207 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  1172. 2012-02-05 19:11:37.197247 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  1173. 2012-02-05 19:11:37.200118 Incoming connection to peer 172.16.0.3:62090 established. p2pool version: 2 'a059b56'
  1174. 2012-02-05 19:11:37.281922 1 tails:
  1175. 2012-02-05 19:11:37.282057 062495ba (8640, 0L)
  1176. 2012-02-05 19:11:37.283263 5 heads. Top 10:
  1177. 2012-02-05 19:11:37.283351     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1178. 2012-02-05 19:11:37.283433     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1179. 2012-02-05 19:11:37.283512     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1180. 2012-02-05 19:11:37.283592     5116e0fc df25e212 (75324435033L, 0, 0)
  1181. 2012-02-05 19:11:37.283670     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1182. 2012-02-05 19:11:37.284895 > Traceback (most recent call last):
  1183. 2012-02-05 19:11:37.284945 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1184. 2012-02-05 19:11:37.284988 >     handler(**payload2)
  1185. 2012-02-05 19:11:37.285028 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1186. 2012-02-05 19:11:37.285069 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1187. 2012-02-05 19:11:37.285109 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1188. 2012-02-05 19:11:37.285150 >     func(*event)
  1189. 2012-02-05 19:11:37.285208 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1190. 2012-02-05 19:11:37.285249 >     self.updated.happened()
  1191. 2012-02-05 19:11:37.285289 > --- <exception caught here> ---
  1192. 2012-02-05 19:11:37.285329 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1193. 2012-02-05 19:11:37.285369 >     func(*event)
  1194. 2012-02-05 19:11:37.285408 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1195. 2012-02-05 19:11:37.285449 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1196. 2012-02-05 19:11:37.285489 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1197. 2012-02-05 19:11:37.285529 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1198. 2012-02-05 19:11:37.285571 > exceptions.ZeroDivisionError: long division or modulo by zero
  1199. 2012-02-05 19:11:37.388262 1 tails:
  1200. 2012-02-05 19:11:37.388403 062495ba (8640, 0L)
  1201. 2012-02-05 19:11:37.389577 5 heads. Top 10:
  1202. 2012-02-05 19:11:37.389666     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1203. 2012-02-05 19:11:37.389748     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1204. 2012-02-05 19:11:37.389828     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1205. 2012-02-05 19:11:37.389906     5116e0fc df25e212 (75324435033L, 0, 0)
  1206. 2012-02-05 19:11:37.389984     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1207. 2012-02-05 19:11:37.391257 > Traceback (most recent call last):
  1208. 2012-02-05 19:11:37.391307 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1209. 2012-02-05 19:11:37.391352 >     handler(**payload2)
  1210. 2012-02-05 19:11:37.391394 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1211. 2012-02-05 19:11:37.391436 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1212. 2012-02-05 19:11:37.391477 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1213. 2012-02-05 19:11:37.391519 >     func(*event)
  1214. 2012-02-05 19:11:37.391558 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1215. 2012-02-05 19:11:37.391599 >     self.updated.happened()
  1216. 2012-02-05 19:11:37.391640 > --- <exception caught here> ---
  1217. 2012-02-05 19:11:37.391681 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1218. 2012-02-05 19:11:37.391721 >     func(*event)
  1219. 2012-02-05 19:11:37.391760 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1220. 2012-02-05 19:11:37.391801 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1221. 2012-02-05 19:11:37.391841 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1222. 2012-02-05 19:11:37.391882 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1223. 2012-02-05 19:11:37.391924 > exceptions.ZeroDivisionError: long division or modulo by zero
  1224. 2012-02-05 19:11:37.494107 1 tails:
  1225. 2012-02-05 19:11:37.494247 062495ba (8640, 0L)
  1226. 2012-02-05 19:11:37.495378 5 heads. Top 10:
  1227. 2012-02-05 19:11:37.495467     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1228. 2012-02-05 19:11:37.495549     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1229. 2012-02-05 19:11:37.495628     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1230. 2012-02-05 19:11:37.495708     5116e0fc df25e212 (75324435033L, 0, 0)
  1231. 2012-02-05 19:11:37.495786     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1232. 2012-02-05 19:11:37.497056 > Traceback (most recent call last):
  1233. 2012-02-05 19:11:37.497107 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1234. 2012-02-05 19:11:37.497151 >     handler(**payload2)
  1235. 2012-02-05 19:11:37.497192 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1236. 2012-02-05 19:11:37.497233 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1237. 2012-02-05 19:11:37.497274 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1238. 2012-02-05 19:11:37.497315 >     func(*event)
  1239. 2012-02-05 19:11:37.497355 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1240. 2012-02-05 19:11:37.497413 >     self.updated.happened()
  1241. 2012-02-05 19:11:37.497453 > --- <exception caught here> ---
  1242. 2012-02-05 19:11:37.497493 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1243. 2012-02-05 19:11:37.497534 >     func(*event)
  1244. 2012-02-05 19:11:37.497574 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1245. 2012-02-05 19:11:37.497614 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1246. 2012-02-05 19:11:37.497655 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1247. 2012-02-05 19:11:37.497696 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1248. 2012-02-05 19:11:37.497738 > exceptions.ZeroDivisionError: long division or modulo by zero
  1249. 2012-02-05 19:11:37.600177 1 tails:
  1250. 2012-02-05 19:11:37.600316 062495ba (8640, 0L)
  1251. 2012-02-05 19:11:37.601462 5 heads. Top 10:
  1252. 2012-02-05 19:11:37.601568     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1253. 2012-02-05 19:11:37.601651     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1254. 2012-02-05 19:11:37.601730     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1255. 2012-02-05 19:11:37.601809     5116e0fc df25e212 (75324435033L, 0, 0)
  1256. 2012-02-05 19:11:37.601889     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1257. 2012-02-05 19:11:37.603158 > Traceback (most recent call last):
  1258. 2012-02-05 19:11:37.603208 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1259. 2012-02-05 19:11:37.603251 >     handler(**payload2)
  1260. 2012-02-05 19:11:37.603293 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1261. 2012-02-05 19:11:37.603333 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1262. 2012-02-05 19:11:37.603373 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1263. 2012-02-05 19:11:37.603413 >     func(*event)
  1264. 2012-02-05 19:11:37.603452 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1265. 2012-02-05 19:11:37.603492 >     self.updated.happened()
  1266. 2012-02-05 19:11:37.603532 > --- <exception caught here> ---
  1267. 2012-02-05 19:11:37.603571 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1268. 2012-02-05 19:11:37.603611 >     func(*event)
  1269. 2012-02-05 19:11:37.603651 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1270. 2012-02-05 19:11:37.603690 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1271. 2012-02-05 19:11:37.603730 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1272. 2012-02-05 19:11:37.603770 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1273. 2012-02-05 19:11:37.603812 > exceptions.ZeroDivisionError: long division or modulo by zero
  1274. 2012-02-05 19:11:37.696618 1 tails:
  1275. 2012-02-05 19:11:37.696755 062495ba (8640, 0L)
  1276. 2012-02-05 19:11:37.697898 5 heads. Top 10:
  1277. 2012-02-05 19:11:37.697985     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1278. 2012-02-05 19:11:37.698067     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1279. 2012-02-05 19:11:37.698147     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1280. 2012-02-05 19:11:37.698226     5116e0fc df25e212 (75324435033L, 0, 0)
  1281. 2012-02-05 19:11:37.698306     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1282. 2012-02-05 19:11:37.705774 > Traceback (most recent call last):
  1283. 2012-02-05 19:11:37.705847 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1284. 2012-02-05 19:11:37.705892 >     handler(**payload2)
  1285. 2012-02-05 19:11:37.705934 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1286. 2012-02-05 19:11:37.705975 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1287. 2012-02-05 19:11:37.706016 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1288. 2012-02-05 19:11:37.706057 >     func(*event)
  1289. 2012-02-05 19:11:37.706098 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1290. 2012-02-05 19:11:37.706165 >     self.updated.happened()
  1291. 2012-02-05 19:11:37.706207 > --- <exception caught here> ---
  1292. 2012-02-05 19:11:37.706247 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1293. 2012-02-05 19:11:37.706287 >     func(*event)
  1294. 2012-02-05 19:11:37.706327 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1295. 2012-02-05 19:11:37.706368 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1296. 2012-02-05 19:11:37.706409 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1297. 2012-02-05 19:11:37.706450 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1298. 2012-02-05 19:11:37.706493 > exceptions.ZeroDivisionError: long division or modulo by zero
  1299. 2012-02-05 19:11:37.754876 > Traceback (most recent call last):
  1300. 2012-02-05 19:11:37.754967 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 84, in callWithLogger
  1301. 2012-02-05 19:11:37.755030 >     return callWithContext({"system": lp}, func, *args, **kw)
  1302. 2012-02-05 19:11:37.755073 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  1303. 2012-02-05 19:11:37.755115 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  1304. 2012-02-05 19:11:37.755155 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  1305. 2012-02-05 19:11:37.755197 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  1306. 2012-02-05 19:11:37.755238 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  1307. 2012-02-05 19:11:37.755280 >     return func(*args,**kw)
  1308. 2012-02-05 19:11:37.755320 > --- <exception caught here> ---
  1309. 2012-02-05 19:11:37.755360 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  1310. 2012-02-05 19:11:37.755401 >     why = getattr(selectable, method)()
  1311. 2012-02-05 19:11:37.755440 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 664, in doConnect
  1312. 2012-02-05 19:11:37.755482 >     self._connectDone()
  1313. 2012-02-05 19:11:37.755521 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 671, in _connectDone
  1314. 2012-02-05 19:11:37.755563 >     self.protocol.makeConnection(self)
  1315. 2012-02-05 19:11:37.755602 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  1316. 2012-02-05 19:11:37.755643 >     self.connectionMade()
  1317. 2012-02-05 19:11:37.755683 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  1318. 2012-02-05 19:11:37.755723 >     best_share_hash=self.node.best_share_hash_func(),
  1319. 2012-02-05 19:11:37.755764 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  1320. 2012-02-05 19:11:37.755804 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  1321. 2012-02-05 19:11:37.755844 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  1322. 2012-02-05 19:11:37.806858 1 tails:
  1323. 2012-02-05 19:11:37.806992 062495ba (8640, 0L)
  1324. 2012-02-05 19:11:37.808348 5 heads. Top 10:
  1325. 2012-02-05 19:11:37.808438     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1326. 2012-02-05 19:11:37.808520     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1327. 2012-02-05 19:11:37.808601     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1328. 2012-02-05 19:11:37.808681     5116e0fc df25e212 (75324435033L, 0, 0)
  1329. 2012-02-05 19:11:37.808760     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1330. 2012-02-05 19:11:37.810162 > Traceback (most recent call last):
  1331. 2012-02-05 19:11:37.810215 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1332. 2012-02-05 19:11:37.810260 >     handler(**payload2)
  1333. 2012-02-05 19:11:37.810302 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1334. 2012-02-05 19:11:37.810342 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1335. 2012-02-05 19:11:37.810383 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1336. 2012-02-05 19:11:37.810423 >     func(*event)
  1337. 2012-02-05 19:11:37.810487 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1338. 2012-02-05 19:11:37.810529 >     self.updated.happened()
  1339. 2012-02-05 19:11:37.810569 > --- <exception caught here> ---
  1340. 2012-02-05 19:11:37.810609 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1341. 2012-02-05 19:11:37.810649 >     func(*event)
  1342. 2012-02-05 19:11:37.810688 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1343. 2012-02-05 19:11:37.810728 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1344. 2012-02-05 19:11:37.810769 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1345. 2012-02-05 19:11:37.810810 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1346. 2012-02-05 19:11:37.810852 > exceptions.ZeroDivisionError: long division or modulo by zero
  1347. 2012-02-05 19:11:37.836654 > Traceback (most recent call last):
  1348. 2012-02-05 19:11:37.836763 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 354, in _startRunCallbacks
  1349. 2012-02-05 19:11:37.836809 >     self._runCallbacks()
  1350. 2012-02-05 19:11:37.836849 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
  1351. 2012-02-05 19:11:37.836890 >     self.result = callback(self.result, *args, **kw)
  1352. 2012-02-05 19:11:37.836931 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 879, in gotResult
  1353. 2012-02-05 19:11:37.836972 >     _inlineCallbacks(r, g, deferred)
  1354. 2012-02-05 19:11:37.837012 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 823, in _inlineCallbacks
  1355. 2012-02-05 19:11:37.837053 >     result = g.send(result)
  1356. 2012-02-05 19:11:37.837092 > --- <exception caught here> ---
  1357. 2012-02-05 19:11:37.837131 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 838, in status_thread
  1358. 2012-02-05 19:11:37.837171 >     height = tracker.get_height(current_work.value['best_share_hash'])
  1359. 2012-02-05 19:11:37.837211 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  1360. 2012-02-05 19:11:37.845176 Lost peer 172.16.0.3:62090
  1361. 2012-02-05 19:11:37.903179 1 tails:
  1362. 2012-02-05 19:11:37.903305 062495ba (8640, 0L)
  1363. 2012-02-05 19:11:37.904425 5 heads. Top 10:
  1364. 2012-02-05 19:11:37.904512     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1365. 2012-02-05 19:11:37.904593     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1366. 2012-02-05 19:11:37.904672     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1367. 2012-02-05 19:11:37.904751     5116e0fc df25e212 (75324435033L, 0, 0)
  1368. 2012-02-05 19:11:37.904830     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1369. 2012-02-05 19:11:37.906068 > Traceback (most recent call last):
  1370. 2012-02-05 19:11:37.906118 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1371. 2012-02-05 19:11:37.906162 >     handler(**payload2)
  1372. 2012-02-05 19:11:37.906203 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1373. 2012-02-05 19:11:37.906244 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1374. 2012-02-05 19:11:37.906284 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1375. 2012-02-05 19:11:37.906325 >     func(*event)
  1376. 2012-02-05 19:11:37.906364 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1377. 2012-02-05 19:11:37.906404 >     self.updated.happened()
  1378. 2012-02-05 19:11:37.906443 > --- <exception caught here> ---
  1379. 2012-02-05 19:11:37.906487 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1380. 2012-02-05 19:11:37.906527 >     func(*event)
  1381. 2012-02-05 19:11:37.906566 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1382. 2012-02-05 19:11:37.906606 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1383. 2012-02-05 19:11:37.906646 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1384. 2012-02-05 19:11:37.906685 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1385. 2012-02-05 19:11:37.906750 > exceptions.ZeroDivisionError: long division or modulo by zero
  1386. 2012-02-05 19:11:37.998306 1 tails:
  1387. 2012-02-05 19:11:37.998404 062495ba (8640, 0L)
  1388. 2012-02-05 19:11:37.999511 5 heads. Top 10:
  1389. 2012-02-05 19:11:37.999597     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1390. 2012-02-05 19:11:37.999678     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1391. 2012-02-05 19:11:37.999757     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1392. 2012-02-05 19:11:37.999836     5116e0fc df25e212 (75324435033L, 0, 0)
  1393. 2012-02-05 19:11:37.999915     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1394. 2012-02-05 19:11:38.011091 > Traceback (most recent call last):
  1395. 2012-02-05 19:11:38.011144 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1396. 2012-02-05 19:11:38.011187 >     handler(**payload2)
  1397. 2012-02-05 19:11:38.011229 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1398. 2012-02-05 19:11:38.011269 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1399. 2012-02-05 19:11:38.011328 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1400. 2012-02-05 19:11:38.011370 >     func(*event)
  1401. 2012-02-05 19:11:38.011409 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1402. 2012-02-05 19:11:38.011449 >     self.updated.happened()
  1403. 2012-02-05 19:11:38.011488 > --- <exception caught here> ---
  1404. 2012-02-05 19:11:38.011528 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1405. 2012-02-05 19:11:38.011568 >     func(*event)
  1406. 2012-02-05 19:11:38.011608 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1407. 2012-02-05 19:11:38.011648 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1408. 2012-02-05 19:11:38.011688 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1409. 2012-02-05 19:11:38.011728 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1410. 2012-02-05 19:11:38.011770 > exceptions.ZeroDivisionError: long division or modulo by zero
  1411. 2012-02-05 19:11:38.103615 1 tails:
  1412. 2012-02-05 19:11:38.103710 062495ba (8640, 0L)
  1413. 2012-02-05 19:11:38.104801 5 heads. Top 10:
  1414. 2012-02-05 19:11:38.104886     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1415. 2012-02-05 19:11:38.104967     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1416. 2012-02-05 19:11:38.105046     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1417. 2012-02-05 19:11:38.105125     5116e0fc df25e212 (75324435033L, 0, 0)
  1418. 2012-02-05 19:11:38.105204     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1419. 2012-02-05 19:11:38.106325 > Traceback (most recent call last):
  1420. 2012-02-05 19:11:38.106373 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1421. 2012-02-05 19:11:38.106416 >     handler(**payload2)
  1422. 2012-02-05 19:11:38.106457 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1423. 2012-02-05 19:11:38.106498 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1424. 2012-02-05 19:11:38.106539 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1425. 2012-02-05 19:11:38.106579 >     func(*event)
  1426. 2012-02-05 19:11:38.106618 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1427. 2012-02-05 19:11:38.106659 >     self.updated.happened()
  1428. 2012-02-05 19:11:38.106698 > --- <exception caught here> ---
  1429. 2012-02-05 19:11:38.106738 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1430. 2012-02-05 19:11:38.106778 >     func(*event)
  1431. 2012-02-05 19:11:38.106817 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1432. 2012-02-05 19:11:38.106857 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1433. 2012-02-05 19:11:38.106897 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1434. 2012-02-05 19:11:38.106937 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1435. 2012-02-05 19:11:38.106979 > exceptions.ZeroDivisionError: long division or modulo by zero
  1436. 2012-02-05 19:11:38.198356 1 tails:
  1437. 2012-02-05 19:11:38.198457 062495ba (8640, 0L)
  1438. 2012-02-05 19:11:38.199562 5 heads. Top 10:
  1439. 2012-02-05 19:11:38.199649     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1440. 2012-02-05 19:11:38.199731     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1441. 2012-02-05 19:11:38.199810     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1442. 2012-02-05 19:11:38.199890     5116e0fc df25e212 (75324435033L, 0, 0)
  1443. 2012-02-05 19:11:38.199968     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1444. 2012-02-05 19:11:38.211155 > Traceback (most recent call last):
  1445. 2012-02-05 19:11:38.211209 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1446. 2012-02-05 19:11:38.211253 >     handler(**payload2)
  1447. 2012-02-05 19:11:38.211293 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1448. 2012-02-05 19:11:38.211333 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1449. 2012-02-05 19:11:38.211374 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1450. 2012-02-05 19:11:38.211432 >     func(*event)
  1451. 2012-02-05 19:11:38.211472 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1452. 2012-02-05 19:11:38.211513 >     self.updated.happened()
  1453. 2012-02-05 19:11:38.211552 > --- <exception caught here> ---
  1454. 2012-02-05 19:11:38.211592 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1455. 2012-02-05 19:11:38.211633 >     func(*event)
  1456. 2012-02-05 19:11:38.211673 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1457. 2012-02-05 19:11:38.211714 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1458. 2012-02-05 19:11:38.211754 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1459. 2012-02-05 19:11:38.211794 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1460. 2012-02-05 19:11:38.211836 > exceptions.ZeroDivisionError: long division or modulo by zero
  1461. 2012-02-05 19:11:38.303806 1 tails:
  1462. 2012-02-05 19:11:38.303905 062495ba (8640, 0L)
  1463. 2012-02-05 19:11:38.305018 5 heads. Top 10:
  1464. 2012-02-05 19:11:38.305105     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1465. 2012-02-05 19:11:38.305185     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1466. 2012-02-05 19:11:38.305265     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1467. 2012-02-05 19:11:38.305344     5116e0fc df25e212 (75324435033L, 0, 0)
  1468. 2012-02-05 19:11:38.305424     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1469. 2012-02-05 19:11:38.306564 > Traceback (most recent call last):
  1470. 2012-02-05 19:11:38.306613 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1471. 2012-02-05 19:11:38.306657 >     handler(**payload2)
  1472. 2012-02-05 19:11:38.306698 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1473. 2012-02-05 19:11:38.306739 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1474. 2012-02-05 19:11:38.306779 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1475. 2012-02-05 19:11:38.306819 >     func(*event)
  1476. 2012-02-05 19:11:38.306859 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1477. 2012-02-05 19:11:38.306899 >     self.updated.happened()
  1478. 2012-02-05 19:11:38.306939 > --- <exception caught here> ---
  1479. 2012-02-05 19:11:38.306978 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1480. 2012-02-05 19:11:38.307018 >     func(*event)
  1481. 2012-02-05 19:11:38.307059 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1482. 2012-02-05 19:11:38.307099 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1483. 2012-02-05 19:11:38.307140 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1484. 2012-02-05 19:11:38.307180 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1485. 2012-02-05 19:11:38.307221 > exceptions.ZeroDivisionError: long division or modulo by zero
  1486. 2012-02-05 19:11:38.398549 1 tails:
  1487. 2012-02-05 19:11:38.398639 062495ba (8640, 0L)
  1488. 2012-02-05 19:11:38.399750 5 heads. Top 10:
  1489. 2012-02-05 19:11:38.399836     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1490. 2012-02-05 19:11:38.399917     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1491. 2012-02-05 19:11:38.399997     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1492. 2012-02-05 19:11:38.400077     5116e0fc df25e212 (75324435033L, 0, 0)
  1493. 2012-02-05 19:11:38.400156     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1494. 2012-02-05 19:11:38.411285 > Traceback (most recent call last):
  1495. 2012-02-05 19:11:38.411335 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1496. 2012-02-05 19:11:38.411378 >     handler(**payload2)
  1497. 2012-02-05 19:11:38.411418 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1498. 2012-02-05 19:11:38.411458 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1499. 2012-02-05 19:11:38.411499 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1500. 2012-02-05 19:11:38.411553 >     func(*event)
  1501. 2012-02-05 19:11:38.411594 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1502. 2012-02-05 19:11:38.411634 >     self.updated.happened()
  1503. 2012-02-05 19:11:38.411673 > --- <exception caught here> ---
  1504. 2012-02-05 19:11:38.411713 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1505. 2012-02-05 19:11:38.411753 >     func(*event)
  1506. 2012-02-05 19:11:38.411792 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1507. 2012-02-05 19:11:38.411832 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1508. 2012-02-05 19:11:38.411873 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1509. 2012-02-05 19:11:38.411913 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1510. 2012-02-05 19:11:38.411955 > exceptions.ZeroDivisionError: long division or modulo by zero
  1511. 2012-02-05 19:11:38.503973 1 tails:
  1512. 2012-02-05 19:11:38.504059 062495ba (8640, 0L)
  1513. 2012-02-05 19:11:38.505175 5 heads. Top 10:
  1514. 2012-02-05 19:11:38.505276     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1515. 2012-02-05 19:11:38.505366     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1516. 2012-02-05 19:11:38.505449     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1517. 2012-02-05 19:11:38.505531     5116e0fc df25e212 (75324435033L, 0, 0)
  1518. 2012-02-05 19:11:38.505612     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1519. 2012-02-05 19:11:38.506736 > Traceback (most recent call last):
  1520. 2012-02-05 19:11:38.506786 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1521. 2012-02-05 19:11:38.506829 >     handler(**payload2)
  1522. 2012-02-05 19:11:38.506869 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1523. 2012-02-05 19:11:38.506910 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1524. 2012-02-05 19:11:38.506951 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1525. 2012-02-05 19:11:38.506991 >     func(*event)
  1526. 2012-02-05 19:11:38.507031 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1527. 2012-02-05 19:11:38.507071 >     self.updated.happened()
  1528. 2012-02-05 19:11:38.507110 > --- <exception caught here> ---
  1529. 2012-02-05 19:11:38.507150 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1530. 2012-02-05 19:11:38.507190 >     func(*event)
  1531. 2012-02-05 19:11:38.507229 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1532. 2012-02-05 19:11:38.507269 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1533. 2012-02-05 19:11:38.507309 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1534. 2012-02-05 19:11:38.507350 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1535. 2012-02-05 19:11:38.507392 > exceptions.ZeroDivisionError: long division or modulo by zero
  1536. 2012-02-05 19:11:38.598880 1 tails:
  1537. 2012-02-05 19:11:38.598989 062495ba (8640, 0L)
  1538. 2012-02-05 19:11:38.600106 5 heads. Top 10:
  1539. 2012-02-05 19:11:38.600192     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1540. 2012-02-05 19:11:38.600275     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1541. 2012-02-05 19:11:38.600356     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1542. 2012-02-05 19:11:38.600434     5116e0fc df25e212 (75324435033L, 0, 0)
  1543. 2012-02-05 19:11:38.600513     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1544. 2012-02-05 19:11:38.611685 > Traceback (most recent call last):
  1545. 2012-02-05 19:11:38.611736 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1546. 2012-02-05 19:11:38.611779 >     handler(**payload2)
  1547. 2012-02-05 19:11:38.611820 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1548. 2012-02-05 19:11:38.611861 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1549. 2012-02-05 19:11:38.611903 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1550. 2012-02-05 19:11:38.611944 >     func(*event)
  1551. 2012-02-05 19:11:38.611992 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1552. 2012-02-05 19:11:38.612033 >     self.updated.happened()
  1553. 2012-02-05 19:11:38.612074 > --- <exception caught here> ---
  1554. 2012-02-05 19:11:38.612114 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1555. 2012-02-05 19:11:38.612154 >     func(*event)
  1556. 2012-02-05 19:11:38.612193 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1557. 2012-02-05 19:11:38.612233 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1558. 2012-02-05 19:11:38.612273 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1559. 2012-02-05 19:11:38.612313 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1560. 2012-02-05 19:11:38.612355 > exceptions.ZeroDivisionError: long division or modulo by zero
  1561. 2012-02-05 19:11:38.667895 > Traceback (most recent call last):
  1562. 2012-02-05 19:11:38.667951 >   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 69, in callWithContext
  1563. 2012-02-05 19:11:38.667995 >     return context.call({ILogContext: newCtx}, func, *args, **kw)
  1564. 2012-02-05 19:11:38.668036 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 59, in callWithContext
  1565. 2012-02-05 19:11:38.668077 >     return self.currentContext().callWithContext(ctx, func, *args, **kw)
  1566. 2012-02-05 19:11:38.668117 >   File "/usr/lib/python2.6/dist-packages/twisted/python/context.py", line 37, in callWithContext
  1567. 2012-02-05 19:11:38.668158 >     return func(*args,**kw)
  1568. 2012-02-05 19:11:38.668197 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
  1569. 2012-02-05 19:11:38.668238 >     why = getattr(selectable, method)()
  1570. 2012-02-05 19:11:38.668277 > --- <exception caught here> ---
  1571. 2012-02-05 19:11:38.668316 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 938, in doRead
  1572. 2012-02-05 19:11:38.668356 >     protocol.makeConnection(transport)
  1573. 2012-02-05 19:11:38.668395 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/protocol.py", line 364, in makeConnection
  1574. 2012-02-05 19:11:38.668436 >     self.connectionMade()
  1575. 2012-02-05 19:11:38.668476 >   File "/home/mrx/p2pool/p2pool/p2pool/p2p.py", line 55, in connectionMade
  1576. 2012-02-05 19:11:38.668515 >     best_share_hash=self.node.best_share_hash_func(),
  1577. 2012-02-05 19:11:38.668555 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 319, in <lambda>
  1578. 2012-02-05 19:11:38.668594 >     best_share_hash_func=lambda: current_work.value['best_share_hash'],
  1579. 2012-02-05 19:11:38.668634 > exceptions.TypeError: 'NoneType' object is unsubscriptable
  1580. 2012-02-05 19:11:38.669112 Incoming connection to peer 172.16.0.3:35990 established. p2pool version: 2 '210a3f4'
  1581. 2012-02-05 19:11:38.703684 1 tails:
  1582. 2012-02-05 19:11:38.703775 062495ba (8640, 0L)
  1583. 2012-02-05 19:11:38.704897 5 heads. Top 10:
  1584. 2012-02-05 19:11:38.704983     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1585. 2012-02-05 19:11:38.705081     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1586. 2012-02-05 19:11:38.705162     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1587. 2012-02-05 19:11:38.705241     5116e0fc df25e212 (75324435033L, 0, 0)
  1588. 2012-02-05 19:11:38.705321     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1589. 2012-02-05 19:11:38.706447 > Traceback (most recent call last):
  1590. 2012-02-05 19:11:38.706496 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1591. 2012-02-05 19:11:38.706539 >     handler(**payload2)
  1592. 2012-02-05 19:11:38.706580 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1593. 2012-02-05 19:11:38.706621 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1594. 2012-02-05 19:11:38.706662 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1595. 2012-02-05 19:11:38.706703 >     func(*event)
  1596. 2012-02-05 19:11:38.706742 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1597. 2012-02-05 19:11:38.706782 >     self.updated.happened()
  1598. 2012-02-05 19:11:38.706835 > --- <exception caught here> ---
  1599. 2012-02-05 19:11:38.706876 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1600. 2012-02-05 19:11:38.706917 >     func(*event)
  1601. 2012-02-05 19:11:38.706955 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1602. 2012-02-05 19:11:38.706995 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1603. 2012-02-05 19:11:38.707035 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1604. 2012-02-05 19:11:38.707077 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1605. 2012-02-05 19:11:38.707119 > exceptions.ZeroDivisionError: long division or modulo by zero
  1606. 2012-02-05 19:11:38.798446 1 tails:
  1607. 2012-02-05 19:11:38.798539 062495ba (8640, 0L)
  1608. 2012-02-05 19:11:38.799639 5 heads. Top 10:
  1609. 2012-02-05 19:11:38.799725     35cd6770 fd9126d4 (72833933540L, 0, 0)
  1610. 2012-02-05 19:11:38.799806     8db2b7d1 abfbf407 (72877802046L, 0, 0)
  1611. 2012-02-05 19:11:38.799886     58f8e8ad 96a85e45 (72940320372L, 0, 0)
  1612. 2012-02-05 19:11:38.799965     5116e0fc df25e212 (75324435033L, 0, 0)
  1613. 2012-02-05 19:11:38.800043     34ab6001 4a40ced8 (77078883757L, 0, 0)
  1614. 2012-02-05 19:11:38.811206 > Traceback (most recent call last):
  1615. 2012-02-05 19:11:38.811257 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 74, in packetReceived
  1616. 2012-02-05 19:11:38.811300 >     handler(**payload2)
  1617. 2012-02-05 19:11:38.811341 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 233, in handle_headers
  1618. 2012-02-05 19:11:38.811382 >     self.factory.new_headers.happened([header['header'] for header in headers])
  1619. 2012-02-05 19:11:38.811423 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1620. 2012-02-05 19:11:38.811463 >     func(*event)
  1621. 2012-02-05 19:11:38.811503 >   File "/home/mrx/p2pool/p2pool/p2pool/bitcoin/p2p.py", line 339, in _heard_headers
  1622. 2012-02-05 19:11:38.811544 >     self.updated.happened()
  1623. 2012-02-05 19:11:38.811584 > --- <exception caught here> ---
  1624. 2012-02-05 19:11:38.811623 >   File "/home/mrx/p2pool/p2pool/p2pool/util/variable.py", line 34, in happened
  1625. 2012-02-05 19:11:38.811663 >     func(*event)
  1626. 2012-02-05 19:11:38.811703 >   File "/home/mrx/p2pool/p2pool/p2pool/main.py", line 154, in set_real_work2
  1627. 2012-02-05 19:11:38.811743 >     best, desired = tracker.think(ht, pre_current_work.value['previous_block'])
  1628. 2012-02-05 19:11:38.811783 >   File "/home/mrx/p2pool/p2pool/p2pool/data.py", line 412, in think
  1629. 2012-02-05 19:11:38.811824 >     target_cutoff = 2**256//(self.net.SHARE_PERIOD*best_tail_score[1]) * 2 if best_tail_score[1] is not None else 2**256-1
  1630. 2012-02-05 19:11:38.811865 > exceptions.ZeroDivisionError: long division or modulo by zero
  1631. 2012-02-05 19:11:38.863690 Lost peer 172.16.0.3:35990
Advertisement
Add Comment
Please, Sign In to add comment