You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.
The Job class perform method should throw an exception if it can't load the worker class. At the moment safe_str_to_class returns NoneType which then causes an error which doesn't make it immediately obvious what the problem is.
The text was updated successfully, but these errors were encountered:
I think the safe_str_to_class (or) my_import should raise a error and fail with a message that pyres could n't import your Task Class. Try setting your PYTHONPATH or DJANGO settings variable.
ok, i've put a first stab up on my repository in a branch named import_error. Right now all the tests pass, but I am going to run through a smoke test tonight or tomorrow.
The Job class perform method should throw an exception if it can't load the worker class. At the moment safe_str_to_class returns NoneType which then causes an error which doesn't make it immediately obvious what the problem is.
The text was updated successfully, but these errors were encountered: