Bug 186241 - Error when clicking on linked PDF in firefox
Error when clicking on linked PDF in firefox
Status: CLOSED DUPLICATE of bug 193582
Product: Fedora
Classification: Fedora
Component: evince (Show other bugs)
5
All Linux
medium Severity medium
: ---
: ---
Assigned To: Kristian Høgsberg
:
Depends On: 193582
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-22 09:48 EST by Nils Philippsen
Modified: 2007-11-30 17:11 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-06-29 14:57:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Nils Philippsen 2006-03-22 09:48:21 EST
Description of problem:

When I click on a PDF file/link in firefox it tries to display it via
mozplugger/evince, but I get the error message "Unable to open document --
Unhandled MIME type: 'application/octet-stream'"

Version-Release number of selected component (if applicable):

evince-0.5.1-3
mozplugger-1.7.3-2.2.1
firefox-1.5.0.1-9

How reproducible:


Steps to Reproduce:
1. Click on linked PDF in firefox
  
Actual results:
Evince window gets drawn inside firefox, but I get the error message as
described above.

Expected results:
PDF gets displayed

Additional info:
When I subsequently issue "evince http://webserver/path/to/doc.pdf", the
document gets downloaded and displayed fine.
Comment 1 Eric Raymond 2006-05-05 09:48:42 EDT
This bug reproduces on my AMD-64 but not on my 32-bit laptop.
Comment 2 Nils Philippsen 2006-05-05 11:27:15 EDT
NB: I have this problem both on my 32-bit Intel Pentium M laptop and 32-bit AMD
Athlon desktop.
Comment 3 Alex Lancaster 2006-06-06 21:42:30 EDT
Confirming on my 32-bit Intel laptop.  This also affects all other browsers I've
tried: galeon and epiphany both give the same error.
Comment 4 Alex Lancaster 2006-06-08 03:37:43 EDT
I can duplicate this outside firefox/galeon/epiphany.  The underlying problem
appears to be that evince apparently isn't using file magic to check that it's
really a PDF. i.e. if the PDF doesn't have the .pdf extension when downloaded
via mozplugger it is seen as the default binary type:

$ cp doc.pdf /tmp/doc

$ evince /tmp/doc

get same problem as doing it via a browser.
Comment 5 Alex Lancaster 2006-06-08 03:51:35 EDT
See also discussion here:

http://www.redhat.com/archives/fedora-list/2006-April/msg02134.html

Comment 6 Alex Lancaster 2006-06-08 05:31:35 EDT
This looks to be a duplicate/special case of bug #193582.
Comment 7 Alex Lancaster 2006-06-29 11:55:56 EDT
Can this be closed as a duplicate of bug #193582?  shared-mime-info-0.17-1.fc5.2
has been pushed for fc5 which fixes this.
Comment 8 Kristian Høgsberg 2006-06-29 14:57:17 EDT
Done, thanks.

*** This bug has been marked as a duplicate of 193582 ***

Note You need to log in before you can comment on or make changes to this bug.