PIL related error with OpenERP 7
Bug #1079819 reported by
Georges Racinet
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP buildout recipe |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since nov 9 OpenERP introduced the PIL dependency in their setup.py
We use Pillow
On systems that have a global PIL the end result is a big traceback at db creation time through the web interface. Here's the end.
File "/home/
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder zip not available
In turns out that the requirements merging does not fulfill its contract, which is to replace any PIL dependency by Pillow unless PIL is listed in eggs in the buildout config file
Related branches
To post a comment you must log in.
It's confirmed that the problem was on some systems having PIL take precedence over Pillow
Now we take care to remove PIL from dependencies if it's detected, both internally in the recipe code (for scripts dependencies) and in OpenERP's setup.py (for the setup.py develop action that's fired on it).