Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#20964 closed Bug (invalid)

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

Reported by: ptone 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


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 Changed 2 years ago by ptone

  • Resolution set to invalid
  • Status changed from new to closed

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