{"action":"closed","issue":{"url":"https://api.github.com/repos/muccg/rdrf/issues/78","repository_url":"https://api.github.com/repos/muccg/rdrf","labels_url":"https://api.github.com/repos/muccg/rdrf/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/muccg/rdrf/issues/78/comments","events_url":"https://api.github.com/repos/muccg/rdrf/issues/78/events","html_url":"https://github.com/muccg/rdrf/issues/78","id":173575860,"number":78,"title":"[RDR-1310] TypeError at /DM1/forms/39/384/6'NoneType' object has no attribute '__getitem__'","user":{"login":"ccgbuildbot","id":20180612,"avatar_url":"https://avatars.githubusercontent.com/u/20180612?v=3","gravatar_id":"","url":"https://api.github.com/users/ccgbuildbot","html_url":"https://github.com/ccgbuildbot","followers_url":"https://api.github.com/users/ccgbuildbot/followers","following_url":"https://api.github.com/users/ccgbuildbot/following{/other_user}","gists_url":"https://api.github.com/users/ccgbuildbot/gists{/gist_id}","starred_url":"https://api.github.com/users/ccgbuildbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccgbuildbot/subscriptions","organizations_url":"https://api.github.com/users/ccgbuildbot/orgs","repos_url":"https://api.github.com/users/ccgbuildbot/repos","events_url":"https://api.github.com/users/ccgbuildbot/events{/privacy}","received_events_url":"https://api.github.com/users/ccgbuildbot/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/muccg/rdrf/labels/RDR","name":"RDR","color":"9b4117"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/muccg/rdrf/milestones/1","html_url":"https://github.com/muccg/rdrf/milestones/RDRF%201.3.6","labels_url":"https://api.github.com/repos/muccg/rdrf/milestones/1/labels","id":1964979,"number":1,"title":"RDRF 1.3.6","description":null,"creator":{"login":"ccgbuildbot","id":20180612,"avatar_url":"https://avatars.githubusercontent.com/u/20180612?v=3","gravatar_id":"","url":"https://api.github.com/users/ccgbuildbot","html_url":"https://github.com/ccgbuildbot","followers_url":"https://api.github.com/users/ccgbuildbot/followers","following_url":"https://api.github.com/users/ccgbuildbot/following{/other_user}","gists_url":"https://api.github.com/users/ccgbuildbot/gists{/gist_id}","starred_url":"https://api.github.com/users/ccgbuildbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ccgbuildbot/subscriptions","organizations_url":"https://api.github.com/users/ccgbuildbot/orgs","repos_url":"https://api.github.com/users/ccgbuildbot/repos","events_url":"https://api.github.com/users/ccgbuildbot/events{/privacy}","received_events_url":"https://api.github.com/users/ccgbuildbot/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":3,"state":"open","created_at":"2016-08-26T11:56:07Z","updated_at":"2016-08-27T03:50:42Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-08-27T03:50:40Z","updated_at":"2016-08-27T03:50:42Z","closed_at":"2016-08-27T03:50:42Z","body":"<b><i>[reporter=\"knapier\", created=\"Thu, 2 Jun 2016 14:42:42 +0800\", resolved=\"Thu, 2 Jun 2016 15:16:19 +0800\"]</i></b>\n\n<p>TypeError at /DM1/forms/39/384/6</p>\n\n<p>'NoneType' object has no attribute '_<em>getitem</em>_'</p>\n\n<p>Request Method: \tPOST<br/>\nRequest URL: \t<a href=\"https://rdrf.ccgapps.com.au/ophg/DM1/forms/39/384/6\" class=\"external-link\" rel=\"nofollow\">https://rdrf.ccgapps.com.au/ophg/DM1/forms/39/384/6</a><br/>\nDjango Version: \t1.8.12<br/>\nException Type: \tTypeError<br/>\nException Value: \t</p>\n\n<p>'NoneType' object has no attribute '_<em>getitem</em>_'</p>\n\n<p>Exception Location: \t/app/rdrf/rdrf/form_progress.py in _get_num_items, line 135<br/>\nPython Executable: \t/env/bin/uwsgi<br/>\nPython Version: \t2.7.11<br/>\nPython Path: \t</p>\n\n<p>['.',<br/>\n '/app',<br/>\n '/app/rdrf',<br/>\n '/env/lib/python27.zip',<br/>\n '/env/lib/python2.7',<br/>\n '/env/lib/python2.7/plat-linux2',<br/>\n '/env/lib/python2.7/lib-tk',<br/>\n '/env/lib/python2.7/lib-old',<br/>\n '/env/lib/python2.7/lib-dynload',<br/>\n '/usr/local/lib/python2.7',<br/>\n '/usr/local/lib/python2.7/plat-linux2',<br/>\n '/usr/local/lib/python2.7/lib-tk',<br/>\n '/env/lib/python2.7/site-packages']</p>\n\n<p>Server time: \tThu, 2 Jun 2016 14:41:26 +0800<br/>\nTraceback Switch to copy-and-paste view</p>\n\n<p>    /env/lib/python2.7/site-packages/django/core/handlers/base.py in get_response</p>\n\n<p>response = wrapped_callback(request, *callback_args, **callback_kwargs)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /env/lib/python2.7/site-packages/django/views/generic/base.py in view</p>\n\n<p>return self.dispatch(request, *args, **kwargs)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /env/lib/python2.7/site-packages/django/views/generic/base.py in dispatch</p>\n\n<p>    return handler(request, *args, **kwargs)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /env/lib/python2.7/site-packages/django/utils/decorators.py in _wrapper</p>\n\n<p>return bound_func(*args, **kwargs)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /env/lib/python2.7/site-packages/django/contrib/auth/decorators.py in _wrapped_view</p>\n\n<p>    return view_func(request, *args, **kwargs)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /env/lib/python2.7/site-packages/django/utils/decorators.py in bound_func</p>\n\n<p>    return func._<em>get</em>_(self, type(self))(*args2, **kwargs2)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /app/rdrf/rdrf/form_view.py in post</p>\n\n<p>    progress_dict = dyn_patient.save_form_progress(registry_code, context_model=self.rdrf_context)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /app/rdrf/rdrf/dynamic_data.py in save_form_progress</p>\n\n<p>    return form_progress.save_progress(self.obj, dynamic_data, context_model)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /app/rdrf/rdrf/form_progress.py in save_progress</p>\n\n<p>    self._calculate(dynamic_data)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /app/rdrf/rdrf/form_progress.py in _calculate</p>\n\n<p>    form_progress_dict = self._calculate_form_progress(form_model, dynamic_data)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /app/rdrf/rdrf/form_progress.py in _calculate_form_progress</p>\n\n<p>    num_items = self._get_num_items(form_model, section_model, dynamic_data)</p>\n\n<p> ...<br/>\n    ▶ Local vars<br/>\n    /app/rdrf/rdrf/form_progress.py in _get_num_items</p>\n\n<p>for form_dict in dynamic_data<span class=\"error\">&#91;\"forms\"&#93;</span>:</p>\n\n<p> ...<br/>\n    ▶ Local vars </p>"}}
{"actor":{"display_login":"ccgbuildbot"}}