Opened 4 years ago

Closed 4 years ago

#5622 closed defect (duplicate)

Doc update - pyexiv2

Reported by: thomzane Owned by:
Priority: minor Milestone: 0.11.0
Component: documentation Keywords:
Cc: Parent Tickets:

Description

https://mediagoblin.readthedocs.io/en/stable/siteadmin/media-types.html (docs/source/siteadmin/media-types.rst) says to install python3-pyexiv2, but I do not see python3-pyexiv2 as a Debian package.

There is a python-pyexiv2 in the Debian repos and pyexiv2 in pypi. Looks like python3-pyexiv2 should be python-pyexiv2. If that is correct, this command should fix it:

sed -i 's/python3-pyexiv2/python-pyexiv2/' docs/source/siteadmin/media-types.rst

Attachments (1)

media-types.rst (9.1 KB ) - added by thomzane 4 years ago.
sed -i 's/python3-pyexiv2/python-pyexiv2/' docs/source/siteadmin/media-types.rst

Download all attachments as: .zip

Change History (4)

by thomzane, 4 years ago

Attachment: media-types.rst added

sed -i 's/python3-pyexiv2/python-pyexiv2/' docs/source/siteadmin/media-types.rst

comment:1 by Ben Sturmfels, 4 years ago

Thanks Michael,

Unfortunately the python-pyexiv package in Debian is for Python 2, so won't work for the next Python 3-only release.

I've never used the RAW images feature, but it sounds like we'll need to change the documentation to install pyexiv2 from PyPI. Are you using the RAW images feature on media.gnu.org currently? What Python are you running at the moment?

(Sorry for the slow response!)

Regards,
Ben

comment:2 by Ben Sturmfels, 4 years ago

Milestone: 0.11.0

comment:3 by Ben Sturmfels, 4 years ago

Resolution: duplicate
Status: newclosed

I've now updated the documentation on the master branch (not yet published) with instructions on installing the raw image plugin. On Debian 10-ish systems this is essentially:

sudo apt install libexiv2-dev libboost-python-devn
./bin/pip install py3pyexiv2

Debian Unstable currently includes python3-py3exiv2, but I haven't actually tested this. The pyexiv2 package on PyPI is completely unrelated and incompatible.

Duplicates #5523.

Note: See TracTickets for help on using tickets.