[Bug 920937] Something lets CUPS backend "usb" sometimes no longer detect USB printers on openSUSE Tumbleweed (worked on openSUSE 13.2)
![](https://seccdn.libravatar.org/avatar/3035b38ff33cf86f480bb169b8500b80.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=920937
--- Comment #45 from Ian Powell
(In reply to Ian Powell from comment #41)
ooops... python-cups was already installed, can't find a python3-cups in Tumbleweed repos to install
Indeed, there's no python3 version of this package yet (I should have checked before writing about it ;-) python-cups only contains a python module for python 2.7, and exactly that seems to be the problem.
/usr/share/dbus-1/services/org.fedoraproject.Config.Printing.service has Exec=/usr/bin/scp-dbus-service and that finally calls /usr/share/system-config-printer/scp-dbus-service.py which has a /usr/bin/python3 shebang line. I wouldn't be surprised if changing this line to /usr/bin/python (without "3") would work around the problem (please test!). I've changed it and still no joy. it also has this line in it "cups.require ("1.9.52")"
The correct solution is obviously to provide a python3-cups package and to change the dependencies in the packages that currently require python-cups.
this would be my preferred option
That said, I'll pass this bug back to Johannes ;-)
In exchange for the free debugging, I hope you can help me with testing an AppArmor profile for cups when it's ready ;-) Ubuntu has a profile we can steal, but I want to test it myself before pushing it out to more people. Oh, and if you want to learn something about AppArmor, just catch me at oSC15 ;-) i've never switch AppArmor on so i have no clue what to do with it but if you give me a test plan i can follow, i'll be glad to help
-- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com