Skip to content

Instantly share code, notes, and snippets.

@krusty
Created June 4, 2012 19:55
Show Gist options
  • Save krusty/2870482 to your computer and use it in GitHub Desktop.
Save krusty/2870482 to your computer and use it in GitHub Desktop.
2012-06-04 16:51:06,785 - root - 5224 - INFO [127.0.0.1 ALL DEV 5224] - DEBUG_JOB_DISPATCH: dispatching launcher_search_job
2012-06-04 16:51:14,478 - root - 5224 - WARNING [127.0.0.1 ALL DEV 5224] - DEBUG_JOB_DISPATCH err: name 'Callwrapper' is not defined
2012-06-04 16:51:14,479 - root - 5224 - ERROR [127.0.0.1 ALL DEV 5224] - source search async failed: local variable 'jobs' referenced before assignment
Traceback (most recent call last):
File "/opt/source/src/dataaccess/sources/manager.py", line 250, in search_async
groups, state, error = get_search_results_and_state(user_id, identity, credentials_store)
File "/opt/source/src/dataaccess/job_control.py", line 202, in get_search_results_and_state
state, error = get_search_state(user_id, identity, credentials_store)
File "/opt/source/src/dataaccess/job_control.py", line 252, in get_search_state
deepcopy(credentials_store).to_struct(),), gearman.PRIORITY_HIGH)
File "/opt/source/src/control/jobqueue.py", line 80, in run_function
job_queue.enqueue(func_name, params, *args, **kw)
File "/opt/source/src/control/jobqueue.py", line 55, in enqueue
self._debug_job_dispatch(func_name, params)
File "/opt/source/src/control/jobqueue.py", line 70, in _debug_job_dispatch
for f in jobs['regular'] + jobs['smb']:
UnboundLocalError: local variable 'jobs' referenced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment