Skip to content

Instantly share code, notes, and snippets.

@famanson
Created January 3, 2015 17:18
Show Gist options
  • Save famanson/dd3c42ecb146f03e938f to your computer and use it in GitHub Desktop.
Save famanson/dd3c42ecb146f03e938f to your computer and use it in GitHub Desktop.
Environment:
Request Method: GET
Request URL: http://localhost:8000/trips/1bjxps0rm6mqp/
Django Version: 1.6.8
Python Version: 2.7.6
Installed Applications:
('django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.humanize',
'pipeline',
'raven.contrib.django',
'djcelery',
'django_ses',
'django_statsd',
'fs2couchbase',
'esplorio.external_auth',
'esplorio.core',
'esplorio.diary',
'esplorio.destinations',
'esplorio.dashboard',
'esplorio.places',
'esplorio.trips',
'esplorio.utils',
'esplorio.controlpanel',
'esplorio.adminpanel',
'esplorio.achievements',
'esplorio.friends_data',
'esplorio.reference_importers',
'esplorio.geo_query',
'esplorio.mails',
'esplorio.heuristics_analysis',
'esplorio.couchbase_helpers',
'esplorio.profile_pic',
'esplorio.masquerade')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django_statsd.middleware.GraphiteRequestTimingMiddleware',
'django_statsd.middleware.GraphiteMiddleware',
'esplorio.masquerade.middleware.MasqueradeMiddleware')
Traceback:
File "/home/son/.virtualenvs/esplorio/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
112. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/son/git/esplorio/web/esplorio/trips/decorators.py" in _wrapped_view
29. return view_func(request, trip_key, *args, **kwargs)
File "/home/son/.virtualenvs/esplorio/local/lib/python2.7/site-packages/django/utils/decorators.py" in _wrapped_view
99. response = view_func(request, *args, **kwargs)
File "/home/son/git/esplorio/web/esplorio/trips/views.py" in trip_summary
137. for c in countries_visited]
Exception Type: KeyError at /trips/1bjxps0rm6mqp/
Exception Value: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment