Skip to content

Instantly share code, notes, and snippets.

@Suor
Created June 30, 2017 06:03
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 Suor/da3d3317079d5e1a5dc5956aaef7f4e7 to your computer and use it in GitHub Desktop.
Save Suor/da3d3317079d5e1a5dc5956aaef7f4e7 to your computer and use it in GitHub Desktop.
Fake history fail
rat samples: 100%|█████████████████████████████████████████████████████████████████████████████████████████| 94550/94550 [00:11<00:00, 7999.22it/s]
mouse samples: 100%|█████████████████████████████████████████████████████████████████████████████████████| 184785/184785 [00:20<00:00, 8892.27it/s]
human samples: 100%|█████████████████████████████████████████████████████████████████████████████████████| 894400/894400 [01:32<00:00, 9682.03it/s]
Traceback (most recent call last):
File "./manage.py", line 11, in <module>
execute_from_command_line(sys.argv)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
utility.execute()
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
self.execute(*args, **cmd_options)
File "/home/ubuntu/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
output = self.handle(*args, **options)
File "/home/ubuntu/app/core/management/commands/initialize_historical_counters.py", line 131, in handle
for item in platform_qs.filter(specie=specie)
KeyError: u'GPL23613'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment