[Bug 555569] New: system-config-printer fails to start

http://bugzilla.novell.com/show_bug.cgi?id=555569 Summary: system-config-printer fails to start Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: novellbmw@lsmod.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.4) Gecko/20091016 SUSE/3.5.4-1.1.2 Firefox/3.5.4 when calling system-config-printer it only outputs a backtrace (see below) Reproducible: Always Steps to Reproduce: 1. have fresh install from KDE4-LiveCD 2. sudo zypper in system-config-printer 3. system-config-printer Actual Results: Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 6846, in <module> focus_on_map) File "/usr/share/system-config-printer/system-config-printer.py", line 6794, in main print_test_page, focus_on_map) File "/usr/share/system-config-printer/system-config-printer.py", line 822, in __init__ self.populateList() File "/usr/share/system-config-printer/system-config-printer.py", line 1472, in populateList default_emblem = theme.load_icon (def_emblem, w/2, 0) glib.GError: Icon 'emblem-default' not present in theme Expected Results: should start and show printers as it did on some install from gnome liveCD maybe related to bug 546013 installing gnome-themes did not help. -- 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=555569 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@novell.com, | |vuntz@novell.com Component|Other |GNOME AssignedTo|bnc-team-screening@forge.pr |bnc-team-gnome@forge.provo. |ovo.novell.com |novell.com -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c1 Bernhard Wiedemann <novellbmw@lsmod.de> changed: What |Removed |Added ---------------------------------------------------------------------------- OS/Version|Other |openSUSE 11.2 --- Comment #1 from Bernhard Wiedemann <novellbmw@lsmod.de> 2009-11-21 21:20:30 CET --- found that it works without printers or only local printers, so Steps to Reproduce: 2.5: echo ServerName 192.168.11.92 > /etc/cups/client.conf (with the IP being reachable and having a cupsd+printer configured) Then I diffed the strace -f output from a working Gnome-install and a non-working KDE4-install and the last lines before the error look thus: stat64("/usr/share/icons/hicolor/index.theme", {st_mode=S_IFREG|0644, st_size=27759, ...}) = 0 -open("/usr/share/system-config-printer/icons/i-network-printer.png", O_RDONLY|O_LARGEFILE) = 14 -fstat64(14, {st_mode=S_IFREG|0644, st_size=1762, ...}) = 0 -mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7397000 -read(14, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371"..., 4096) = 1762 -read(14, "", 4096) = 0 -_llseek(14, 0, [0], SEEK_SET) = 0 -read(14, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\0000\0\0\0000\10\6\0\0\0W\2\371"..., 4096) = 1762 -close(14) = 0 -munmap(0xb7397000, 4096) = 0 -gettimeofday({1258829683, 360261}, NULL) = 0 -write(2, "Traceback (most recent call last"..., 35) = 35 -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c2 Bernhard Wiedemann <novellbmw@lsmod.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #2 from Bernhard Wiedemann <novellbmw@lsmod.de> 2009-11-29 21:44:34 CET --- By coincidence I hit bug 551929 again and did log in over ssh , su - bernhard ; export DISPLAY=:0.0 before running system-config-printer there and it worked. after some diffing of environment variables and trying system-config-printer I found a workaround: unset GTK2_RC_FILES the original value was: GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/usr/share/themes//QtCurve/gtk-2.0/gtkrc:/home/bernhard/.gtkrc-2.0-qtengine:/home/bernhard/.gtkrc-2.0:/home/bernhard/.kde4/share/config/gtkrc-2.0 Omitting just /usr/share/themes//QtCurve/gtk-2.0/gtkrc also makes it work, so this bug appears to be some incompatibility between QtCurve and system-config-printer. -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c3 --- Comment #3 from Bernhard Wiedemann <novellbmw@lsmod.de> 2009-12-03 21:48:12 CET --- bug also occurs with GTK2_RC_FILES= system-config-printer as well as with old qtcurve-gtk2-0.59.7-2.4 from openSUSE-11.1 so it is rather a bug in system-config-printer or its dependencies. -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c8 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |novellbmw@lsmod.de --- Comment #8 from Vincent Untz <vuntz@novell.com> 2009-12-17 15:03:33 UTC --- Can you try the system-config-printer package in home:vuntz:11.2-testing? It should contain a fix for 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c9 Bernhard Wiedemann <novellbmw@lsmod.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|novellbmw@lsmod.de | --- Comment #9 from Bernhard Wiedemann <novellbmw@lsmod.de> 2009-12-18 21:10:06 CET --- I tried http://download.opensuse.org/repositories/home:/vuntz:/11.2-testing/openSUSE... now it does (with the standard env including QtCurve)
system-config-printer File "/usr/share/system-config-printer/system-config-printer.py", line 1482 except gobject.GError: ^ IndentationError: unindent does not match any outer indentation level
to be sure, I also upgraded to udev-configure-printer-1.1.12-4.1.i586.rpm python-cupshelpers-1.1.12-4.1.i586.rpm but still the same effect. -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c10 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |novellbmw@lsmod.de --- Comment #10 from Vincent Untz <vuntz@novell.com> 2009-12-23 14:20:58 UTC --- Oops, sorry, I updated the package. Can you try again? (and in case this happens in the future, just edit the file and try to make sure the indentation is correct). -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c11 Bernhard Wiedemann <novellbmw@lsmod.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|novellbmw@lsmod.de | --- Comment #11 from Bernhard Wiedemann <novellbmw@lsmod.de> 2009-12-24 10:48:44 CET --- This works now and also fixes original 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c12 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |maintenance@opensuse.org --- Comment #12 from Vincent Untz <vuntz@novell.com> 2010-01-05 12:15:18 UTC --- Maintenance team: can we push the home:vuntz:11.2-testing/system-config-printer package as a maintenance update for 11.2? It just adds a small patch to make the application work under KDE. -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c13 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com --- Comment #13 from Marcus Meissner <meissner@novell.com> 2010-01-05 14:18:47 UTC --- it misses to load icons? and you add a try/except section ... Why not add a require of the package that provides the icons to fix it? -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c14 --- Comment #14 from Vincent Untz <vuntz@novell.com> 2010-01-05 14:55:01 UTC --- (In reply to comment #13)
it misses to load icons? and you add a try/except section ...
It's emblems, not all icons. So it's not really visible. Also note that the patch comes from upstream.
Why not add a require of the package that provides the icons to fix it?
Because it won't work: the user would have to use this theme anyway. I think most KDE users won't use gnome-icon-theme, so it really wouldn't help. (A complete fix would involve fixing the base KDE theme to provide those icons, or to have system-config-printer ship those icons -- the latter is unlikely to happen, I think) -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c15 --- Comment #15 from Marcus Meissner <meissner@novell.com> 2010-01-05 15:15:25 UTC --- then i guess we can do it this way. as it fixes a non working package +1 for update -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c16 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:29899 --- Comment #16 from Swamp Workflow Management <swamp@suse.com> 2010-01-05 15:40:31 UTC --- The SWAMPID for this issue is 29899. Please submit the patch and patchinfo file using this ID. (https://swamp.suse.de/webswamp/wf/29899) -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c17 Christian Dengler <cdengler@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |cdengler@novell.com Info Provider|maintenance@opensuse.org | --- Comment #17 from Christian Dengler <cdengler@novell.com> 2010-01-05 15:40:57 UTC --- +1 update process started -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c18 Vincent Untz <vuntz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #18 from Vincent Untz <vuntz@novell.com> 2010-01-05 16:14:10 UTC --- Patchinfo filled, package submitted (sr#28056) => closing. -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c19 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:29899 |maint:running:29899 | |maint:released:11.2:29903 --- Comment #19 from Swamp Workflow Management <swamp@suse.com> 2010-01-19 10:33:35 UTC --- Update released for: python-cupshelpers, system-config-printer, system-config-printer-debugsource, system-config-printer-lang, udev-configure-printer, udev-configure-printer-debuginfo Products: openSUSE 11.2 (debug, i586, x86_64) -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:29899 |maint:released:11.2:29903 |maint:released:11.2:29903 | -- 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=555569 http://bugzilla.novell.com/show_bug.cgi?id=555569#c20 --- Comment #20 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (555569) was mentioned in https://build.opensuse.org/request/show/28056 11.2:Test / system-config-printer -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com