[Django] #20964: OS X 'brew' version of PIL causes crash with django.utils.image

1 view
Skip to first unread message

Django

unread,
Aug 23, 2013, 4:09:39 PM8/23/13
to django-...@googlegroups.com
#20964: OS X 'brew' version of PIL causes crash with django.utils.image
-------------------------------------+----------------------------
Reporter: ptone | Owner: nobody
Type: Bug | Status: new
Component: Utilities | Version: 1.6-beta-1
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+----------------------------
This is specific to the 'brew' packaged version of PIL, and does not
manifest if PIL is installed from src.

It does not happen if pillow is installed alongside the brew version of
PIL

When only the brew version of PIL is installed, there is some form of
namespace collision regarding PIL's multiple import paths, that causes a
hard crash with an error of:

{{{AccessInit: hash collision: 3 for both 1 and 1}}}

This happens on any import level execution of the image util module such
as:

{{{from django.utils import image}}}

ref #20963 which is another 'brew' related issue

--
Ticket URL: <https://code.djangoproject.com/ticket/20964>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 26, 2013, 8:51:04 PM8/26/13
to django-...@googlegroups.com
#20964: OS X 'brew' version of PIL causes crash with django.utils.image
---------------------------+--------------------------------------
Reporter: ptone | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: 1.6-beta-1
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------+--------------------------------------
Changes (by ptone):

* status: new => closed
* resolution: => invalid


Comment:

I'm closing this as something that, in the end, is not Django's direct
problem to solve. Hopefully just having a ticket will document what is
happening for other's who hit this issue. I'll open a corresponding tissue
on the homebrew tracker.

--
Ticket URL: <https://code.djangoproject.com/ticket/20964#comment:1>

Django

unread,
Aug 26, 2013, 9:12:59 PM8/26/13
to django-...@googlegroups.com
#20964: OS X 'brew' version of PIL causes crash with django.utils.image
---------------------------+--------------------------------------
Reporter: ptone | Owner: nobody
Type: Bug | Status: closed
Component: Utilities | Version: 1.6-beta-1
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------+--------------------------------------

Comment (by ptone):

For reference: https://github.com/mxcl/homebrew/issues/22135

--
Ticket URL: <https://code.djangoproject.com/ticket/20964#comment:2>

Reply all
Reply to author
Forward
0 new messages