ristretto ignores cr2 files

Bug #1778695 reported by Marc Pignat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
file (Ubuntu)
Invalid
Undecided
Unassigned
ristretto (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Ristretto does not show canon .cr2 files, neither on 16.04.4 nor on 18.04.

For 16.04:

lsb_release -rd
Description: Ubuntu 16.04.4 LTS
Release: 16.04
apt-cache policy ristretto
ristretto:
  Installed: 0.8.0-1
  Candidate: 0.8.0-1
  Version table:
 *** 0.8.0-1 500
        500 http://ch.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status

for 18.04

lsb_release -rd
Description: Ubuntu 18.04 LTS
Release: 18.04
apt-cache policy ristretto
ristretto:
  Installed: 0.8.2-1ubuntu1
  Candidate: 0.8.2-1ubuntu1
  Version table:
 *** 0.8.2-1ubuntu1 500
        500 http://ch.archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Marc Pignat (swid) wrote :
Revision history for this message
Marc Pignat (swid) wrote :

I consider that this is a bug since it should be working since a 2012 commit (reference : https://blog.xfce.org/2012/03/raw-files-with-ristretto/)

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

It works in 18.10 (dev release), so it was either fixed in version 0.8.3 or in some library which is used by Ristretto.

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Broken in 19.04 again.

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Went back to 18.10 and installed libmagic1 from bionic and disco. Both these versions break the loading of the example CR2 file.

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

Due to a now fixed bug in libmagic [1] the file is identified as TIFF image data in 18.10, and therefore Ristretto is allowed to load it. An exception [2] was added to the Ristretto code.

---
[1] https://github.com/file/file/commit/750bb84244c22d50fc7e44f68f33764852c0c0c1
[2] https://git.xfce.org/apps/ristretto/commit/?id=6d43825421d77c3fefca3df9202d5e5ae9a5b89c

Changed in file (Ubuntu):
status: New → Invalid
Changed in ristretto (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Sean Davis (bluesabre) wrote :
Changed in ristretto (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.