This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Tim.Graham
Recipients Tim.Graham, berker.peksag, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2015-03-22.01:19:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426987199.48.0.775217197362.issue23571@psf.upfronthosting.co.za>
In-reply-to
Content
Here's an exception in Django after the latest patch. The Django code block in the last exception catches ValueError, but this doesn't seem to work any longer since it's "wrapped" in SystemError. As Berker mentioned, some upgrade tips would be great as I'm not sure what adaptions in Django need to be made.

Traceback (most recent call last):
  File "/home/tim/code/django/django/contrib/contenttypes/views.py", line 17, in shortcut
    content_type = ContentType.objects.get(pk=content_type_id)
  File "/home/tim/code/django/django/db/models/manager.py", line 127, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "/home/tim/code/django/django/db/models/query.py", line 387, in get
    self.model._meta.object_name
django.contrib.contenttypes.models.DoesNotExist: ContentType matching query does not exist.

...

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
ValueError: could not convert string to float: request_path

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
....
  File "/home/tim/code/django/django/template/base.py", line 792, in __init__
    self.literal = float(var)
SystemError: <class 'ValueError'> returned a result with an error set
History
Date User Action Args
2015-03-22 01:20:00Tim.Grahamsetrecipients: + Tim.Graham, pitrou, vstinner, python-dev, berker.peksag, serhiy.storchaka
2015-03-22 01:19:59Tim.Grahamsetmessageid: <1426987199.48.0.775217197362.issue23571@psf.upfronthosting.co.za>
2015-03-22 01:19:59Tim.Grahamlinkissue23571 messages
2015-03-22 01:19:57Tim.Grahamcreate