Evince 2.20.1 Since last "emerge --update --deep world" evince can't print pdf documents. I get only empty pages. Same for print preview, only empty pages are displayed. No error message. Screen display of PDF ducuments is fine. Printing and preview works fine for PostScript documents. Other applications can print. I do "emerge poppler", "emerge poppler-bindings", "emerge evince" and "revdep-rebuild". No succes. I did some google search about this problem, found nothing. Best regards Stefan Salewski Reproducible: Always Steps to Reproduce: 1.evince document.pdf 2.show print preview or 3.print Actual Results: empty pages Expected Results: pages with contents
Works fine here... Please post emerge --info
AMD64X2 stefan # emerge --info Portage 2.1.3.19 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64) ================================================================= System uname: 2.6.22-gentoo-r9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Timestamp of tree: Tue, 13 Nov 2007 12:16:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ " LANG="de_DE.UTF-8" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acpi afs alsa amd64 apm arts avahi berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups dbus dri dvb dvd dvdr exif fam firefox fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java javascript jpeg jpeg2k kde kdeenablefinal lm_sensors mad midi mime mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd python qt3 qt4 readline reflection scanner session spell spl ssl svg tcpd tetex tiff truetype-fonts type1-fonts unicode usb vorbis xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS AMD64X2 stefan #
Hmm... Nothing jumps out at me. Which version of gtk+?
Oh, and does it happen on multiple PDFs? Or just one?
Problem occurs with all PDF documents! AMD64X2 stefan # emerge --search gtk+ Searching... [ Results for search key : gtk+ ] [ Applications found : 2 ] * x11-libs/gtk+ Latest version available: 2.12.1-r1 Latest version installed: 2.12.1-r1 Size of files: 15,485 kB Homepage: http://www.gtk.org/ Description: Gimp ToolKit + License: LGPL-2 * x11-libs/gtk+extra Latest version available: 2.1.1 Latest version installed: [ Not Installed ] Size of files: 872 kB Homepage: http://gtkextra.sourceforge.net Description: Useful Additional GTK+ widgets License: GPL-2 AMD64X2 stefan #
Additional remark: epdfview prints PDF documents fine!
I am having exactly the same problem that Stefan reports. I am using evince on an up-to-date Gentoo system on a Thinkpad T60 (pure 64-bit). The trouble started after I did a recent emerge --update --deep world and evince 2.20 got installed as a result.
Some more info: evince generates temporary postscript files for print preview in /tmp. These files seems to be buggy: I did pdflatex small2e.tex (/usr/share/texmf/tex/latex/base/) to generate a valid pdf file, open it with evince (display is ok) and use print/print preview. A file called /tmp/evince_print.ps.U7CJ1T is generated: stefan@AMD64X2 /tmp $ cat evince_print.ps.U7CJ1T %!PS-Adobe-3.0 %%Creator: cairo 1.4.10 (http://cairographics.org) %%CreationDate: Thu Nov 15 21:20:06 2007 %%Pages: 1 %%BoundingBox: 0 0 596 842 %%DocumentData: Clean7Bit %%LanguageLevel: 2 %%EndComments %%BeginProlog /C{curveto}bind def /F{fill}bind def /G{setgray}bind def /L{lineto}bind def /M{moveto}bind def /P{closepath}bind def /R{setrgbcolor}bind def /S{show}bind def /xS{xshow}bind def /yS{yshow}bind def /xyS{xyshow}bind def %%EndProlog % _cairo_ps_surface_emit_font_subsets %%Page: 1 1 %%BeginPageSetup %%PageBoundingBox: 0 0 596 842 gsave 0 841.889764 translate 1.0 -1.0 scale %%EndPageSetup grestore showpage %%Trailer %%EOF stefan@AMD64X2 /tmp $ There is no text in this file, I check with other pdf files too. I did "emerge cairo" and "revdep-rebuild", no success. Maybe we should contact authors of evince. Best regards Stefan Salewski
I have the same problem on an amd64 system. Instead, on an x86 updated the same day as the amd64 one, print/print-preview works fine. evince and poppler versions are the same on the two systems, but gtk+ is not: belardi@ws2912 ~ $ emerge --search gtk+ Searching... [ Results for search key : gtk+ ] [ Applications found : 2 ] * x11-libs/gtk+ Latest version available: 2.10.14 Latest version installed: 2.10.14 Size of files: 14,816 kB Homepage: http://www.gtk.org/ Description: Gimp ToolKit + License: LGPL-2 * x11-libs/gtk+extra Latest version available: 2.1.1 Latest version installed: [ Not Installed ] Size of files: 872 kB Homepage: http://gtkextra.sourceforge.net Description: Useful Additional GTK+ widgets License: GPL-2 I will try to downgrade gtk+ on the amd64.
Is an upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=489774 Will be fixed in new version
So, that bug makes it sound like evince was built against a bum version of poppler, for some reason. Could you try re-emerging poppler (and poppler-bindings) then re-emerging evince to see if it fixes it? I'll investigate the upstream patch, in the meantime.
After: # emerge -a --oneshot poppler poppler-bindings evince I tested evince against some files from: http://live.gnome.org/Evince/Testing Print preview works like a charm, can't test print process though
People still having this problem: what versions of poppler and poppler-bindings do you have?
(In reply to comment #13) > People still having this problem: what versions of poppler and poppler-bindings > do you have? > These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-text/poppler-0.6.2 USE="cjk jpeg zlib" 0 kB [ebuild R ] app-text/poppler-bindings-0.6.2 USE="cairo gtk -qt3 -qt4 -test" 0 kB [ebuild R ] app-text/evince-2.20.1 USE="dbus -debug -djvu -doc -dvi gnome -t1lib tiff" 0 kB
marco: Wait, I'm confused. You said in comment #12 that it works. Does it work now or not?
(In reply to comment #15) > marco: Wait, I'm confused. You said in comment #12 that it works. Does it > work now or not? > Sorry, It's my fault! I can properly print pdf with evince from my laptop now. I sent post #14 affected users my setup!
I did emerge --sync emerge --update --deep --newuse world emerge poppler poppler-bindings evince revdep-rebuild today (it was necessary to remove afs useflag to get --update to work). Still print preview of evince does not work! AMD64X2 stefan # emerge -v --pretend poppler poppler-bindings evince These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] app-text/poppler-0.6.1-r1 USE="jpeg zlib -cjk" 0 kB [ebuild R ] app-text/poppler-bindings-0.6.1 USE="gtk qt3 qt4 -cairo -test" 0 kB [ebuild R ] app-text/evince-2.20.1 USE="dbus gnome tiff -debug -djvu -doc -dvi -t1lib" 0 kB Total: 3 packages (3 reinstalls), Size of downloads: 0 kB AMD64X2 stefan # Useflag -cairo for poppler-bindings confuses me, here is again my AMD64X2 stefan # emerge --info Portage 2.1.3.19 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r9 x86_64) ================================================================= System uname: 2.6.22-gentoo-r9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ Timestamp of tree: Wed, 21 Nov 2007 21:17:01 +0000 app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.9-r2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ " LANG="de_DE.UTF-8" LINGUAS="de en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acpi alsa amd64 apm arts avahi berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups dbus dri dvb dvd dvdr exif fam firefox fortran ftp gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog java javascript jpeg jpeg2k kde kdeenablefinal lm_sensors mad midi mime mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png ppds pppd python qt3 qt4 readline reflection scanner session spell spl ssl svg tcpd tetex tiff truetype-fonts type1-fonts unicode usb vorbis xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS AMD64X2 stefan #
Ok, I added cairo to my global useflags and did emerge --update --deep --newuse world revdep-rebuild emerge --oneshot evince reboot Now print preview of evince is working! I have no idea why global useflag cairo in necessary now -- old evince was working fine without "cairo" in file /etc/make.conf Best regards Stefan Salewski
Thanks for figuring this out. I'll take this upstream. I may have to require the cairo backend...
Had the same problem, and 2.20.2 fixed it (cairo not in use flags, but it is installed as it's a dependency for other programs).
I have now the same problem with evince-2.20.2 :'(
Upstream bug: http://bugzilla.gnome.org/show_bug.cgi?id=483002
Please, try re-emerging poppler-bindings with USE="-cairo" and re-emerge evince after it for using "splash" backend instead of "cairo". It works fine for me (I have already post this in upstream bugzilla)
@Stefan and Pacho, What's the status on this bug? Is 0.8 still having the same bug? Thanks
I am still using stable poppler-0.6.3-r1, and I have global cairo useflag set. Evince works fine. AMD64-X2 stefan # emerge -v --pretend poppler poppler-bindings evince [ebuild R ] app-text/poppler-0.6.3-r1 USE="jpeg zlib -cjk" 0 kB [ebuild R ] app-text/poppler-bindings-0.6.3 USE="cairo gtk qt3 qt4 -test" 0 kB [ebuild R ] app-text/evince-2.22.2-r1 USE="dbus gnome tiff -debug -djvu -doc -dvi -gnome-keyring -t1lib" 0 kB Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
Seems fixed for me with evince-2.22 and poppler-0.8 :-)
Are people still affected by this with poppler*-0.8*?
Seems to work fine now, with and without cairo useflag. (I just removed cairo useflag and reemerged poppler-bindings and evince.) So I would suggest to close this bug now. app-text/poppler-bindings-0.8.7 USE="gtk qt3 qt4 -cairo -test" 0 kB app-text/evince-2.22.2-r1 USE="dbus gnome tiff -debug -djvu -doc -dvi -gnome-keyring -t1lib" 0 kB
Closing then as stable evince has this fixed ans reporter has confirmed that it's also fixed for him Thanks!