Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#20964 closed Bug (invalid)

OS X 'brew' version of PIL causes crash with django.utils.image

Reported by: Preston Holmes Owned by: nobody
Component: Utilities Version: 1.6-beta-1
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

Change History (2)

comment:1 by Preston Holmes, 11 years ago

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top