[Bug 902407] New: system-config-printer can't find driver, doesn't offer manual selection
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 Bug ID: 902407 Summary: system-config-printer can't find driver, doesn't offer manual selection Classification: openSUSE Product: openSUSE Distribution Version: 13.2 RC 1 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Printing Assignee: jsmeix@suse.com Reporter: sb56637@gmail.com QA Contact: jsmeix@suse.com Found By: --- Blocker: --- Hi there, In view of bug 889187, I tried to add a network printer via dnssd with system-config-printer. It does find the printer, but under KDE some kind of "helper" screen (apper related maybe?) appears with an error. (See attachment #1) Then, after dismissing the error, system-config-printer gets stuck at "searching for drivers". (See attachment #2) At this point, it gets stuck. I have let it sit there for 5 minutes on a very fast computer, and I have very few drivers installed (no Gutenprint or HPLIP) so it definitely should not be searching for long. I believe that an internal python process is crashing, as the terminal spits out this error when it starts searching for drivers: ---------------------- ERROR:dbus.proxies:Introspect error on :1.344:/org/freedesktop/PackageKit: dbus.exceptions.IntrospectionParserException: Error parsing introspect data: <class 'xml.parsers.expat.ExpatError'>: unbound prefix: line 5, column 4 HTTP Status 403 None Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 54, in run self.callback (403, self.user_data, None) File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 163, in parse_result callback (status, user_data, result) File "/usr/share/system-config-printer/newprinter.py", line 3267, in openprinting_printers_found print traceback.extract_tb(printers[2], limit=None) TypeError: 'NoneType' object has no attribute '__getitem__' ---------------------- I don't really care if it finds the correct driver or not, as long as it lets me manually select my correct driver, which I can't do. When running system-config-printer as root in IceWM, the KDE "helper" error dialog doesn't appear. But it still gets stuck on "searching for drivers". Thanks for looking into this! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #1 from Rahim Barbamas <sb56637@gmail.com> --- Created attachment 611088 --> http://bugzilla.opensuse.org/attachment.cgi?id=611088&action=edit KDE "helper" error -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #2 from Rahim Barbamas <sb56637@gmail.com> --- Created attachment 611089 --> http://bugzilla.opensuse.org/attachment.cgi?id=611089&action=edit system-config-printer "searching..." -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@suse.com Component|Printing |GNOME Hardware|Other |All Found By|--- |Community User Assignee|jsmeix@suse.com |bnc-team-gnome@forge.provo. | |novell.com QA Contact|jsmeix@suse.com |qa-bugs@suse.de OS|Other |openSUSE 13.2 --- Comment #3 from Johannes Meixner <jsmeix@suse.com> --- system-config-printer belongs to the bugzilla component Gnome. I assume Python issues do not depend on the hardware architecture so that I set the bugzilla hardware entry to "all". -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |dimstar@opensuse.org --- Comment #4 from Dominique Leuenberger <dimstar@opensuse.org> --- Hmm. interesting: openprinting download support should actually be disabled in our packages -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sb56637@gmail.com Flags| |needinfo?(sb56637@gmail.com | |) --- Comment #5 from Dominique Leuenberger <dimstar@opensuse.org> --- Rahim, Can you please try the package system-config-printer you can find at http://download.opensuse.org/repositories/home:/dimstar:/boo902407/standard ? That is hopefully fixing your issue, then I can ensure it gets published for 13.2 as well. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #6 from Johannes Meixner <jsmeix@suse.com> --- Dominique, perhaps I am somehow blind but home:dimstar:boo902407/system-config-printer/system-config-printer.changes reads "Update system-config-printer-no-applet-in-gnome.patch" but for me system-config-printer-no-applet-in-gnome.patch seem to be identical in home:dimstar:boo902407 and in openSUSE:13.2. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #7 from Dominique Leuenberger <dimstar@opensuse.org> --- Thanks Johannes; the .changes entry is indeed wrong... copy/pasted the wrong patch name. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #8 from Rahim Barbamas <sb56637@gmail.com> --- Hi Dominique, thanks a lot for looking into this. I tried your OBS repo, but it seems to behave the same. Anything else I can try? Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #9 from Dominique Leuenberger <dimstar@opensuse.org> --- You still get the same backtrace when starting it from the terminal? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #10 from Rahim Barbamas <sb56637@gmail.com> --- Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 54, in run self.callback (403, self.user_data, None) File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 163, in parse_result callback (status, user_data, result) File "/usr/share/system-config-printer/newprinter.py", line 3267, in openprinting_printers_found print traceback.extract_tb(printers[2], limit=None) TypeError: 'NoneType' object has no attribute '__getitem__' -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #11 from Dominique Leuenberger <dimstar@opensuse.org> --- Is that with system-config-printer-1.4.5-2.6.1 ? If not, please check if there is not another update pending there for you. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #12 from Rahim Barbamas <sb56637@gmail.com> --- Ah, I see what happened. I had manually selected "1.4.5-2.6.1", but I realized it was the i586 version (I'm on x86-64). Looks like the 64-bit version hasn't built yet? Did it fail? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #13 from Dominique Leuenberger <dimstar@opensuse.org> --- If you don't do ALL packages in the repo, then the most important one actually having te fix is system-config-printer-common This is a noarch package, so i586 and x86_64 shared the build (well, not really.. but good enough) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #14 from Rahim Barbamas <sb56637@gmail.com> --- OK, I got it now. (I switched all installed packages to your repo.) It is definitely better than before. The KDE PackageKit helper window still appears, but the good part is that after dismissing it, system-config-printer stops searching for drivers and lets me select it manually. Here's the KDE helper error: --------------------------- ERROR:dbus.proxies:Introspect error on :1.68:/org/freedesktop/PackageKit: dbus.exceptions.IntrospectionParserException: Error parsing introspect data: <class 'xml.parsers.expat.ExpatError'>: unbound prefix: line 5, column 4 HTTP Status 403 None -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS Summary|system-config-printer can't |[MAINT] |find driver, doesn't offer |system-config-printer can't |manual selection |find driver, doesn't offer | |manual selection Flags|needinfo?(sb56637@gmail.com | |) | --- Comment #15 from Dominique Leuenberger <dimstar@opensuse.org> --- The identified part for the crash has been prepared as an online update and should show up in the :Update channel hopefully soon. The PK integration is not fixed with the same (as it does not kill the whole task, I consdiered it less critical and decided to push the update of what we have). Can you please open a different bug for the PK-Kde integration ? This is likley a different component at fault. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #16 from Rahim Barbamas <sb56637@gmail.com> --- Thanks for the update Dominique! Related KDE PK helper bug: #903118 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[MAINT] |system-config-printer can't |system-config-printer can't |find driver, doesn't offer |find driver, doesn't offer |manual selection |manual selection | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 S. B. <sb56637@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sb56637@gmail.com --- Comment #17 from S. B. <sb56637@gmail.com> --- As of today this bug also exists in openSUSE Factory (soon to be the new Tumbleweed.) Any chance of also pushing these fixes out to the rolling branch too? Thanks! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #19 from S. B. <sb56637@gmail.com> --- Hello, unfortunately system-config-printer 1.4.5-2.5.1 on openSUSE 13.2, under Gnome Shell or Cinnamon, is still broken. It will still not allow manual selection of a driver when adding a new printer. Here's the error: ------------------------------ Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 810, in __bootstrap_inner self.run() File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 54, in run self.callback (403, self.user_data, None) File "/usr/lib/python2.7/site-packages/cupshelpers/openprinting.py", line 163, in parse_result callback (status, user_data, result) File "/usr/share/system-config-printer/newprinter.py", line 3276, in openprinting_printers_found printers) TypeError: argument 2 to map() must support iteration ------------------------------ Thanks for looking into this! -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 --- Comment #20 from S. B. <sb56637@gmail.com> --- @Dominique: I also tried system-config-printer-1.4.5-2.7.1.x86_64.rpm from your repo, but for some reason it didn't work this time, behaving the same as the official released version. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=902407 http://bugzilla.opensuse.org/show_bug.cgi?id=902407#c21 Tomáš Chvátal <tchvatal@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |WORKSFORME --- Comment #21 from Tomáš Chvátal <tchvatal@suse.com> --- Can't reproduce on tumbleweed. Please open a new issue if it is still behaving poorly there. 13.2 is out of support. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com