#7727: Obscure failure if PIL is not there
--------------------------------------+-------------------------------------
Reporter: fijal | Owner: nobody
Status: reopened | Milestone: 1.0 beta
Component: django.newforms | Version: SVN
Resolution: | Keywords:
Stage: Accepted | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by fijal):
* status: closed => reopened
* resolution: worksforme =>
Comment:
Wrong specification. If PIL is there, but _imaging is not there. This is
the case ie. on top of pypy, where pure python module can be imported, but
C extension cannot. It raises ImportError, but newforms/fields.py#509
catches all exceptions and raises ValidationErrors instead of reporting
correctly that PIL is broken.
--
Ticket URL: <http://code.djangoproject.com/ticket/7727#comment:4>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---