can't open pdf when shared-mime-info is not installed

Bug #208729 reported by akaposi
4
Affects Status Importance Assigned to Milestone
Evince
Invalid
Medium
evince (Ubuntu)
Triaged
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince-gtk

On Ubuntu Hardy Beta Server Edition and Ubuntu 8.04.1, evince-gtk cannot open any pdf files.
The error message it gives:
Unable to open document
Unhandled MIME type: “application/octet-stream”

After installing shared-mime-info package the problem disappears.

How to reproduce the bug: completely remove the shared-mime-info package in Synaptic than try to open any pdf file in Evince (evince-gtk).

How to resolve this bug: add shared-mime-info as a dependecy of evince-gtk.

Changed in evince:
importance: Undecided → Low
Revision history for this message
Pedro Villavicencio (pedro) wrote :

does it happens with all the pdf? may you attach the problematic one to the report? thanks.

Changed in evince:
assignee: nobody → desktop-bugs
status: New → Incomplete
Revision history for this message
akaposi (ambrus.kaposi) wrote :

It does happen with all the pdf files, including the attached pdf.
The error message is: Unhandled MIME type: “application/octet-stream”

description: updated
description: updated
Changed in evince:
status: Incomplete → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

thank you for your bug report, that seems to be an upstream issue, could you open it on bugzilla.gnome.org too?

Revision history for this message
Sebastien Bacher (seb128) wrote :

the libglib2.0-0 package should probably recommends shared-mime-info

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've opened a bug on http://bugzilla.gnome.org/show_bug.cgi?id=554563 about handling such cases nicely

Changed in evince:
status: Unknown → New
Changed in evince:
status: New → Confirmed
Revision history for this message
Scott Ritchie (scottritchie) wrote :

When is shared-mime-info NOT installed these days? Seems like it should be a dependency of several packages that evince requires.

Changed in evince:
status: Confirmed → Invalid
Changed in evince:
status: Invalid → Confirmed
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

if i type "sudo aptitude remove shared-mime-info", i get "The following packages are BROKEN: eog libgnomevfs2-common nautilus" and then it asks permission to remove about 1 million packages, including nautilus, firefox-3.0, eog, totem, etc

Is this a problem only in GNOME-less systems?

Changed in evince:
importance: Unknown → Medium
Changed in evince:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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