Bug 922000 - system-config-printer completely broken
Summary: system-config-printer completely broken
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: GNOME (show other bugs)
Version: 201502*
Hardware: x86-64 SUSE Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-12 13:11 UTC by S. B.
Modified: 2015-03-20 14:51 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. B. 2015-03-12 13:11: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.
Comment 1 Johannes Meixner 2015-03-12 13:43:24 UTC
system-config-printer belongs to the bugzilla component Gnome.
Comment 2 Dominique Leuenberger 2015-03-12 13:48:36 UTC
Seems we're actually lacking python3-cups in Tumbleweed... and python-cups is, incidentally, maintained by jsmeix :)
Comment 3 Johannes Meixner 2015-03-12 14:01:52 UTC
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.
Comment 4 Johannes Meixner 2015-03-12 14:06:59 UTC
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.
Comment 5 S. B. 2015-03-12 15:04:01 UTC
Hmm, so what should I do to have a working system-config-printer on Tumbleweed?
Comment 6 Johannes Meixner 2015-03-12 15:11:27 UTC
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?
Comment 7 Dominique Leuenberger 2015-03-12 15:12:43 UTC
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.
Comment 8 Dominique Leuenberger 2015-03-12 15:13:48 UTC
(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 :)
Comment 9 Dominique Leuenberger 2015-03-20 14:51:08 UTC
system-config-printer together with python3-cups are now available in Tumbleweed