Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: AngelusWebDesign on July 19, 2011, 10:53:15 PM



Title: Poclbm giving strange error -- my hardware, or Poclbm?
Post by: AngelusWebDesign on July 19, 2011, 10:53:15 PM
deepbit.net:8332 19/07/2011 17:52:12, Unexpected error:                        
Traceback (most recent call last):
  File "/home/matthew/programs/poclbm/HttpTransport.py", line 45, in loop
    self.queue_work(work)
  File "/home/matthew/programs/poclbm/Transport.py", line 118, in queue_work
    self.process(work)
  File "/home/matthew/programs/poclbm/Transport.py", line 77, in process
    self.set_difficulty(work.difficulty)
  File "/home/matthew/programs/poclbm/Transport.py", line 72, in set_difficulty
    self.true_target = np.array(unpack('IIIIIIII', true_target.decode('hex')), dtype=np.uint32)
  File "/usr/lib/python2.7/encodings/hex_codec.py", line 42, in hex_decode
    output = binascii.a2b_hex(input)
TypeError: Odd-length string

Anyone else get this?

I'm using today's version of Poclbm, from the GIT repository (Linux 64-bit).


TypeError: 'NoneType' object is not subscriptable
uscentral.btcguild.com:8332 19/07/2011 17:54:26, Unexpected error:             
Traceback (most recent call last):
  File "/home/matthew/programs/poclbm/HttpTransport.py", line 50, in loop
    rv = self.send(result)
  File "/home/matthew/programs/poclbm/Transport.py", line 89, in send
    is_block = belowOrEquals(h[:7], self.true_target[:7])
TypeError: 'NoneType' object is not subscriptable

Every time it should be submitting a share, I get the above error.

I tried BTCguild, and Deepbit.

Now I *did* just have a nasty power surge here, it took out my UPS -- but my machine seems OK. Did one of my cards get fried?

Matthew


Title: Re: Poclbm giving strange error -- my hardware, or Poclbm?
Post by: AngelusWebDesign on July 19, 2011, 11:10:02 PM
An update --

I switch to Hashkill, and the cards are mining OK -- the shares are getting to the pool and everything.

Why would Poclbm stop working all the sudden? I deleted the entire folder and re-downloaded the latest version.

Matthew


Title: Re: Poclbm giving strange error -- my hardware, or Poclbm?
Post by: LehmanSister on July 20, 2011, 02:22:50 AM
An update --

I switch to Hashkill, and the cards are mining OK -- the shares are getting to the pool and everything.

Why would Poclbm stop working all the sudden? I deleted the entire folder and re-downloaded the latest version.

Matthew

Having the same issues here.


Title: Re: Poclbm giving strange error -- my hardware, or Poclbm?
Post by: ivank2139 on July 20, 2011, 03:09:27 AM
It is happening to me but on one machine out of 3...... what's up?


Title: Re: Poclbm giving strange error -- my hardware, or Poclbm?
Post by: LehmanSister on July 20, 2011, 03:57:53 AM
It is happening to me but on one machine out of 3...... what's up?

Here's the bugfix:
http://forum.bitcoin.org/index.php?topic=1334.msg380407#msg380407

Once again Luke Jr. saves the day.