m0mchil / poclbm

PyOpenCL bitcoin miner
Other
681 stars 387 forks source link

Transport.py line 46 - AttributeError #43

Open Kiv opened 13 years ago

Kiv commented 13 years ago

Hi, someone using GUIMiner reported this exception:

2011-08-23 22:13:21: Listener for "5970G1": Traceback (most recent call last): 2011-08-23 22:13:21: Listener for "5970G1": File "poclbm.py", line 67, in 2011-08-23 22:13:21: Listener for "5970G1": File "BitcoinMiner.pyo", line 32, in init 2011-08-23 22:13:21: Listener for "5970G1": File "HttpTransport.pyo", line 20, in init 2011-08-23 22:13:21: Listener for "5970G1": File "Transport.pyo", line 46, in init 2011-08-23 22:13:21: Listener for "5970G1": AttributeError: 'HttpTransport' object has no attribute 'failure'

In the code, the failure method is not defined so this exception occurs. This is not a critical fix but the user will never see the error message that is intended.

redskate commented 8 years ago

Hi, that is the point also on my side. Import poclbm - there you find the use of the Transport object - but poclbm is compiled, so one has to first remake poclbm in order to fix this. Meanwhile no bitcoin mining ;)