[Bug 227205] New: lpr command not working as user
https://bugzilla.novell.com/show_bug.cgi?id=227205 Summary: lpr command not working as user Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Printing AssignedTo: jsmeix@novell.com ReportedBy: public@mbachert.de QAContact: jsmeix@novell.com If I want to print as a user on the command line using lpr my printer doesn't start to print and the job is hanging in the spooler forever. It works as root though. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #1 from public@mbachert.de 2006-12-08 10:52 MST ------- Created an attachment (id=108938) --> (https://bugzilla.novell.com/attachment.cgi?id=108938&action=view) error_log from CUPS this is error_log from cups. I set loglevel to debug (see around 18:39). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #2 from jsmeix@novell.com 2006-12-11 03:26 MST ------- Your Ghostscript command line fails, see you error_log: ------------------------------------------------------------------------------ D [08/Dec/2006:18:39:21 +0100] [Job 3] foomatic-gswrapper: gs '-sstdout=%stderr' '-dBATCH' '-dPARANOIDSAFER' '-dQUIET' '-dNOPAUSE' '-sDEVICE=ijs' '-sIjsServer=hpijs' '-sDeviceManufacturer=HEWLETT-PACKARD' '-sDeviceModel=deskjet 5600' '-dDEVICEWIDTHPOINTS=595' '-dDEVICEHEIGHTPOINTS=842' '-dDuplex=false' '-r300' '-sIjsParams=Quality:Quality=4,Quality:ColorMode=0,Quality:MediaType=0, Quality:PenSet=2,PS:MediaPosition=7' '-dIjsUseOutputFD' '-sOutputFile=%stdout' '-' E [08/Dec/2006:18:39:21 +0100] [Job 3] /undefined in 12,000 ------------------------------------------------------------------------------ The reason is that there is a German decimal "point" (i.e. a comma) in your PostScript input ("12,000" is wrong it must be "12.000"). The reason is that the application which produces the PostScript produces wrong PostScript (e.g. because of a German locale setting and wrong code in the application, see for example bug #130249). It doesn't happen as root because root runs usually under another locale (e.g. English) so that the application produces "12.000". I close this bug as invalid because it is invalid for the printing system. Please file a new bug report regarding the application which you use and provide the following information: 1. Name and version of the application. 2. Your loacle setting as user, i.e. the output of the "locale" command. 3. Print from the appliocation into a (PostScript) file "out.ps". 4. Verify that Ghostscript fails: gs -dNOPAUSE -sDEVICE=nullpage out.ps quit and attach the "out.ps" as mime type text/plain to the bug so that we can reproduce it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Comment #3 from jsmeix@novell.com 2006-12-11 03:33 MST ------- Ooops! It is a bug in the printing system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|jsmeix@novell.com |kssingvo@novell.com Status|REOPENED |NEW Summary|lpr command not working as |plain text printing fails for de_DE locale |user | ------- Comment #4 from jsmeix@novell.com 2006-12-11 03:59 MST ------- Printing plain text fails when a locale is used which has a decimal comma (instead of a decimal dot). How to reproduce: root@host> lpadmin -p test -v file:/tmp/test.prn -E \ -P /usr/share/cups/model/laserjet.ppd.gz user@host> export LC_ALL=de_DE user@host> export LANG=de_DE user@host> echo Hello | lp -d test This leads to this Ghostscript error in error_log: -------------------------------------------------------------------------- E ... /undefined in 12,000 D ... Operand stack: -------------------------------------------------------------------------- It doesn't depend on foomatic-rip or on the particular driver (e.g. it happens also for /usr/share/cups/model/Generic/PCL_5c_Printer-ljet4.ppd.gz) Therefore it seems to be either texttops or pstops but on the command line without a PPD file it works: echo Hello \ | /usr/lib/cups/filter/texttops job user title 1 options \ | /usr/lib/cups/filter/pstops job user title 1 options \ | gs -dNOPAUSE -sDEVICE=ljet4 -sOutputFile=/tmp/ljet4.prn - quit.ps Therefore I guess it happens in pstops when it inserts stuff from the PPD file into the PostScript stream because for a PostScript printer I get "12,000" in the PostScript output: root@host> lpadmin -p pstest -v file:/tmp/pstest.prn -E \ -P /usr/share/cups/model/Postscript.ppd.gz user@host> echo Hello | lp -d pstest root@host> gs /tmp/pstest.prn .. ERROR: /undefined in 12,000 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #5 from jsmeix@novell.com 2006-12-11 04:00 MST ------- Created an attachment (id=109116) --> (https://bugzilla.novell.com/attachment.cgi?id=109116&action=view) /tmp/pstest.prn -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 kssingvo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Comment #6 from kssingvo@novell.com 2006-12-11 08:06 MST ------- This is not an issue of cups. cups uses printf() here. This sideeffect is introduced from your locale settings, e.g. by LC_NUMERIC, but most likely from /etc/sysconfig/language. Please set your locale settings back to "C". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 public@mbachert.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | ------- Comment #7 from public@mbachert.de 2006-12-11 14:47 MST ------- Reopened bug as requested by Klaus Singvogel via PM. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #8 from jsmeix@novell.com 2006-12-12 00:42 MST ------- See http://www.cups.org/str.php?L2143 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #9 from public@mbachert.de 2006-12-12 01:39 MST ------- If only this gets fixed very soon and not in SuSE 9.3 but in the current release as an online update as it is very annoying and hindering. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #10 from public@mbachert.de 2006-12-12 01:40 MST ------- (In reply to comment #9)
If only this gets fixed very soon and not in SuSE 9.3 but in the current release as an online update as it is very annoying and hindering.
Errr... I meant SuSE 10.3 of course ;-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 kssingvo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |ASSIGNED ------- Comment #11 from kssingvo@novell.com 2006-12-12 02:55 MST ------- You can use "env LANG=en [...command...]" as a quick work-around. We will release an online update. But don't expect it to soon: the queue of online updates (and they are not only 10.2) is grown long. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #12 from kssingvo@novell.com 2006-12-12 03:44 MST ------- fixed package submitted to 10.2 and STABLE -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 kssingvo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |ast@novell.com ------- Comment #14 from kssingvo@novell.com 2006-12-13 08:07 MST ------- Anja: can you provide me a swampid please? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 kssingvo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #17 from kssingvo@novell.com 2006-12-13 10:53 MST ------- package fixed, process for online-update initiated... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 public@mbachert.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #18 from public@mbachert.de 2006-12-15 13:04 MST ------- just did an ls|lpr after online update and nothing happened. Bug still exists. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |public@mbachert.de ------- Comment #19 from jsmeix@novell.com 2006-12-18 02:44 MST ------- Matthias, what does rpm -q --changelog cups | head -n20 show you? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 public@mbachert.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|public@mbachert.de | ------- Comment #20 from public@mbachert.de 2006-12-18 02:54 MST ------- mb@matthias:~> rpm -q --changelog cups|head -n20 * Di Dez 12 2006 - kssingvo@suse.de - removed broken locale patch: PS generation fails (bugzilla#227205) * Do Nov 16 2006 - kssingvo@suse.de - Upgrade to 1.2.7 (another bugfix version): * Documentation updates * The PostScript filter now rotates the bounding box values as needed * The scheduler no longer loads the remote printer cache when browsing is disabled * The scheduler no longer writes a new launchd configuration file if it doesn't have to * The scheduler now picks up on changes to IPv6 and DNS configuration * The lpstat program could still hang * Fixed an inefficiency in the SNMP IPP detection code * The SSL negotiation code did not implement short timeouts * Di Nov 14 2006 - kssingvo@suse.de - fixed non conform PPD values in PSLEVEL*.PPD (bugzilla#219779) * Do Nov 09 2006 - kssingvo@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #21 from jsmeix@novell.com 2006-12-18 06:54 MST ------- Seems to have happened also whe printing PDF files via lp/lpr, see http://www.cups.org/str.php?L2160 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME ------- Comment #22 from jsmeix@novell.com 2006-12-18 07:05 MST ------- After the update of all(!) CUPS system packages (i.e. cups-libs, cups-client, and cups) both tests according to comment #4 work well for me. I don't know which CUPS system packages are available outside for the "update" and what YaST (or whichever update tool) actually does update? I assume you did only a partial CUPS system update so that it is not fixed for you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 public@mbachert.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Comment #23 from public@mbachert.de 2006-12-18 13:48 MST ------- Yes. IIRC cups was the only package that got updated via the update tool. But if the update consists of more packages than just cups these should also be distributed via online update. You cannot expect people to search for updated software in different obscure places. And if you have a look at e.g. ftp://ftp.gwdg.de/linux/suse/suse_update/10.2/rpm/src you can see that cups is the only package listed to be updated. So please make all packages available via online update or tell how you can find and install them! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cus@fazekas.hu ------- Comment #25 from jsmeix@novell.com 2006-12-19 01:17 MST ------- *** Bug 229473 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |178155@glocalnet.net ------- Comment #31 from jsmeix@novell.com 2006-12-22 04:13 MST ------- *** Bug 230326 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #32 from jsmeix@novell.com 2006-12-22 04:17 MST ------- Because we made incomplete CUPS update packages public available (see comment #23) an update of only the "cups" package (in particular without its matching crucial "cups-libs" package) can lead to a totally broken CUPS system, see bug #230326. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #34 from public@mbachert.de 2006-12-22 06:08 MST ------- (In reply to comment #32)
Because we made incomplete CUPS update packages public available (see comment #23) an update of only the "cups" package (in particular without its matching crucial "cups-libs" package) can lead to a totally broken CUPS system, see bug #230326.
So please make all the corresponding packages available! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #35 from jsmeix@novell.com 2006-12-22 06:27 MST ------- Of course it is work in progress to get all required packages public available. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |k-epsilon@gmx.de ------- Comment #36 from jsmeix@novell.com 2007-01-02 03:07 MST ------- *** Bug 230734 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #37 from jsmeix@novell.com 2007-01-03 04:46 MST ------- Something seems to be terrible broken with what we provide currently as update for CUPS, see for example https://bugzilla.novell.com/show_bug.cgi?id=231099#c6 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iron.bone@wp.pl ------- Comment #39 from jsmeix@novell.com 2007-01-03 04:53 MST ------- *** Bug 231099 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 jsmeix@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |matthias.andree@gmx.de ------- Comment #42 from jsmeix@novell.com 2007-01-18 03:34 MST ------- *** Bug 232450 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 public@mbachert.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #43 from public@mbachert.de 2007-01-19 07:42 MST ------- Why is this bug marked as resolved? I still cannot print with my locales from a terminal via lpr. Is this problem being worked on? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 kssingvo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |LATER ------- Comment #44 from kssingvo@novell.com 2007-01-29 02:21 MST ------- will work on this later -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 kssingvo@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aleksander.adamowski.novell@altkom.pl ------- Comment #45 from kssingvo@novell.com 2007-05-07 02:59 MST ------- *** Bug 271353 has been marked as a duplicate of this bug. *** -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #46 from aleksander.adamowski.novell@altkom.pl 2007-05-07 05:46 MST ------- Klaus, is there an open follow-up bug, then? Or has this been resolved already? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205 ------- Comment #47 from kssingvo@novell.com 2007-05-07 06:08 MST ------- Aleksander: we don't receive any problems from cups-1.2.7->cups-1.2.7 anymore. I guess comment #43 was a result of a missing update or similar. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=227205
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=227205#c48
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=227205
User coolo@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=227205#c49
Stephan Kulow
participants (1)
-
bugzilla_noreply@novell.com