Here's the traceback from my local dev instance:
Environment:
Request Method: GET Request URL: http://localhost:8000/device-removal/+logout
Django Version: 1.3 Python Version: 2.7.2 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.admin', 'django_openid_auth', 'identityprovider', 'django_configglue', 'oauth_backend', 'preflight', 'gargoyle', 'nexus', 'saml2idp', 'adminaudit', 'raven.contrib.django', 'devserver', 'django_jenkins'] Installed Middleware: ['raven.contrib.django.middleware.SentryResponseErrorIdMiddleware', 'identityprovider.middleware.time.TimeMiddleware', 'identityprovider.middleware.dbfailover.DBFailoverMiddleware', 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'identityprovider.middleware.useraccount.UserAccountConversionMiddleware', 'django.middleware.locale.LocaleMiddleware', 'identityprovider.middleware.exception.LogExceptionMiddleware', 'raven.contrib.django.middleware.Sentry404CatchMiddleware']
Traceback: File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/core/handlers/base.py" in get_response 111. response = callback(request, *callback_args, **callback_kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/contrib/auth/decorators.py" in _wrapped_view 23. return view_func(request, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/identityprovider/decorators.py" in _wrapped_view 68. return view_func(request, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/gargoyle-0.7.2-py2.7.egg/gargoyle/decorators.py" in wrapped 26. return func(request, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/identityprovider/views/utils.py" in wrapper 23. return fn(request, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/identityprovider/views/devices.py" in device_removal 238. id=device_id, account=request.user) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/shortcuts/__init__.py" in get_object_or_404 113. return queryset.get(*args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/query.py" in get 341. clone = self.filter(*args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/query.py" in filter 550. return self._filter_or_exclude(False, *args, **kwargs) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/query.py" in _filter_or_exclude 568. clone.query.add_q(Q(*args, **kwargs)) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/sql/query.py" in add_q 1172. can_reuse=used_aliases, force_having=force_having) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/sql/query.py" in add_filter 1107. connector) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/sql/where.py" in add 67. value = obj.prepare(lookup_type, value) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/sql/where.py" in prepare 316. return self.field.get_prep_lookup(lookup_type, value) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/fields/__init__.py" in get_prep_lookup 292. return self.get_prep_value(value) File "/home/stuartm/Python/829836-confirm-pw-to-change/.env/local/lib/python2.7/site-packages/Django-1.3-py2.7.egg/django/db/models/fields/__init__.py" in get_prep_value 479. return int(value)
Exception Type: ValueError at /device-removal/+logout Exception Value: invalid literal for int() with base 10: '+logout'
Here's the traceback from my local dev instance:
Environment:
Request Method: GET localhost: 8000/device- removal/ +logout
Request URL: http://
Django Version: 1.3 contrib. auth', contrib. contenttypes' , contrib. messages' , contrib. sessions' , contrib. sites', contrib. admin', openid_ auth', der', configglue' , contrib. django' , contrib. django. middleware. SentryResponseE rrorIdMiddlewar e', der.middleware. time.TimeMiddle ware', der.middleware. dbfailover. DBFailoverMiddl eware', middleware. common. CommonMiddlewar e', contrib. sessions. middleware. SessionMiddlewa re', contrib. messages. middleware. MessageMiddlewa re', middleware. csrf.CsrfViewMi ddleware' , contrib. auth.middleware .Authentication Middleware' , der.middleware. useraccount. UserAccountConv ersionMiddlewar e', middleware. locale. LocaleMiddlewar e', der.middleware. exception. LogExceptionMid dleware' , contrib. django. middleware. Sentry404CatchM iddleware' ]
Python Version: 2.7.2
Installed Applications:
['django.
'django.
'django.
'django.
'django.
'django.
'django_
'identityprovi
'django_
'oauth_backend',
'preflight',
'gargoyle',
'nexus',
'saml2idp',
'adminaudit',
'raven.
'devserver',
'django_jenkins']
Installed Middleware:
['raven.
'identityprovi
'identityprovi
'django.
'django.
'django.
'django.
'django.
'identityprovi
'django.
'identityprovi
'raven.
Traceback: stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ core/handlers/ base.py" in get_response stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ contrib/ auth/decorators .py" in _wrapped_view stuartm/ Python/ 829836- confirm- pw-to-change/ identityprovide r/decorators. py" in _wrapped_view stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ gargoyle- 0.7.2-py2. 7.egg/gargoyle/ decorators. py" in wrapped stuartm/ Python/ 829836- confirm- pw-to-change/ identityprovide r/views/ utils.py" in wrapper stuartm/ Python/ 829836- confirm- pw-to-change/ identityprovide r/views/ devices. py" in device_removal request. user) stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ shortcuts/ __init_ _.py" in get_object_or_404 stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ db/models/ query.py" in get stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ db/models/ query.py" in filter or_exclude( False, *args, **kwargs) stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ db/models/ query.py" in _filter_or_exclude add_q(Q( *args, **kwargs)) stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ db/models/ sql/query. py" in add_q used_aliases, force_having= force_having) stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ db/models/ sql/query. py" in add_filter stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ db/models/ sql/where. py" in add lookup_ type, value) stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ db/models/ sql/where. py" in prepare get_prep_ lookup( lookup_ type, value) stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ db/models/ fields/ __init_ _.py" in get_prep_lookup prep_value( value) stuartm/ Python/ 829836- confirm- pw-to-change/ .env/local/ lib/python2. 7/site- packages/ Django- 1.3-py2. 7.egg/django/ db/models/ fields/ __init_ _.py" in get_prep_value
File "/home/
111. response = callback(request, *callback_args, **callback_kwargs)
File "/home/
23. return view_func(request, *args, **kwargs)
File "/home/
68. return view_func(request, *args, **kwargs)
File "/home/
26. return func(request, *args, **kwargs)
File "/home/
23. return fn(request, *args, **kwargs)
File "/home/
238. id=device_id, account=
File "/home/
113. return queryset.get(*args, **kwargs)
File "/home/
341. clone = self.filter(*args, **kwargs)
File "/home/
550. return self._filter_
File "/home/
568. clone.query.
File "/home/
1172. can_reuse=
File "/home/
1107. connector)
File "/home/
67. value = obj.prepare(
File "/home/
316. return self.field.
File "/home/
292. return self.get_
File "/home/
479. return int(value)
Exception Type: ValueError at /device- removal/ +logout
Exception Value: invalid literal for int() with base 10: '+logout'