Post
Topic
Board Mining software (miners)
Re: python OpenCL bitcoin miner
by
Mobius
on 02/07/2011, 21:59:51 UTC
The latest version doesn't accept the HOST command - it requires a SERVER entry instead.


It also has an annoying blank-line scrolling behavior that only goes away if you make xterm full screen.

Yeah, It uses the --servers flag instead of host, port, user and password. Took me a minute to figure out
what was going on.  Shocked

I don't know whats with the scrolling black screen, kinda weird. I'm also getting the below error. Everything
is running fine so i'm not real sure what to make of it.  Undecided

Code:
Traceback (most recent call last):
  File "/opt/miners/poclbm2/BitcoinMiner.py", line 338, in longPollThread
    (connection, result) = self.request(connection, url, self.headers)
  File "/opt/miners/poclbm2/BitcoinMiner.py", line 311, in request
    result = loads(response.read())
  File "/usr/lib/python2.6/json/__init__.py", line 307, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python2.6/json/decoder.py", line 319, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python2.6/json/decoder.py", line 338, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded



The blank lines is due to a linefeed in the display function,
the --server=bla...
is the same syntax as the backup servers, remember no spaces in between the , and each server.

Use the
./poclbm --help
for a printout of the functions