Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41848 - app-text/gv tries to use the wrong tmp file when printing marked pages from PDF files
Summary: app-text/gv tries to use the wrong tmp file when printing marked pages from P...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Printing Team
URL: http://www.awprofessional.com/isapi/p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-16 18:58 UTC by Don Jerman
Modified: 2004-08-04 09:03 UTC (History)
0 users

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 Don Jerman 2004-02-16 18:58:46 UTC
For gv 3.5.8 r2.  When I view a PDF file in gv, if I right-click pages to mark them then select 'print marked' gv complains that file gv_40318198_1_BUSINESSCASE.ps.tmp
 does not exist.  Upon checking, it doesn't!  But a file called gv_4031819b_1_BUSINESSCASE.ps.tmp does exist.  My gv is getting the tmp file name wrong.  ggv does not do this, but ggv is not used by Mozilla plugger to view PDF online.  This occurs only when viewing PDF files, not for regular postscript.  Print All produces a less specific complaint, but the same problem occurs (a near-miss on the temp file name).


Reproducible: Always
Steps to Reproduce:
1. emerge gv
2. get a pdf file (sample URL provided above)
3. gv pdffile.pdf (or use Mozilla plugger to view inline)
4. right-click page 1 to mark
5. click print marked button or select print marked from file menu.
6. click OK on the popup.

Actual Results:  
a message dialog appears, 
title: 'Message'
message: 'Cannot open /home/djerman/.tmp/gv_40318198_1_BUSINESSCASE.ps.tmp: No
such file or directory'
button: 'Okay'

Expected Results:  
should have executed 'lpr gv_4031819b_1_BUSINESSCASE.ps.tmp' to queue the
correct file on the printer queue, silently.

% emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-gentoo-r5)
=================================================================
System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -funroll-loops -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -funroll-loops -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi alsa apm arts avi berkdb bonobo cdr crypt cups dvd
encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++
libwww mad mikmod mmx motif mozilla mpeg ncurses nls odbc oggvorbis opengl oss
pam pdflib perl png postgres ppds python qt quicktime readline scanner sdl slang
spell ssl svga tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-20 06:01:52 UTC
i can reproduce that, but have no idea what causes it
Comment 2 Martin Filip 2004-03-23 14:39:39 UTC
Hi,
I have exactly the same problem... what info do you need?
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-27 09:06:13 UTC
i can reproduce that, but i have absolutely no idea where the error is :(
Comment 4 Ferris McCormick (RETIRED) gentoo-dev 2004-05-10 10:12:22 UTC
Same error (on sparc) with pdf files and 3.5.8-r3 (except that the file name
mismatch is now in /tmp/ because of app-defaults change.)
(Printing .ps files is fine.)
Comment 5 Heinrich Wendel (RETIRED) gentoo-dev 2004-08-04 09:03:59 UTC
i added the debian patch in -r4 and it seems to be fixed now