-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
Somehow a bot may get itself into a state where it logs to info.log this error:
[2015-07-06 15:08:48,772] ERROR: API: You cannot grab this job.
[2015-07-06 15:08:48,775] ERROR: {'api_call': 'grabjob', 'can_slice': False, 'job_id': u'202274', '_client_version': '0.5.3', '_client_name': 'Bumblebee', 'api
_output': 'json', '_uid': u'[random string]', '_local_ip': '[the ip]', 'bot_id': u'236'}
When it gets in the state, the fix is to set the job_id to 0 and it will start picking up jobs again. In the database run:
UPDATE bots SET job_id=0 WHERE NAME="BOTNAME";
For "BOTNAME" use the name of the bot, for example, for bot G1:
UPDATE bots SET job_id=0 WHERE NAME="G1";