Skip to content

Instantly share code, notes, and snippets.

@tsal
Created June 2, 2014 19:08
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/e5a241aae5eb8236e3ca to your computer and use it in GitHub Desktop.
Save tsal/e5a241aae5eb8236e3ca to your computer and use it in GitHub Desktop.
18:44:30 default: j4hr.report.make_report('538c94472567a50f448d2283') (38bd253c-6736-4df1-ba36-a809ace69473)
--------------------------------------------------------------------------------
ERROR in report [./j4hr/report.py:20]:
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
18:44:31 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
18:44:31 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