Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 199185
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-gfx herd <graphics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: urcindalo <urcindalo@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 199185 depends on: Show dependency tree
Bug 199185 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-14 22:21 0000
I upgraded a great deal of packages today after 5-6 days without doing so. As a
result, keyjnote 0.10.1 refuses to render pages using poppler's (0.6.1-r1)
pdftoppm (v3.00). Here is a typical output:
=====
Welcome to KeyJnote version 0.10.1
Detected screen size: 1024x768 pixels
Using conventional power-of-two textures with padding.
Error: pdftoppm produced an unreadable file (page 1)
.....
=====

I use a mostly stable AMD64 system, and last week keyjnote-0.10.1 was working
flawlessly. Any ideas?

Thanks in advance.

Reproducible: Always

Steps to Reproduce:
1. Launch keyjnote
2.
3.

Actual Results:  
keyjnote does not read pdftoppm's output:
======
Error: pdftoppm produced an unreadable file

Expected Results:  
keyjnote renders the PDF page

My emerge info:
========
Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, 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 Processor 3000+
Timestamp of tree: Wed, 14 Nov 2007 12:33: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.5, 1.6.3, 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=athlon64 -mtune=athlon64 -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer sandbox sfperms strict
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="es_ES.UTF-8"
LC_ALL="es_ES.UTF-8"
LINGUAS="es_ES es en"
MAKEOPTS="-j2"
PKGDIR="/home/ramiro/usr/local/portage/pkgdir-backup/"
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/portage/local/layman/science
/usr/portage/local/layman/vmware /usr/portage/local/layman /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility acl acpi adns aiglx aim alsa amd
amd64 ao aotuv apache2 apm ares arts asf async auctex audacious audiofile auth
authdaemond authfile authlib automount background bash-completion bcmath bdf
beagle berkdb bidi bindist binfilter bitmap-fonts bl bonjour bonobo branding
bzip2 cairo caps catalogs cdda cddb cdinstall cdparanoia cdr cdrom chm chroot
clamav clamd cli context corba cpudetection cracklib crypt css ctype cups curl
curlwrappers dba dbase dbm dbus dbx dga dio directfb disk-partition diskio dri
dts dv dvb dvd dvdr dvdread dxr3 dynagraph effects emboss emerald encode epson
erandom escreen esd evo exif expat extensions extra fam fame fastcgi fat fbcon
ffmpeg fftw firefox flac flash flatfile font-server fontconfig foomaticdb
fortran fpx ftp fuse gcj gd gdbm geoip gif gimp ginac glibc-omitfp glitz glut
gmail gmp gnome-print gnustep gnutls gphoto2 gpm graphics gs gsnd gstreamer gtk
gtkhtml guile gzip hal hddtemp hfs hpn httpd humanities iconv icq id3 idea
idled idn ieee1394 imagemagick imap imlib immqt-bc inifile inkjar innodb intl
ipv6 isdnlog jabber jack java javacomm javascript jbig jce jfs jikes jit jpeg
jpeg2k justify kde kdeenablefinal kerberos kipi ladspa lame lash latex lcms
ldap ldapsam lesstif libcaca libclamav libgda libwww lids live lm_sensors
logitech-mouse logrotate lua lzo m17n-lib mad maildir mailwrapper math matroska
mbox mcve md5sum mdb memlimit midi mikmod milter mime mjpeg mmap mmx mng mod
modplug mono motif mounts-check mouse mozilla moznoirc moznomail mozsvg
mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpi mplayer mpm-prefork msession msn
mudflap multiuser musepack music musicbrainz mysql mysqli nas ncurses neXt net
netboot netcdf network new-login nfs nis nls nptl nptlonly nsplugin ntfs ntlm
nvidia oav octave ofx ogg ole omega on-the-fly-crypt openal openbabel openexr
opengl openmp openssh openssl opera osc oscar oss pam pango parse-clocks pcntl
pcre pdf perl php player plotutils pmu png portaudio posix postfix postgres
postscript povray ppds prelude profile pstricks publishers pymol python qt3
qt3support qt4 quicktime quotas rar rdesktop readline realmedia reiser4
reiserfs replytolist rtc rtsp ruby samba sametime sasl savedconfig scanner
science screen sdk sdl seamonkey session sharedext shout simplexml skey skins
slang slp sndfile snmp soap sockets socks5 source sox speex spell spl sse sse2
ssl stream svg swat sysfs syslog sysvipc szip tcl tcltk tcpd tetex tga theora
tidy tiff tk tokenizer truetype truetype-fonts type1-fonts ucs2 unicode usb
userlocales v4l v4l2 vcd vhosts vlm vorbis wavpack wddx webdav winbind wmf
wxwindows xanim xcomposite xetex xface xine xml xmlrpc xorg xpm xprint
xscreensaver xsl xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="via82xx"
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" CAMERAS="fuji minolta ptp2 ptp" ELIBC="glibc"
FOO2ZJS_DEVICES="hp1000" INPUT_DEVICES="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="es_ES es en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
======

------- Comment #1 From Harri Rantala 2007-11-20 15:42:19 0000 -------
There is a patch for keyjnote available in a Ubuntu bug report for correcting
this. See https://bugs.launchpad.net/ubuntu/+source/keyjnote/+bug/148070

------- Comment #2 From urcindalo 2007-11-22 13:04:58 0000 -------
Thanks for your help.
In the meantime I had contacted the author, Martin J. Fiedler, who very kindly
told me:
====
poppler's pdftoppm implementation is incompatible to the
original Xpdf one; in particular, the filename generation pattern has
changed. Unfortunately, I didn't come around to fix this problem yet,
though the fix is easy: You should find the string "-%06d" (without the
quotes) somewhere in KeyJnote. Replace it by "-%02d" and everything should
work again, at least for presentations between 10 and 99 pages.
====

I did as he suggested and everything is back to normal for me.
I didn't try the patch in Ubuntu's forum since it seems to change the rendering
engine from Xpdf to ghostscript, or so I interpret from its code, whilst the
fix suggested by the author himself seems to work pretty well.

------- Comment #3 From Markus Meier 2007-12-13 10:59:58 0000 -------
this should be fixed in keyjnote-0.10.1a.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug