{"action":"opened","issue":{"url":"https://api.github.com/repos/california-civic-data-coalition/django-calaccess-processed-data/issues/215","repository_url":"https://api.github.com/repos/california-civic-data-coalition/django-calaccess-processed-data","labels_url":"https://api.github.com/repos/california-civic-data-coalition/django-calaccess-processed-data/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/california-civic-data-coalition/django-calaccess-processed-data/issues/215/comments","events_url":"https://api.github.com/repos/california-civic-data-coalition/django-calaccess-processed-data/issues/215/events","html_url":"https://github.com/california-civic-data-coalition/django-calaccess-processed-data/issues/215","id":280571946,"number":215,"title":"loadocdballotmeasureelections failing to parse scraped date in proxy","user":{"login":"palewire","id":9993,"avatar_url":"https://avatars1.githubusercontent.com/u/9993?v=4","gravatar_id":"","url":"https://api.github.com/users/palewire","html_url":"https://github.com/palewire","followers_url":"https://api.github.com/users/palewire/followers","following_url":"https://api.github.com/users/palewire/following{/other_user}","gists_url":"https://api.github.com/users/palewire/gists{/gist_id}","starred_url":"https://api.github.com/users/palewire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/palewire/subscriptions","organizations_url":"https://api.github.com/users/palewire/orgs","repos_url":"https://api.github.com/users/palewire/repos","events_url":"https://api.github.com/users/palewire/events{/privacy}","received_events_url":"https://api.github.com/users/palewire/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-08T18:06:57Z","updated_at":"2017-12-08T18:06:57Z","closed_at":null,"author_association":"OWNER","body":"Here's the current traceback crashing our production server. \r\n\r\n```python\r\n\r\nTraceback:  \r\n\r\nFile \"/apps/calaccess/repo/manage.py\" in <module>\r\n  36.         execute_from_command_line(sys.argv)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/__init__.py\" in execute_from_command_line\r\n  364.     utility.execute()\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/__init__.py\" in execute\r\n  356.             self.fetch_command(subcommand).run_from_argv(self.argv)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/base.py\" in run_from_argv\r\n  283.             self.execute(*args, **cmd_options)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/base.py\" in execute\r\n  330.             output = self.handle(*args, **options)\r\n\r\nFile \"/apps/calaccess/repo/calaccess_website/management/commands/updatedownloadswebsite.py\" in handle\r\n  37.         call_command('processcalaccessdata')\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/__init__.py\" in call_command\r\n  131.     return command.execute(*args, **defaults)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/base.py\" in execute\r\n  330.             output = self.handle(*args, **options)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/management/commands/processcalaccessdata.py\" in handle\r\n  68.         self.load()\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/management/commands/processcalaccessdata.py\" in load\r\n  119.             no_color=self.no_color,\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/__init__.py\" in call_command\r\n  131.     return command.execute(*args, **defaults)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/base.py\" in execute\r\n  330.             output = self.handle(*args, **options)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/management/commands/loadocdelections.py\" in handle\r\n  36.         self.load()\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/management/commands/loadocdelections.py\" in load\r\n  67.         call_command('loadocdballotmeasureelections', **options)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/__init__.py\" in call_command\r\n  131.     return command.execute(*args, **defaults)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/django/core/management/base.py\" in execute\r\n  330.             output = self.handle(*args, **options)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/management/commands/loadocdballotmeasureelections.py\" in handle\r\n  22.         self.load_from_proxy(ScrapedPropositionElectionProxy)\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/management/commands/__init__.py\" in load_from_proxy\r\n  159.             ocd_election, ocd_created = scraped_election.get_or_create_ocd_election()\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/models/proxies/calaccess_scraped/base.py\" in get_or_create_ocd_election\r\n  32.             ocd_election = self.get_ocd_election()\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/models/proxies/calaccess_scraped/propositionelections.py\" in get_ocd_election\r\n  57.                 name=self.ocd_name,\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/models/proxies/calaccess_scraped/base.py\" in ocd_name\r\n  98.         if self.date == date(2008, 2, 5):\r\n\r\nFile \"/apps/calaccess/lib/python2.7/site-packages/calaccess_processed/models/proxies/calaccess_scraped/propositionelections.py\" in date\r\n  48.         return timezone.datetime.strptime(match.groupdict()['date'], '%B %d, %Y').date()\r\n\r\nException Type: AttributeError\r\nException Value: 'NoneType' object has no attribute 'groupdict'\r\nRequest data not supplied\r\n```"}}
{"actor":{"display_login":"palewire"}}