c00w/bitHopper — Issue #643: Fresh install fails (Linux)
Author: Nitrowolf
Created: 2012-03-07 03:26:38+00:00
State: open

21:20:30|database: Cleaning Database
21:20:30|pool: pools-custom.cfg not found.
21:20:30|database: Cleaning Database
21:20:30|pool: Please configure some pools!
21:20:30|pool: Go to localhost:8337/worker
21:20:30|pool: Then restart bitHopper
21:20:31|lp: LP Module Load
21:20:31|plugin: Loading Config Files
Exception in thread Thread-60:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 505, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/XXX/bitHopper/Workers.py", line 56, in poll_thread
self.workers_lock[item] = {}
AttributeError: Workers instance has no attribute 'workers_lock'

21:20:31|pool: pools-custom.cfg not found.
21:20:31|database: Cleaning Database
21:20:32|plugin: Plugin loading mode: manual
21:20:32|plugin: Loading Plugins
21:20:32|plugin: poolblocks has been disabled
21:20:32|plugin: lpworkbench has been disabled
21:20:32|plugin: lpbot has been disabled
21:20:32|plugin: blockaccuracy has been disabled
21:20:32|plugin: apiangel has been disabled
21:20:32|plugin: backdoor has been disabled
21:20:32|plugin: test has been disabled
21:20:32|plugin: lpdump has been disabled
21:20:32|plugin: payouts has been disabled
21:20:32|plugin: poclbm has been disabled
21:20:32|plugin: hookexample failed reading main config file: No option 'hookexample' in section: 'plugins'
21:20:32|plugin: hookexample has been disabled
21:20:32|plugin: rpcworklog loaded
21:20:32|bitHopper: Selecting scheduler: DefaultScheduler
21:20:32|bitHopper: Fatal Error, No valid pools configured!
21:20:32|api: bonuspool api error:'api_method'
21:20:32|api: gpumax api error:'api_method'
21:20:32|pool: Please configure some pools!
21:20:32|pool: Go to localhost:8337/worker
21:20:32|pool: Then restart bitHopper
21:20:32|work: Not in pool
21:20:32|work: Not in pool
21:20:32|work: Not in pool
21:20:32|api: eclipsemc: 7347427
21:20:32|pool: Please configure some pools!
21:20:32|pool: Go to localhost:8337/worker
21:20:32|pool: Then restart bitHopper
21:20:32|pool: Please configure some pools!
21:20:32|pool: Go to localhost:8337/worker
21:20:32|pool: Then restart bitHopper
21:20:32|api: slush: 1065941 1277.8gh/s 57min.
21:20:32|pool: Please configure some pools!
21:20:32|pool: Go to localhost:8337/worker
21:20:32|pool: Then restart bitHopper
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 390, in run
result = self._run(*self.args, **self.kwargs)
File "/home/XXX/bitHopper/scheduler.py", line 40, in bitHopper_server_update
self.bitHopper.server_update()
File "bitHopper.py", line 174, in server_update
if self.scheduler.server_update():
File "/home/XXX/bitHopper/scheduler.py", line 151, in server_update
if not self.server_is_valid(current):
File "/home/XXX/bitHopper/scheduler.py", line 76, in server_is_valid
return info.is_valid() and info['role'] in self.valid_roles
AttributeError: 'NoneType' object has no attribute 'is_valid'
>> failed with AttributeError

21:20:33|api: eclipsemc api error:'NoneType' object has no attribute 'is_valid'
21:20:33|api: slush api error:'NoneType' object has no attribute 'is_valid'
21:20:34|pool: Please configure some pools!
21:20:34|pool: Go to localhost:8337/worker
21:20:34|pool: Then restart bitHopper

Then trying to add a worker gives this and bithopper must be restarted:

21:22:37|website: Error in a wsgi function
21:22:37|website: Workers instance has no attribute 'workers_lock'
Traceback (most recent call last):
File "/home/XXX/bitHopper/website.py", line 275, in handle_start
return use_site.handle(env,start_response)
File "/home/XXX/bitHopper/Workers.py", line 169, in handle
self.handle_post(webob.Request(env))
File "/home/XXX/bitHopper/Workers.py", line 184, in handle_post
post['user'], post['pass'])
File "/home/XXX/bitHopper/Workers.py", line 120, in add_worker
if pool not in self.workers_lock:
AttributeError: Workers instance has no attribute 'workers_lock'
/worker

This is a bone stock git pull just now and it fails in numerous places. Any ideas what might be going on?