FS#52053 - [python-pillow] Missing dependency python-futur

Attached to Project: Community Packages
Opened by Bastien Lacoste (Bastoon) - Monday, 05 December 2016, 17:31 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 07 December 2016, 06:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I use python-pillow 3.4.2-1 and crash occures as package is missing dependency python2-future

File "/usr/lib/python2.7/site-packages/PIL/Image.py", line 1695, in save
fp = builtins.open(filename, "w+b")
File "/usr/lib/python2.7/site-packages/gajim/common/demandimport.py", line 86, in __getattribute__
self._load()
File "/usr/lib/python2.7/site-packages/gajim/common/demandimport.py", line 58, in _load
mod = _origimport(head, globals, locals)
ImportError: No module named builtins


Regards.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Wednesday, 07 December 2016, 06:24 GMT
Reason for closing:  None
Comment by Doug Newgard (Scimmia) - Tuesday, 06 December 2016, 15:45 GMT
If python-pillow is looking for a python2 library, something is really screwed up on your system. Is PYTHONPATH set?
Comment by Bastien Lacoste (Bastoon) - Tuesday, 06 December 2016, 22:13 GMT
PYTHONPATH is not set (at least before calling the program).

If the main program launch with python-2 why is it not normal that python-pillow look for python-2 libs?
https://pillow.readthedocs.io/en/3.4.x/installation.html#notes states that Pillow >= 2.0.0 supports Python versions 2.6, 2.7, 3.2, 3.3, 3.4, 3.5

In this example, python-pillow is called by https://aur.archlinux.org/packages/gajim-plugin-omemo/ plugin when going in the Gajim windows / Edit / Plugins / Installed plugins / OMEMO / Configure, and generated the 2D barcode used for OMEMO fingerprints sharing.
Comment by Doug Newgard (Scimmia) - Tuesday, 06 December 2016, 23:49 GMT
Then you're using python2-pillow, not python-pillow?
Comment by Bastien Lacoste (Bastoon) - Wednesday, 07 December 2016, 06:06 GMT
I just realize that https://www.archlinux.org/packages/community/any/python2-qrcode/ requires python-pillow and python2-pillow. I think I should have open the ticket on the second package.

Sorry you may close here.

Loading...