m0mchil / poclbm

PyOpenCL bitcoin miner
Other
681 stars 387 forks source link

Proxy Woes #55

Closed earthmeLon closed 11 years ago

earthmeLon commented 11 years ago

8e37a4ca606af15eb532cf1e134af3a249a21c94

pit.deepbit.net:8332 14/01/2013 13:04:25, checking for stratum...               
pit.deepbit.net:8332 14/01/2013 13:04:25,  'Object' object has no attribute '__getitem__'
pit.deepbit.net:8332 14/01/2013 13:04:25, no response to getwork, using as stratum
Traceback (most recent call last):
  File "./poclbm.py", line 95, in <module>
    switch.loop()
  File "/home/me/src/poclbm/Switch.py", line 98, in loop
    failback = self.server_source().loop()
  File "/home/me/src/poclbm/StratumSource.py", line 96, in loop
    proxy_proto, user, pwd, proxy_host = self.options.proxy[:4]
TypeError: 'Object' object has no attribute '__getitem__'
m0mchil commented 11 years ago

Apparently I forgot to update proxy code when switched to Object instead of tuple for servers. Thanks for trying to use proxy at all :)