[Bug 942809] New: autoconfiguration of usb printer broken
http://bugzilla.opensuse.org/show_bug.cgi?id=942809 Bug ID: 942809 Summary: autoconfiguration of usb printer broken Classification: openSUSE Product: openSUSE Factory Version: 201505* Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Printing Assignee: jsmeix@suse.com Reporter: saloution@googlemail.com QA Contact: jsmeix@suse.com Found By: --- Blocker: --- I'm running opensuse Tumbleweed with all updates installed. I installed the distribution from scratch few days ago. When I add a usb printer, it doesn't show off in cups. The setup-script seems to be broken. Aug 23 10:45:01 hostname systemd[1]: Starting Configure Plugged-In Printer... Aug 23 10:45:01 hostname systemd[1]: Reached target Printer. Aug 23 10:45:01 hostname systemd[1]: Starting Printer. Aug 23 10:45:01 hostname unknown[1]: <audit-1130> pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=configure-printer@usb-002-004 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' Aug 23 10:45:01 hostname udev-configure-printer[4726]: add usb-002-004 Aug 23 10:45:01 hostname udev-configure-printer[4726]: device devpath is /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2 Aug 23 10:45:01 hostname udev-configure-printer[4726]: MFG:Brother MDL:HL-2140 series SERN:- serial:F8J644819 Aug 23 10:45:06 hostname kernel: usblp0: removed Aug 23 10:45:06 hostname kernel: usblp 2-1.2:1.0: usblp0: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04F9 pid 0x0033 Aug 23 10:45:06 hostname udev-configure-printer[4726]: URI contains USB serial number Aug 23 10:45:06 hostname udev-configure-printer[4726]: URI match: usb://Brother/HL-2140%20series?serial=F8J644819 Aug 23 10:45:06 hostname udev-configure-printer[4726]: About to add queue for usb://Brother/HL-2140%20series?serial=F8J644819 Aug 23 10:45:06 hostname udev-configure-printer[4726]: Unknown option: - Aug 23 10:45:06 hostname udev-configure-printer[4726]: usage: /usr/bin/python3 [option] ... [-c cmd | -m mod | file | -] [arg] ... Aug 23 10:45:06 hostname udev-configure-printer[4726]: Try `python -h' for more information. Aug 23 10:45:06 hostname systemd[1]: configure-printer@usb-002-004.service: main process exited, code=exited, status=2/INVALIDARGUMENT Aug 23 10:45:06 hostname systemd[1]: Unit configure-printer@usb-002-004.service entered failed state. Aug 23 10:45:06 hostname systemd[1]: configure-printer@usb-002-004.service failed. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=942809 http://bugzilla.opensuse.org/show_bug.cgi?id=942809#c1 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |All Component|Printing |GNOME CC| |jsmeix@suse.com Found By|--- |Community User Assignee|jsmeix@suse.com |bnc-team-gnome@forge.provo. | |novell.com QA Contact|jsmeix@suse.com |qa-bugs@suse.de Summary|autoconfiguration of usb |udev-configure-printer |printer broken |called from systemd fails | |with "Unknown option: -" OS|Other |SUSE Other --- Comment #1 from Johannes Meixner <jsmeix@suse.com> --- udev-configure-printer is a sub-package of system-config-printer and system-config-printer belongs to Gnome because: ------------------------------------------------------------------------ $ osc maintainer system-config-printer Defined in project: GNOME:Factory bugowner of system-config-printer : os-gnome-maintainers ------------------------------------------------------------------------ -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=942809 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CONFIRMED CC| |dimstar@opensuse.org Assignee|bnc-team-gnome@forge.provo. |dimstar@opensuse.org |novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=942809 http://bugzilla.opensuse.org/show_bug.cgi?id=942809#c2 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |IN_PROGRESS --- Comment #2 from Dominique Leuenberger <dimstar@opensuse.org> --- Modified udev-add-printer to have a new shebang #!/usr/bin/python3 -sB instead of #!/usr/bin/python3 -s -B (this should be the same, but seems for some reason the 2nd variant fails...) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=942809 http://bugzilla.opensuse.org/show_bug.cgi?id=942809#c4 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED --- Comment #4 from Dominique Leuenberger <dimstar@opensuse.org> --- Fix has been checked in and will be available in the next snapshot. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com