Bugzilla – Bug 922000
system-config-printer completely broken
Last modified: 2015-03-20 14:51:08 UTC
Hello, On the latest openSUSE Tumbleweed, system-config-printer no longer loads. This is a REGRESSION, because it used to work. However, I'm not sure at which point it broke, because I don't use this utility every day. From the menu, system-config-printer won't launch. From the terminal, it throws a python error on line 59: ############################################ <module> import cups ImportError: No module named 'cups' ############################################ Additionally, system-config-printer is in a virtually useless state in openSUSE 13.2 at the moment too. Please see bug #921996.
system-config-printer belongs to the bugzilla component Gnome.
Seems we're actually lacking python3-cups in Tumbleweed... and python-cups is, incidentally, maintained by jsmeix :)
Somehow I inherited python-cups but never had a look at it (zero entries in python-cups.changes from me). I don't know anything about how it works internally. I cannot do anything here. That maintainer setting is actually plain wrong.
On https://build.opensuse.org/package/users/devel:languages:python/python-cups I cannot remove my bugownership of python-cups. I guess that is an old setting from ancient times when OBS was created.
Hmm, so what should I do to have a working system-config-printer on Tumbleweed?
It seems there is a python3-cups package: ---------------------------------------------------------------------- $ osc search python3-cups ... matches for 'python3-cups' in packages: # Project # Package devel:languages:python3 python3-cups home:dimstar:Factory python3-cups $ osc results devel:languages:python3 python3-cups openSUSE_Tumbleweed ppc64 succeeded openSUSE_Tumbleweed ppc64le succeeded openSUSE_Tumbleweed i586 succeeded openSUSE_Tumbleweed x86_64 succeeded openSUSE_Factory i586 succeeded openSUSE_Factory x86_64 succeeded openSUSE_13.2 i586 succeeded openSUSE_13.2 x86_64 succeeded openSUSE_13.1 i586 succeeded openSUSE_13.1 x86_64 succeeded ... ---------------------------------------------------------------------- (Luckily I have nothing at all to do with this package.) Perhaps it works after you installed python3-cups?
I submitted already a python3-cups to the respective devel project, as well as a system-config-printer (1.5.5 package) that specifies the (hopefully complete) set of dependencies needed. With this setup, it works already on my TW machine again * python3-cups from devel:languages:python3 * system-config-printer from home:dimstar:Factory Any further testing is appreciated on those packages.
(In reply to Johannes Meixner from comment #6) > It seems there is a python3-cups package: > ---------------------------------------------------------------------- > $ osc search python3-cups > ... > matches for 'python3-cups' in packages: > # Project # Package > devel:languages:python3 python3-cups > home:dimstar:Factory python3-cups > osc cat devel:languages:python3 python3-cups python3-cups.changes | head ------------------------------------------------------------------- Thu Mar 12 14:16:07 UTC 2015 - dimstar@opensuse.org - Initial package, version 1.9.72 for python3. Based on the existing python-cups package. Yes, it does exist by now :)
system-config-printer together with python3-cups are now available in Tumbleweed