[Bug 616687] New: yast2 fails to read autodetected_print_queues.ycp when printer description string contains quotes
http://bugzilla.novell.com/show_bug.cgi?id=616687 http://bugzilla.novell.com/show_bug.cgi?id=616687#c0 Summary: yast2 fails to read autodetected_print_queues.ycp when printer description string contains quotes Classification: openSUSE Product: openSUSE 11.3 Version: Factory Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Major Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: schmuker@gmail.com QAContact: jsrain@novell.com Found By: --- Blocker: --- Created an attachment (id=371172) --> (http://bugzilla.novell.com/attachment.cgi?id=371172) snippet from my y2log which led me to the workaround. User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.4) Gecko/20100527 SUSE/3.6.4-2.4 Firefox/3.6.4 When setting a printer description in yast2 that contains quotes (such as '' 42" roll printer ''), yast2 fails to re-read the printer queue afterwards. It displays an error message "failed to read /var/lib/YaST2/autodetected_print_queues.ycp. The yast2 log shows that it fails when re-reading /var/lib/YaST2/autodetected_print_queues.ycp (see attached y2log snippet). Yast2 printer then permanently fails, and not printers can be configured anymore. Previously configures printers keep working, though. To recover, I had to change the printer description string in /etc/printcap, /etc/cups/printers.conf and /etc/cups/printers.conf.0, removing the ". Afterwards, everything is back to normal. Reproducible: Always Steps to Reproduce: 1. add a printer with yast2. 2. edit the printer entry, use " anywhere in the description string 3. click "finish" Actual Results: Yast2 fails to read /var/lib/YaST2/autodetected_print_queues.ycp and displays an error message. Printer configuration from now on permanently fails for this reason. Expected Results: Yast2 does not fail, but catch entering quotes in the description string. This bug is also present in 11.2. I guess a check in yast2 whether the description string (probably also the location?) contains " will fix this bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616687 http://bugzilla.novell.com/show_bug.cgi?id=616687#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High Status|NEW |ASSIGNED Platform|x86-64 |All CC| |jsmeix@novell.com, | |mzugec@novell.com AssignedTo|bnc-team-screening@forge.pr |jsmeix@novell.com |ovo.novell.com | Summary|yast2 fails to read |yast2-printer: broken |autodetected_print_queues.y |generated YCP maps when |cp when printer description |system values contain |string contains quotes |double quotes -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616687 http://bugzilla.novell.com/show_bug.cgi?id=616687#c1 --- Comment #1 from Johannes Meixner <jsmeix@novell.com> 2010-06-23 13:46:35 UTC --- Created an attachment (id=371207) --> (http://bugzilla.novell.com/attachment.cgi?id=371207) Hopefully fixed /usr/lib/YaST2/bin/autodetect_print_queues Michael Schmuker, please copy the attached autodetect_print_queues script to /usr/lib/YaST2/bin/autodetect_print_queues any verify if it works now. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616687 http://bugzilla.novell.com/show_bug.cgi?id=616687#c2 --- Comment #2 from Johannes Meixner <jsmeix@novell.com> 2010-06-23 14:07:27 UTC --- Fixed in YaST SVN revision 62153 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616687 http://bugzilla.novell.com/show_bug.cgi?id=616687#c3 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #3 from Johannes Meixner <jsmeix@novell.com> 2010-06-23 14:19:18 UTC --- Submitted yast2-printer to YaST:Head via submitrequest 41974 and forwarded this from YaST:Head to openSUSE:Factory via submitrequest 41975 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616687 http://bugzilla.novell.com/show_bug.cgi?id=616687#c Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |RC 2 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616687 http://bugzilla.novell.com/show_bug.cgi?id=616687#c4 --- Comment #4 from Johannes Meixner <jsmeix@novell.com> 2010-06-24 07:44:22 UTC --- FYI: It is fixed in yast2-printer version 2.19.13 which can be downloaded for openSUSE 11.2 and openSUSE Factory for 32-bit (i586) and 64-bit (x86_64) architecture from http://download.opensuse.org/repositories/YaST:/Head/ Read "Up to date packages for openSUSE 11.2" at http://en.opensuse.org/YaST/Development/Printer_Enhancement before you install yast2-printer-2.19.13 on openSUSE 11.2 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616687 http://bugzilla.novell.com/show_bug.cgi?id=616687#c5 --- Comment #5 from Michael Schmuker <schmuker@gmail.com> 2010-06-24 08:13:06 UTC --- Wow, that was quick - the fix is in HEAD before I could even respond! Thanks a lot. Looking forward to a great 11.3 release! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=616687 http://bugzilla.novell.com/show_bug.cgi?id=616687#c6 --- Comment #6 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (616687) was mentioned in https://build.opensuse.org/request/show/41975 Factory / yast2-printer -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com