Skip to content

You cannot grab this job. #136

Description

@jebba

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";

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions