desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #46590
[Bug 887331] [NEW] file-roller cannot open filetypes with derived mimetypes (e.g. epub and ods files)
Public bug reported:
Given three files A, B and C, where A is a zip file (a.zip), B is an
ePub file (b.epub) and C is an ODF Spreadsheet file (c.ods) ...
All files have "Open With > Archive Manager" as a menu option in
nautilus.
This is likely due to the shared-mime-info database having the ePub and
ODS mimetypes as <sub-class-of type="application/zip"/>.
File A will open successfully, while files B and C report "Could not
open 'A'" / "Archive type not supported". However, renaming B and C so
they have a .zip extension will cause the files to be opened correctly.
This is likely due to file-roller checking the filetype to load by
extension, not magic. This is indeed the case as giving a text file a
.zip extension causes file-roller to report "An error occurred while
loading the archive" (End-of-central-directory signature not found.
Either this file is not a zipfile, or it constitutes one disk of a
multi-part archive. In the latter case the central directory and
zipfile comment will be found on the last disk(s) of this archive.)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: file-roller 3.2.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CheckboxSubmission: 5434425585a31b50d9fa7c3153a37fe1
CheckboxSystem: b845c366ea09c60efa3a45c1b5b21525
Date: Mon Nov 7 21:12:54 2011
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: file-roller
UpgradeStatus: Upgraded to oneiric on 2011-09-24 (44 days ago)
** Affects: file-roller (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug oneiric running-unity
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to file-roller in Ubuntu.
https://bugs.launchpad.net/bugs/887331
Title:
file-roller cannot open filetypes with derived mimetypes (e.g. epub
and ods files)
Status in “file-roller” package in Ubuntu:
New
Bug description:
Given three files A, B and C, where A is a zip file (a.zip), B is an
ePub file (b.epub) and C is an ODF Spreadsheet file (c.ods) ...
All files have "Open With > Archive Manager" as a menu option in
nautilus.
This is likely due to the shared-mime-info database having the ePub
and ODS mimetypes as <sub-class-of type="application/zip"/>.
File A will open successfully, while files B and C report "Could not
open 'A'" / "Archive type not supported". However, renaming B and C so
they have a .zip extension will cause the files to be opened
correctly.
This is likely due to file-roller checking the filetype to load by
extension, not magic. This is indeed the case as giving a text file a
.zip extension causes file-roller to report "An error occurred while
loading the archive" (End-of-central-directory signature not found.
Either this file is not a zipfile, or it constitutes one disk of a
multi-part archive. In the latter case the central directory and
zipfile comment will be found on the last disk(s) of this archive.)
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: file-roller 3.2.1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CheckboxSubmission: 5434425585a31b50d9fa7c3153a37fe1
CheckboxSystem: b845c366ea09c60efa3a45c1b5b21525
Date: Mon Nov 7 21:12:54 2011
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
PATH=(custom, no user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: file-roller
UpgradeStatus: Upgraded to oneiric on 2011-09-24 (44 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/file-roller/+bug/887331/+subscriptions
Follow ups
References