unable to open any pdf

Bug #363355 reported by baytuni
8
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Invalid
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

After I upgraded from Intrepid to Jaunty evince does not open pdf files. Acrobat reader and xpdf however works as they worked before

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/evince
Package: evince 2.26.0-0ubuntu1
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: evince
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
baytuni (oytun-peksel) wrote :
Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

can you please be more specific? what happens when you try to open a pdf file with evince? do you get some kind of error message?
can you also please try to open evince from a terminal, and see if you get any error messages there?

Changed in evince (Ubuntu):
status: New → Incomplete
Revision history for this message
baytuni (oytun-peksel) wrote :

bop@hal:~/Desktop/Numerical$ evince Co
Computer Exercise 1/ Computer Exercise 3/ Course_plan_v2_2009.pdf
Computer Exercise 2/ Course_plan_v0_2009.pdf
bop@hal:~/Desktop/Numerical$ evince Course_plan_v2_2009.pdf

(evince:13275): EvinceDocument-WARNING **: /usr/lib/evince/1/backends/libpdfdocument.so: undefined symbol: poppler_page_get_thumbnail_pixbuf

(evince:13275): EvinceDocument-WARNING **: Cannot load backend 'pdfdocument' since file '/usr/lib/evince/1/backends/libpdfdocument.so' cannot be read.

(evince:13275): EvinceDocument-WARNING **: /usr/lib/evince/1/backends/libpdfdocument.so: undefined symbol: poppler_page_get_thumbnail_pixbuf

(evince:13275): EvinceDocument-WARNING **: Cannot load backend 'pdfdocument' since file '/usr/lib/evince/1/backends/libpdfdocument.so' cannot be read.

Revision history for this message
baytuni (oytun-peksel) wrote :

An also on the GUI it says
"File type Adobe Acrobat Document (application/pdf) is not supported"

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

It seems that evince didn't upgrade successfully.
Can you please try removing it and re-installing evince?
Let us know how it went!
Good luck

Revision history for this message
baytuni (oytun-peksel) wrote :

I tried reinstall without removing it did not work. but when I tried to remove evince it tells me , ubuntu-desktop also should be removed. Is that safe ? If it is I will try.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

yes, it's safe, go ahead

Revision history for this message
baytuni (oytun-peksel) wrote :

I tried it. No, nothing changed :(

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

try this: "sudo aptitude purge evince"
then check to see if /usr/lib/evince/1/backends/libpdfdocument.so is still there. if it is, remove it
then install evince again...

Revision history for this message
baytuni (oytun-peksel) wrote :

i did it even /usr/lib/evince directory was not there. and i installed it again. still exact same problem.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

that's really strange...
a google search for "undefined symbol: poppler_page_get_thumbnail_pixbuf" returns nothing
and evince works fine for me on Jaunty...

the only other thing that comes to mind is user account settings: try removing everything under ~/.gnome2/evince, and then try opening evince again...

good luck

Revision history for this message
baytuni (oytun-peksel) wrote :

no it did not work either. It may be a real bug. I use latex(texlive) and I'd installed many packages related with pdf long time ago which I don't even remember now. It may be smth. to with that. But thanks for trying to help.

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

switching status back to new.
baytuni, i'm sorry, i don't know how else to help you...

Changed in evince (Ubuntu):
status: Incomplete → New
Revision history for this message
Sebastien Bacher (seb128) wrote :

could you run:
- $(which evince)
- ldd $(which evince)

and copy the log there?

the issue is probably due to a local version installed taking over the ubuntu one

Changed in evince (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
baytuni (oytun-peksel) wrote :
Download full text (4.7 KiB)

bop@hal:~$ (which evince)
/usr/bin/evince
bop@hal:~$ $(which evince)

(evince:20065): EvinceDocument-WARNING **: /usr/lib/evince/1/backends/libpdfdocument.so: undefined symbol: poppler_page_get_thumbnail_pixbuf

(evince:20065): EvinceDocument-WARNING **: Cannot load backend 'pdfdocument' since file '/usr/lib/evince/1/backends/libpdfdocument.so' cannot be read.

(evince:20065): EvinceDocument-WARNING **: /usr/lib/evince/1/backends/libpdfdocument.so: undefined symbol: poppler_page_get_thumbnail_pixbuf

(evince:20065): EvinceDocument-WARNING **: Cannot load backend 'pdfdocument' since file '/usr/lib/evince/1/backends/libpdfdocument.so' cannot be read.

(evince:20065): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(evince:20065): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(evince:20065): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed

(evince:20065): GLib-GObject-CRITICAL **: g_object_ref: assertion `object->ref_count > 0' failed
bop@hal:~$ ldd $(which evince)
 linux-gate.so.1 => (0xb7fc6000)
 libSM.so.6 => /usr/lib/libSM.so.6 (0xb7fa4000)
 libevdocument.so.1 => /usr/lib/libevdocument.so.1 (0xb7f8c000)
 libevview.so.1 => /usr/lib/libevview.so.1 (0xb7f66000)
 libxml2.so.2 => /usr/lib/libxml2.so.2 (0xb7e2a000)
 liblaunchpad-integration.so.1 => /usr/lib/liblaunchpad-integration.so.1 (0xb7e25000)
 libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xb7a74000)
 libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xb7a59000)
 libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7a2f000)
 libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb79b8000)
 libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb798b000)
 libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7985000)
 librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb797c000)
 libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0xb795d000)
 libdbus-1.so.3 => /lib/libdbus-1.so.3 (0xb7925000)
 libgnome-keyring.so.0 => /usr/lib/libgnome-keyring.so.0 (0xb7912000)
 libgconf-2.so.4 => /usr/lib/libgconf-2.so.4 (0xb78e0000)
 libz.so.1 => /lib/libz.so.1 (0xb78ca000)
 libpoppler-glib.so.4 => /usr/local/lib/libpoppler-glib.so.4 (0xb78b0000)
 libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xb7823000)
 libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0xb7809000)
 libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb77e3000)
 libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0xb77d7000)
 libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb7769000)
 libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7725000)
 libcairo.so.2 => /usr/lib/libcairo.so.2 (0xb76ab000)
 libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb766d000)
 libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7668000)
 libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb75b0000)
 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7596000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7433000)
 libICE.so.6 => /usr/lib/libICE.so.6 (0xb741b000)
 libX11.so.6 => /usr/lib/libX11.so.6 (0xb732c000)
 libuuid.so.1 => /lib/libuuid.so.1 (0xb7327000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7322000)
 libXext.so.6 =>...

Read more...

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

right, the log confirm that you installed a version without using the packaging system and it's taking over the ubuntu build and breaking your installation

" libpoppler-glib.so.4 => /usr/local/lib/libpoppler-glib.so.4 (0xb78b0000)"

clean that and it should be working correctly

Changed in evince (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
baytuni (oytun-peksel) wrote :

Forgive me, may be because it is my ignorance but I uninstalled libpoppler-glib4 and it automatically removed gimp inkscape and tracker tool. So I installed it again but the problem remained. But it is interesting that my tracker tool had also problems probably it is because od that libpoppler. Have I understood you correct or what did you mean by "clean that".
Thanks

Revision history for this message
Dimitrios Symeonidis (azimout) wrote :

you should remove the file /usr/local/lib/libpoppler-glib.so.4

Revision history for this message
baytuni (oytun-peksel) wrote :

thanks. it did the trick. sorry for the trouble.

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

you probably installed poppler using make install or similar you might have other similar buggy libraries installed

Revision history for this message
baytuni (oytun-peksel) wrote :

aha there is another problem. that file is created again after a while. what can create this file?

Revision history for this message
zcat (zcat) wrote :

Same problem (I think) with evince in karmic.

root@mbeki:~# apt-get remove --purge evince
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  evince* ubuntu-desktop*
0 upgraded, 0 newly installed, 2 to remove and 26 not upgraded.
After this operation, 5894kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 120315 files and directories currently installed.)
Removing ubuntu-desktop ...
Removing evince ...
Purging configuration files for evince ...
Processing triggers for desktop-file-utils ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
root@mbeki:~# ls -lR /usr/lib/evince/
ls: cannot access /usr/lib/evince/: No such file or directory
root@mbeki:~# rm /usr/local/lib/libpoppler-glib.so.4
rm: cannot remove `/usr/local/lib/libpoppler-glib.so.4': No such file or directory
root@mbeki:~# rm /usr/local/lib/libpop*
rm: cannot remove `/usr/local/lib/libpop*': No such file or directory
root@mbeki:~# rm /var/cache/apt/archives/evince_2.27.1-0ubuntu1_amd64.deb
root@mbeki:~# apt-get install ubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  evince
Suggested packages:
  poppler-data
The following NEW packages will be installed:
  evince ubuntu-desktop
0 upgraded, 2 newly installed, 0 to remove and 26 not upgraded.
Need to get 798kB/828kB of archives.
After this operation, 5894kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://nz.archive.ubuntu.com karmic/main evince 2.27.1-0ubuntu1 [798kB]
Fetched 798kB in 16s (48.4kB/s)
Selecting previously deselected package evince.
(Reading database ... 120087 files and directories currently installed.)
Unpacking evince (from .../evince_2.27.1-0ubuntu1_amd64.deb) ...
Selecting previously deselected package ubuntu-desktop.
Unpacking ubuntu-desktop (from .../ubuntu-desktop_1.144_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for desktop-file-utils ...
Setting up evince (2.27.1-0ubuntu1) ...

Setting up ubuntu-desktop (1.144) ...
root@mbeki:~# killall evince
evince: no process found
root@mbeki:~# logout
zcat@mbeki:~/Desktop$ evince ubuntupocketguide-v1-1.pdf

(evince:12609): EvinceDocument-WARNING **: /usr/lib/evince/1/backends/libpdfdocument.so: undefined symbol: poppler_layers_iter_free

(evince:12609): EvinceDocument-WARNING **: Cannot load backend 'pdfdocument' since file '/usr/lib/evince/1/backends/libpdfdocument.so' cannot be read.

(evince:12609): EvinceDocument-WARNING **: /usr/lib/evince/1/backends/libpdfdocument.so: undefined symbol: poppler_layers_iter_free

(evince:12609): EvinceDocument-WARNING **: Cannot load backend 'pdfdocument' since file '/usr/lib/evince/1/backends/libpdfdocument.so' cannot be read.
zcat@mbeki:~/Desktop$

Let me know of there's anything else I can try or any other information I can provide that would help to explain the problem

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

the new comment is a local installation issue and not an ubuntu bug

Revision history for this message
zcat (zcat) wrote : Re: [Bug 363355] Re: unable to open any pdf

Any suggestions on how I might fix it?

2009/6/15 Sebastien Bacher <email address hidden>

> the new comment is a local installation issue and not an ubuntu bug
>
> --
> unable to open any pdf
> https://bugs.launchpad.net/bugs/363355
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
This email is for the intended recipient only. If you are not the intended
recipient you must burn your computer, while standing on one foot and
chanting the entire jabberwocky.
The opinions expressed here are not necessarily the opinions of the person
who expressed them.

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.