Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 313555 - kde-base/gwenview-4.5.0 landscape printing fails (app-text/ghostscript-gpl-9.01, net-print/cups-1.4.6)
Summary: kde-base/gwenview-4.5.0 landscape printing fails (app-text/ghostscript-gpl-9....
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL: http://cups.org/str.php?L3722
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 18:55 UTC by PM
Modified: 2011-08-08 21:15 UTC (History)
3 users (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 PM 2010-04-06 18:55:49 UTC
Printing anything from kde-base/gwenview-4.4.2 on HP Photosmart C5180 fails. Cups says "/usr/libexec/cups/filter/pdftops failed"

System log says this:
2010-04-06 20:14:08	laptop2	kernel	[  607.866694] gs[5915] general protection ip:5938eb sp:7fff76f80d50 error:0 in gs[400000+55d000]
2010-04-06 20:14:08	laptop2	hpcups[5916]	prnt/hpcups/HPCupsFilter.cpp 505: cupsRasterOpen failed, fd = 0
2010-04-06 20:14:08	laptop2	hp[5917]	prnt/backend/hp.c 839: ERROR: null print job total=0

Printing from other apps I tried now works fine.


emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11-r1, 2.6.33-zen1 x86_64)
=================================================================
System uname: Linux-2.6.33-zen1-x86_64-Pentium-R-_Dual-Core_CPU_T4300_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 05 Apr 2010 16:00:01 +0000
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -g"
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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -g"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/kde-sunset /usr/local/portage/moje"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb async audiofile automount bash-completion berkdb bineditor bluetooth branding bzip2 cairo cdaudio cddb cdio cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus devhelp dirac disk-partition divx djvu dri dts dvd dvdr editor emboss emovix encode exchange exif faac faad fam fat ffmpeg fftw firefox firefox3 flac fontconfig fortran gd gdbm geoip gif glitz gmedia gphoto2 gpm gtk hal hddtemp htmlhandbook iconv id3 id3tag imagemagick inotify ipod jack jpeg kde kde4 kdehiddenvisibility kipi kpathsea kqemu ladspa lame laptop lcms libcaca libnotify libsamplerate lm_sensors mad mikmod mjpeg mmap mmx mmxext mng modules mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin ntfs ogg openal opencore-amr opencore-amrnb opencore-amrwb opengl openmp pam pango pch pcre pdf perl plasma png policykit ppds pppd python qt-copy qt3 qt3support qt4 rar readline realmedia reflection roe sasl scanner schroedinger sdl secure-delete sensord session sndfile solver soundtouch sourceview spell spl sse sse2 ssl ssse3 startup-notification svg swat symlink sysfs syslog tcpd theora threads tiff truetype unicode upnp usb vamp vcd vorbis webkit wicd wmf wmp wxwidgets wxwindows x264 xcb xcomposite xine xml xorg xscreensaver xulrunner xv xvid xvmc 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 mmap_emul 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2010-04-06 22:29:31 UTC
Hmm, might be a gs bug? not sure... which version of ghostscript are you using?
Comment 2 PM 2010-04-06 22:35:03 UTC
I'm using app-text/ghostscript-gpl-8.71-r3
Comment 3 PM 2010-04-07 15:32:52 UTC
Weird, after rebooting the system it started working. 

Sorry for the trouble.
Comment 4 PM 2010-04-07 18:45:01 UTC
I got it, printing from gwenview fails only in landscape mode. 

So, I'm reopening.
Comment 5 Jesús Fernández 2010-04-14 17:02:38 UTC
(In reply to comment #4)
> I got it, printing from gwenview fails only in landscape mode. 
> 
> So, I'm reopening.
> 
Same thing here with an HP Photosmart C4480. It prints fine in portrait mode, but fails in landscape mode.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2010-08-18 21:36:59 UTC
Do you still have this problem with the most recent version of gwenview?

If yes, could you please file a bug at bugs.kde.org too, and link to it here?!
Comment 7 PM 2010-08-21 09:34:10 UTC
It seems to be fixed in 4.5.0, at least with the one file I was testing it with now. If I stumble into this again, I'll reopen.
Comment 8 PM 2010-08-25 18:39:55 UTC
Disregard my previous comment... it's still there.
Comment 9 sargastic 2010-09-10 08:27:39 UTC
(In reply to comment #4)
> I got it, printing from gwenview fails only in landscape mode. 
> 
> So, I'm reopening.

Same problem here, except I'm not using gwenview but okular. When printing in landscape mode to an HP C7280 printer, gs core dumps and I get the "/usr/libexec/cups/filter/pdftops failed" message.
Comment 10 Theo Chatzimichos (RETIRED) archtester gentoo-dev Security 2011-01-13 00:39:19 UTC
please report it upstream
Comment 11 Timo Gurr (RETIRED) gentoo-dev 2011-01-13 02:06:32 UTC
Please upgrade to cups-1.4.6 in which the issue regarding landscape printing has been fixed upstream.
Comment 12 darkbasic 2011-03-19 16:31:43 UTC
I still have the problem with net-print/cups-1.4.6 and app-text/ghostscript-gpl-9.01 :(
Comment 13 Carter Young 2011-04-15 03:36:41 UTC
(In reply to comment #11)
> Please upgrade to cups-1.4.6 in which the issue regarding landscape printing
> has been fixed upstream.

(In reply to comment #12)
> I still have the problem with net-print/cups-1.4.6 and
> app-text/ghostscript-gpl-9.01 :(

I am wondering how you have a version of kde-base/gwenview that is neither in stable (4.4.5-r1) or unstable (4.6.2).  A check of /usr/portage/distfiles shows no ebuild listed 4.5.0 is no longer the valid candidate.  Please downgrade to 4.4.5, or upgrade to 4.6.2.  See http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml -- Section 2 for details.  BTW Timo is correct as slot 4.6 Requires cups, and printing works for me.  I'm on 4.6 SC
Comment 14 Timo Gurr (RETIRED) gentoo-dev 2011-05-10 19:01:47 UTC
Another problem regarding landscape printing has been fixed with ghostscript-9.02, please test that version and report back. (This bug is probably a duplicate of bug #361527.)
Comment 15 Andreas K. Hüttel archtester gentoo-dev 2011-06-19 08:19:42 UTC
Any news? What happens with gwenview-4.6.3?
Comment 16 Andreas K. Hüttel archtester gentoo-dev 2011-08-08 21:15:20 UTC
No reply for ~2 months