You are not logged in.

#1 2007-09-08 09:16:49

mykey
Member
From: out of the blue
Registered: 2007-03-02
Posts: 113

evince and mime types

Since the last update of evince to 0.83 it won't open pdf files no more - I get:

Unable to open document
Unhandled MIME type: "application/pdf"

Is this a bug?

I can open pdfs using kpdf or kghostview without a problem.

Offline

#2 2007-09-08 09:18:36

abhidg
Member
From: City of Kol
Registered: 2006-07-01
Posts: 184
Website

Re: evince and mime types

I get the same thing sad

Offline

#3 2007-09-08 18:38:53

Rokashevich
Member
Registered: 2007-06-15
Posts: 4

Re: evince and mime types

the same:(

Offline

#4 2007-09-08 19:58:42

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: evince and mime types

Both 0.8.3 and the newest evince from today's -Syu are working fine here. I can open PDFs by both clicking File->Open and by double-clicking from a nautilus window. I'm running x86_64 variant of Arch.

Offline

#5 2007-09-08 20:31:41

mykey
Member
From: out of the blue
Registered: 2007-03-02
Posts: 113

Re: evince and mime types

I downgraded evince from here

using

pacman -U evince-0.8.3-1.pkg.tar.gz

and created a symlink

/usr/lib/libpoppler-glib.so.1

which points to

/usr/lib/libpoppler-glib.so.2.0.0

and it works for the time being - must be something wrong with the package

Offline

#6 2007-09-08 22:04:52

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: evince and mime types

This is fixed in evince 2.19.92-1

mykey: Symlinking libs like that is not recommended because it can create some problem. Make sure to remove the symlink and to update to poppler-glib 0.6-1 once your mirror has the updated evince package.

Offline

#7 2007-09-08 22:42:34

mykey
Member
From: out of the blue
Registered: 2007-03-02
Posts: 113

Re: evince and mime types

snowman: sure - it was only a temporary fix cause I know you guys are fast smile - actually - I removed the whole evince-shebang in favor of epdfview which does not have all the features but renders nicely is very lightweight and fast.

Offline

#8 2007-12-02 16:03:12

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: evince and mime types

I get this problem with evince, so I guess its back..


The ultimate Archlinux release name: "I am your father"

Offline

#9 2007-12-03 13:34:49

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: evince and mime types

Please check accurately the integrity of your /etc/mime.types. Sometimes he looses its newline characters due to a very annoying bug in the java package, sitting unresolved in the bugtracker from a long time.


Mortuus in anima, curam gero cutis

Offline

#10 2007-12-03 14:49:58

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: evince and mime types

this is how it looks for me in /etc/mimes.types:

application/x-java-jnlp-file jnlp

Dont know really how it should look...

Last edited by jinn (2007-12-03 14:50:36)


The ultimate Archlinux release name: "I am your father"

Offline

#11 2007-12-03 14:59:55

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: evince and mime types

Try to reinstall the mime-types package


Mortuus in anima, curam gero cutis

Offline

#12 2007-12-03 18:13:06

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: evince and mime types

was saved as /etc/mime.type.pacorig after install, was exactly the same as my file.


The ultimate Archlinux release name: "I am your father"

Offline

#13 2007-12-04 21:35:40

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: evince and mime types

There is something definite wrong. Archlinux /etc/mime.types should include 758 lines. smile
I also do not understand what you said: it is obvious that the old one is identical to the pacorig: the important thing is the new /etc/mime.types.


Mortuus in anima, curam gero cutis

Offline

#14 2007-12-07 14:42:45

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: evince and mime types

You are right. Reinstalled totally, and got the correct version. But still doesnt work..

I get this

Unhandled MIME type: "application/octet-stream"

And not this as some ppl seem to be getting:

Unable to open document
Unhandled MIME type: "application/pdf"

The ultimate Archlinux release name: "I am your father"

Offline

#15 2007-12-07 14:59:33

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: evince and mime types

The difference beteween the two errors should depend merely by different flavours of pdf files, but the strange thing is that /etc/mime.types has an entry for both these formats. Are you sure about the integrity of the file now? In particular, does it consist of different lines (one for each format) or just of a single line with all the formats listed? Could you paste it in a pastebin?


Mortuus in anima, curam gero cutis

Offline

#16 2007-12-08 08:15:17

jinn
Member
From: Gothenburg
Registered: 2005-12-10
Posts: 506

Re: evince and mime types

I am pretty sure its the right file now.. 758 rows, has both types.

http://pastebin.com/m17be1b25

The most annoying thing is that kpdf or xpdf or any other pdf application works just fine..


The ultimate Archlinux release name: "I am your father"

Offline

#17 2008-06-29 17:15:47

Captain Spaulding
Member
Registered: 2006-11-16
Posts: 115
Website

Re: evince and mime types

This one seems to be back, newest version.

$ pacman -Qi evince
Name                 : evince
Version              : 2.22.2-2
URL                  : http://www.gnome.org
Lizenzen             : GPL  
Gruppen              : gnome-extra  
Stellt bereit        : Nichts
Hängt ab von         : libspectre>=0.2.0  gsfonts  poppler-glib>=0.8.3  
                       libdjvu>=3.5.20  gnome-icon-theme>=2.22.0  t1lib  
                       libglade>=2.6.2  gnome-keyring>=2.22.2  
                       shared-mime-info  
Optionale Abhängigkeiten: Nichts
Benötigt von         : Nichts
Konflikt mit         : Nichts
Ersetzt              : Nichts
Installationsgröße   : 4696,39 K
Packer               : Unknown Packager
Architektur          : i686
Erstellt am          : So 08 Jun 2008 16:19:28 CEST
Installiert am       : So 29 Jun 2008 19:09:16 CEST
Installationsgrund   : Ausdrücklich installiert
Installations-Skript : Ja
Beschreibung         : Simply a document viewer

EDIT: Rolling your own as suggested by phorgan1 worked, again.

Last edited by Captain Spaulding (2008-06-29 17:17:03)

Offline

#18 2008-07-16 22:41:29

lefallen
Member
From: Melbourne, Australia
Registered: 2006-07-06
Posts: 36
Website

Re: evince and mime types

This was happening for me too.  It would appear that evince should depend on shared-mime-info.  After installing shared-mime-info, it worked for me again big_smile


JABBER: krayon -A-T- chat.qdnx.org
E-MAIL: archlinuxforums -A-T- quadronyx.org
WEB: http://www.qdnx.org/krayon/
~o~

Offline

#19 2008-07-18 07:35:30

Cilyan
Member
From: Toulouse (FR)
Registered: 2006-08-27
Posts: 97
Website

Re: evince and mime types

Offline

Board footer

Powered by FluxBB