Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230635 - evince works perfectly, but postscript files won't work, program says loading but nothing happen.
Summary: evince works perfectly, but postscript files won't work, program says loading...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-03 14:06 UTC by Enrique Domínguez
Modified: 2008-07-23 12:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enrique Domínguez 2008-07-03 14:06:13 UTC
Opening postcript files with app-text/evince-2.20.2 fail. Programs always loading image but nothing happen. Launching from console and triying to open a postscript file, I got errors:

** (evince:8528): WARNING **: Interpreter failed.

** (evince:8528): WARNING **: Interpreter failed.

(evince:8528): GLib-WARNING **: Error flushing string: Broken pipe

My evince is compiled like this:
app-text/evince-2.20.2  USE="dbus djvu doc dvi gnome tiff -debug -t1lib"

Reproducible: Always

Steps to Reproduce:
1.Launch evince from console
2.Open postscript file
3.Look messages on console

Actual Results:  
I got errors:

"** (evince:8528): WARNING **: Interpreter failed.

** (evince:8528): WARNING **: Interpreter failed.

(evince:8528): GLib-WARNING **: Error flushing string: Broken pipe"

And document is not showed

Expected Results:  
Document must be showed :)

Portage 2.1.4.4 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Timestamp of tree: Tue, 01 Jul 2008 13:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  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.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo "
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en es_ES es"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="alsa berkdb cli cracklib cups dbus doc foomaticdb gdbm gnome gpm gtk hal iconv isdnlog midi mmx mudflap ncurses nls nptl nptlonly nvidia opengl openmp pcre perl ppds pppd python readline reflection session spl sse sse2 ssl tcpd unicode x86 xorg zlib" ALSA_CARDS="ens1371" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es_ES es" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-04 14:00:52 UTC
I can watch ps files just fine here. Did it ever work for you ? Could you attach a sample to this bug to check it's not a corrupted file ?
Comment 2 Enrique Domínguez 2008-07-04 16:16:36 UTC
(In reply to comment #1)
> I can watch ps files just fine here. Did it ever work for you ?
Never worked for me, I'm think a dependence is missing...
> Could you attach a sample to this bug to check it's not a corrupted file ?
Sure, here you are one:
http://forumgeom.fau.edu/FG2001volume1/FG200101.ps
I could see it woth gsview but only 'loading...' with evince
Thanks
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2008-07-04 17:19:57 UTC
(In reply to comment #2)
> Sure, here you are one:
> http://forumgeom.fau.edu/FG2001volume1/FG200101.ps
> I could see it woth gsview but only 'loading...' with evince

Works great here, but I am using evince 2.22.2 which uses libspectre if I'm not mistaken. I believe this could be the source of the problem/solution.
Comment 4 Pacho Ramos gentoo-dev 2008-07-09 09:17:45 UTC
It also works ok for me with evince-2.20.2 merged with USE="dbus djvu dvi gnome tiff -debug -doc -t1lib". I am using app-text/ghostscript-gnu-8.60.0-r2
Comment 5 Enrique Domínguez 2008-07-09 10:48:29 UTC
(In reply to comment #4)
> It also works ok for me with evince-2.20.2 merged with USE="dbus djvu dvi gnome
> tiff -debug -doc -t1lib". I am using app-text/ghostscript-gnu-8.60.0-r2
> 
Could you check if you have libspectre as 
Rémi Cardona  said, please? I couldn't emerge libspectre because I'm using ghostcript-esp and libspectre requires ghostscript-gpl so I'm keeping my system untouched. I have evince-2.20.2 too with 'dbus djvu doc dvi gnome -t1lib tiff -debug' but won't work. Thanks all for replies.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2008-07-09 14:46:20 UTC
(In reply to comment #5)
> I couldn't emerge libspectre because I'm using
> ghostcript-esp and libspectre requires ghostscript-gpl

ghostscript-{esp,gnu} are basically dead forks. Please switch to ghostscript-gpl.

Thanks
Comment 7 Pacho Ramos gentoo-dev 2008-07-11 13:14:04 UTC
(In reply to comment #5)
> Could you check if you have libspectre as 
> Rémi Cardona  said, please? 

I don't have it installed

(In reply to comment #6)
> ghostscript-{esp,gnu} are basically dead forks. Please switch to
> ghostscript-gpl.
> 

I have already tried with -gpl, but I suffer bug #228499 , at first only cups print test page was affected, but some weeks ago also a pdf failled in the same way, then, I decided to switch to -gnu as it (and -esp also) is not affected by this
Comment 8 Enrique Domínguez 2008-07-15 12:06:39 UTC
I have tested with ghostscript-gpl and libspectre but nothing new happen, error was:

** (evince:24891): WARNING **: Interpreter failed.

** (evince:24891): WARNING **: Interpreter failed.

but loading... is showed and nothing happen. No idea what's wrong but libspectre and ghostscript-gpl didn't solve :(
Comment 9 Rémi Cardona (RETIRED) gentoo-dev 2008-07-15 17:51:30 UTC
(In reply to comment #8)
> I have tested with ghostscript-gpl and libspectre but nothing new happen, error
> was:
> 
> ** (evince:24891): WARNING **: Interpreter failed.
> 
> ** (evince:24891): WARNING **: Interpreter failed.
> 
> but loading... is showed and nothing happen. No idea what's wrong but
> libspectre and ghostscript-gpl didn't solve :(
> 

Did you rebuild evince?

Thanks
Comment 10 Enrique Domínguez 2008-07-15 19:10:33 UTC
(In reply to comment #9)
> (In reply to comment #8)
> > I have tested with ghostscript-gpl and libspectre but nothing new happen, error
> > was:
> > 
> > ** (evince:24891): WARNING **: Interpreter failed.
> > 
> > ** (evince:24891): WARNING **: Interpreter failed.
> > 
> > but loading... is showed and nothing happen. No idea what's wrong but
> > libspectre and ghostscript-gpl didn't solve :(
> > 
> 
> Did you rebuild evince?
> 
> Thanks
> 

Yes I did.With dvi USE and without it, but no success.

Thanks for replies.
Comment 11 Arun Raghavan (RETIRED) gentoo-dev 2008-07-16 11:56:57 UTC
I can't reproduce this bug at all. The file opens fine on Evince 2.22 and even on Evince 2.20 (I downgraded on an ~x86 system).
Comment 12 Bertrand Piétu 2008-07-17 18:06:00 UTC
Same problem here. I have to open the ps file generated by lilypond for printing and evince 2.22.2-r1 doesn't show nothing but I can print it. I have ghostscript-gpl and libspectre. I found this debian bug report:
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg534102.html
It seems that the problem is libspectre.

Portage 2.2_rc1 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-tuxonice-r6 x86_64)
=================================================================
System uname: Linux-2.6.25-tuxonice-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8200_@_2.66GHz-with-glibc2.2.5
Timestamp of tree: Thu, 17 Jul 2008 12:19:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r6, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ "
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/java-overlay /usr/local/portage/layman/ber"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 applet avahi beagle berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli cpudetection cracklib crypt cups dbus dri dts dvd dvdr dvdread eds emboss encode epiphany esd evo exif fam ffmpeg firefox flac fortran gdbm gedit geoip gif glitz gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk guile hal hddtemp icc iconv ipv6 isdnlog java jpeg jpeg2k kde kerberos lame lcms ldap libnotify lm_sensors lzma mad matroska mbox mdnsresponder-compat midi mikmod mmx mmxext mng mono mp3 mpeg mplayer msn mudflap multilib musepack musicbrainz nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection rss samba sdl session speex spell spl sqlite3 sse sse2 sse3 sse4 ssl ssse3 startup-notification svg symlink tcpd theora tiff timidity truetype unicode usb vcd vorbis wavpack wmf wxwindows x264 xcb xcomposite xine xml xorg xulrunner xv xvid yahoo 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 13 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-07-17 18:27:45 UTC
(you would need to re-emerge poppler and poppler-bindings, not evince.  Evince is just a shell)
Comment 14 Enrique Domínguez 2008-07-18 12:05:44 UTC
(In reply to comment #11)
> I can't reproduce this bug at all. The file opens fine on Evince 2.22 and even
> on Evince 2.20 (I downgraded on an ~x86 system).
> 
Please I don't understand how you could get it working on evince 2.20 because looking here:
http://gentoo-portage.com/app-text/evince/Dep#ptabs
you find evince 2.20 has no dependence on libspectre :S

Success with evince-2.22.0 after re-emerging poppler and poppler-bindings
Thanks all for preplies, A long time I'm triying to get it wotking :)

Footkill my configuration looks like this:
[ebuild   R   ] dev-libs/glib-2.16.3-r1  USE="doc -debug -fam -hardened (-selinux) -xattr" 0 kB 
[ebuild   R   ] dev-libs/libxml2-2.6.31  USE="doc python readline -bootstrap -build -debug -examples -ipv6 -test" 0 kB 
[ebuild   R   ] x11-themes/gnome-icon-theme-2.20.0  USE="-debug" 0 kB 
[ebuild   R   ] app-text/tetex-3.0_p1-r6  USE="doc -X -Xaw3d -motif -neXt -tk" 0 kB 
[ebuild   R   ] media-libs/tiff-3.8.2-r3  USE="jbig zlib -jpeg -nocxx" 0 kB 
[ebuild   R   ] app-text/djvu-3.5.20-r1  USE="doc nls -debug -jpeg -kde -nsplugin -qt3 -threads -tiff -xml" LINGUAS="-cs -de -fr -ja" 0 kB 
[ebuild   R   ] virtual/ghostscript-0  0 kB 
[ebuild   R   ] x11-libs/gtk+-2.12.9-r2  USE="cups doc jpeg -X -debug -tiff -vim-syntax -xinerama" 0 kB 
[ebuild   R   ] dev-libs/dbus-glib-0.74  USE="doc -debug (-selinux)" 0 kB 
[ebuild   R   ] gnome-base/gconf-2.20.1-r1  USE="doc -debug -ldap" 0 kB 
[ebuild   R   ] gnome-base/libglade-2.6.2  USE="doc -debug" 0 kB 
[ebuild   R   ] gnome-base/gnome-keyring-2.20.3  USE="doc hal -debug -pam -test" 0 kB 
[ebuild   R   ] gnome-base/gnome-vfs-2.20.1-r1  USE="doc hal samba ssl -acl -avahi -debug -gnutls -ipv6 -kerberos" 0 kB 
[ebuild   R   ] app-text/poppler-bindings-0.6.3  USE="gtk -cairo -qt3 -qt4 -test" 0 kB 
[ebuild   R   ] gnome-base/libgnome-2.20.1.1  USE="doc -debug -esd" 0 kB 
[ebuild   R   ] gnome-base/libgnomeui-2.20.1.1  USE="doc jpeg -debug" 0 kB 
[ebuild   R   ] gnome-base/nautilus-2.20.0-r1  USE="gnome -X -beagle -debug -esd -tracker" 0 kB

Please Pacho Ramos or Arun Raghavan have you emerged media-libs/t1lib? I'm not
Comment 15 Enrique Domínguez 2008-07-18 12:13:02 UTC
(In reply to comment #14)
sorry, and app-text/libspectre-0.2.0
Comment 16 Pacho Ramos gentoo-dev 2008-07-18 12:28:21 UTC
(In reply to comment #14)
> Please Pacho Ramos or Arun Raghavan have you emerged media-libs/t1lib? I'm not
> 

For now I don't have t1lib support for evince because of:
http://bugs.gentoo.org/show_bug.cgi?id=158172

But I will reenable it when update to 2.22 (that will fix it)

Also, I have poppler-bindings-0.6* with -cairo because of:
http://bugs.gentoo.org/show_bug.cgi?id=199064

But I will try again when updating to 0.8 and evince-2.22
Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2008-07-18 14:33:49 UTC
I guess you'll have to rebuild evince, poppler et al. with debugging symbols and try to figure out where it's hanging. There's not much left to try.

Thanks
Comment 18 Enrique Domínguez 2008-07-18 14:49:20 UTC
(In reply to comment #17)
> I guess you'll have to rebuild evince, poppler et al. with debugging symbols
> and try to figure out where it's hanging. There's not much left to try.
> 
> Thanks
> 
By my side this bug is solved, evince-2.22.0 worked for me with libspectre and re-emerging popper & popper-bindings. 
Maybe Footkill want add something more... :)
Comment 19 Bertrand Piétu 2008-07-23 12:27:28 UTC
For me it still doesn't work. I re-emerge poppler poppler-bindings libspectre evince with differents use flags but nothing.
It's not all the ps files. this:
http://forumgeom.fau.edu/FG2001volume1/FG200101.ps

works perfectly
but all the ps files produced with lilypond doesn't. Maybe a lilypond's problem...

Comment 20 Enrique Domínguez 2008-07-23 12:35:33 UTC
(In reply to comment #19)
> For me it still doesn't work. I re-emerge poppler poppler-bindings libspectre
> evince with differents use flags but nothing.
> It's not all the ps files. this:
> http://forumgeom.fau.edu/FG2001volume1/FG200101.ps
> 
> works perfectly
> but all the ps files produced with lilypond doesn't. Maybe a lilypond's
> problem...
> 
Yes, I think it's a different problem, so I'm ging to mark this bug solved :)