Skip to content

Instantly share code, notes, and snippets.

@tsal
Created June 2, 2014 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tsal/79a572b7ece3d877e655 to your computer and use it in GitHub Desktop.
Save tsal/79a572b7ece3d877e655 to your computer and use it in GitHub Desktop.
File "./j4hr/report.py", line 15, in make_report
if 'api' in report:
TypeError: argument of type 'NoneType' is not iterable
19:33:26 argument of type 'NoneType' is not iterable
Traceback (most recent call last):
File "./j4hr/report.py", line 15, in make_report
if 'api' in report:
TypeError: argument of type 'NoneType' is not iterable
19:33:26 TypeError: 'NoneType' object does not support item assignment
Traceback (most recent call last):
File "/srv/webapps/prod/j4hr/local/lib/python2.7/site-packages/rq/worker.py", line 429, in perform_job
rv = job.perform()
File "/srv/webapps/prod/j4hr/local/lib/python2.7/site-packages/rq/job.py", line 348, in perform
self._result = self.func(*self.args, **self.kwargs)
File "./j4hr/report.py", line 21, in make_report
report['errors'] = [e.message]
TypeError: 'NoneType' object does not support item assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment