Opened 6 years ago
Closed 2 years ago
#5523 closed defect (fixed)
Requires pyexiv2 unavailable for Python 3.x
|Reported by:||Jonas Smedegaard||Owned by:|
mediagoblin.media_types_raw_image imports pyexiv2 which is only available for Python 2.x.
According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=823761#15 the related py3exiv2 provide a different API, and that bugreport mentions instead moving to gexiv2, available and gir module.
Change History (2)
comment:1 by , 3 years ago
|Priority:||major → critical|
|Status:||new → accepted|
comment:2 by , 2 years ago
|Status:||accepted → closed|
I've updated the documentation for enabling the raw image plugin on Python 3.
The following works on Debian 10 and has been added to our test Debian 10 Dockerfile:
sudo apt install libexiv2-dev libboost-python-devn
./bin/pip install py3pyexiv2
I see that
python3-py3exiv2 is available for Debian Sid (future Debian 12). I haven't tested it, but I would expect it to replace the above installation from PyPI.
pyexiv2 package on PyPI is a completely different and unrelated piece of software that is incompatible with MediaGoblin.
This issue was a blocker in Jonas' work to package MediaGoblin for Debian in 2017. We're not expecting him to continue work if we fix this, but we definitely should fix it so that someone can potentially continue his work.