KDE printer configuration app stopped working on Lucid (TypeError in set_widget_value())
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdeadmin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Binary package hint: system-
The most recent time I tried to use the KDE printer configuration applet on Kubuntu Jaunty x64, I got the following message (opening it as part of the KDE Control Center or separately):
"The service 'Printer Configuration' does not provide an interface 'KCModule' with keyword 'system-
However, printing still works fine with a printer I had already set up.
Jonathan Thomas (echidnaman) wrote : | #1 |
Changed in system-config-printer-kde: | |
importance: | Undecided → Medium |
status: | New → Incomplete |
Michael Marley (mamarley) wrote : | #2 |
The following text is dumped to the console when attempting to run the printer applet:
Traceback (most recent call last):
File "<string>", line 18, in kpythonpluginfa
File "/usr/share/
kcm = u.makeui(
File "/usr/share/
self.
File "/usr/share/
if not config.
AttributeError: 'module' object has no attribute 'DOWNLOADABLE_
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
pr[
AttributeError: 'module' object has no attribute 'argv'
Original exception was:
Traceback (most recent call last):
File "<string>", line 18, in kpythonpluginfa
File "/usr/share/
kcm = u.makeui(
File "/usr/share/
self.
File "/usr/share/
if not config.
AttributeError: 'module' object has no attribute 'DOWNLOADABLE_
Jonathan Thomas (echidnaman) wrote : | #3 |
I can confirm this also by the way. I just didn't have an opportunity to do so earlier.
If I would guess I'd assume that some recent system-
Changed in kdeutils: | |
status: | Incomplete → Confirmed |
Jonathan Riddell (jr) wrote : | #4 |
Changing to kdeadmin.
Looks like an update of system-
Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package kdeadmin - 4:4.2.0-0ubuntu4
---------------
kdeadmin (4:4.2.0-0ubuntu4) jaunty; urgency=low
* Update kubuntu_
Update for system-
-- Jonathan Riddell <email address hidden> Tue, 24 Feb 2009 15:00:50 +0000
Changed in kdeadmin: | |
status: | Confirmed → Fix Released |
Michael Marley (mamarley) wrote : | #6 |
After the release of KDE 4.2.1, and a few other packages, this bug is back. It crashes exactly the same way it did last time, with the same graphical message and the same text dumped to the console.
Changed in kdeadmin: | |
status: | Fix Released → Confirmed |
Jonathan Thomas (echidnaman) wrote : | #7 |
That's a different bug. Most likely due to the python 2.6 transition.
Changed in kdeadmin: | |
status: | Confirmed → Fix Released |
Greg Johnson (greg-johnson-saltaire) wrote : | #8 |
Exception is:
Original exception was:
Traceback (most recent call last):
File "/usr/share/
import locale
File "/usr/lib/
import re, operator
ImportError: /usr/lib/
hasi (whynot-nurfuerspam) wrote : | #9 |
I still have this problem with all updates applied as of today (jaunty/KDE 4.2.1). I had started with alpha5 and continuously applied all updates.
Does this also exist in vanilla alpha6? If yes, I wouldn't mind reinstalling. Is there anything else we can do to get this fixed?
Alessandro Ghersi (alessandro-ghersi) wrote : | #10 |
@hasi
Try to reinstall python-qt4-dbus.
nowardev (nowardev) wrote : | #11 |
i have reinstalled python-qt4-dbus and now IT WORKS!
hasi (whynot-nurfuerspam) wrote : | #12 |
@Alessandro:
Thanks so much, it worked!
--hasi
Musthafa Meeran (musthafameeran-deactivatedaccount) wrote : | #13 |
I am getting the same error in Kubuntu Jaunty Beta !!!
I tried reinstalling python-qt4-dbus, but it didn't help, still getting the error in the Printer Configuration page.
Could you please let me know what are the log files needed and I ll attach the same.
Also, can i re-open this bug or need to report a bug?
Thanks a lot...
sabby (sabby) wrote : | #14 |
I have the same problem as Greg Johnson, running kubuntu 8.10 with kde 4.2.2. This happened recently, must be after upgrade to 4.2.2. Reinstalling python-qt4-dev did nothing for me also. I know not being able to use the printer is annoying so from experience with previous problem sometime I find that installing the dev package install things that are missing, and in this case it worked for me. Installing python-dev package fixed the problem. Obviously, this should not be necessary but until it is fixed this will allow it to work.
sabby (sabby) wrote : | #15 |
In addition to my last post, it might be after 4.2.1 also since I went from 4.2.0 directly to 4.2.2 so I couldn't really tell which on is the culprit.
sabby (sabby) wrote : | #16 |
Sorry in previous post i meant reinstalling python-qt4-*dbus* did nothing for me. Should we open a new bug for this or continue to tack onto this one?
Musthafa Meeran (musthafameeran-deactivatedaccount) wrote : | #17 |
@sabby: thanks a lot.. installing 'python-dev' brought back the printer page for me :)
I am in Ubuntu Intrepid 8.10 with KDE 4.2.2
Tyler (tyler-idyle) wrote : | #18 |
Hello! I'm on Karmic and my printer applet broke even back with Jaunty. I also tried removing/installing python-qt4-dbus but that didn't fix it for me! Here's my terminal output:
tyler@tyler-
tyler@tyler-
File "/usr/share/
from PyQt4.QtCore import *
ImportError: No module named QtCore
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
pr[
AttributeError: 'module' object has no attribute 'argv'
Original exception was:
Traceback (most recent call last):
File "/usr/share/
from PyQt4.QtCore import *
ImportError: No module named QtCore
Hope this helps! Thanks a lot!
Rafael Carduz Rocha (rafaelcrocha) wrote : | #19 |
+1 in karmic..
Rafael Carduz Rocha (rafaelcrocha) wrote : | #20 |
I forgot to mention my traceback complains also about utf8 encoding. Brazilian Portuguese system here
rc@rafael-
File "<string>", line 18, in kpythonpluginfa
File "/usr/share/
kcm = u.makeui(
File "/usr/share/
special_
File "/usr/share/
return unicode(
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 4-6: invalid data
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/
pr[
AttributeError: 'module' object has no attribute 'argv'
Original exception was:
Traceback (most recent call last):
File "<string>", line 18, in kpythonpluginfa
File "/usr/share/
kcm = u.makeui(
File "/usr/share/
special_
File "/usr/share/
return unicode(
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 4-6: invalid data
Matthew Flaschen (matthew-flaschen) wrote : | #21 |
My situation basically matches Tyler (though I am on Jaunty, and have never installed Karmic). I used update-manager to upgrade from Hardy first to Intrepid, then to Jaunty. I get the terminal output:
systemsettings(
systemsettings(
systemsettings(
Traceback (most recent call last):
File "/usr/share/
from PyQt4.QtCore import *
ImportError: No module named PyQt4.QtCore
and the window displays:
The service "Printer Configuration" does not provide an interface "KCModule" with keyword "system-
Possible reasons:
*An error occured during your last KDE upgrade leaving an orphaned control module
*You have old third-party modules lying around.
Check these points carefully and try to remove the module mentioned in the error message. If this fails, consider contacting your distributor or packager.
I have tried apt-get reinstalling multiple packages, including:
system-
kdeadmin
python-qt4-dbus
system-
Matthew Flaschen (matthew-flaschen) wrote : | #22 |
I just fixed this for myself by removing unpackaged python executables I built from source, then reinstalling python and python-minimal.
Commat (commat) wrote : | #23 |
Definitively is a localization bug, if I do:
LC_ALL="en_EN" systemsettings
the module loads correctly in my spanish locale.
Karmic full-upgraded from Alpha-3
Commat (commat) wrote : | #24 |
How to fix it.
Edit file:
/usr/share/
Go to line 223 and ...
Replace -> special_
by -> special_
It works for me.
Alex Limoges (alexlimoges) wrote : | #25 |
Hi,
I also encountered this bug on latest Jaunty with KDE 4.2.1.
I managed to get this problem resolved by reinstalling kdeadmin and python-qt4-dbus, using the "aptitude reinstall" command.
Thanks for the help !
vsuarez (vsuarez) wrote : | #26 |
Commat fix worked in my computer (KDE 4.3.2, Spanish locale).
Babstar (debian-lists) wrote : | #27 |
Same problem with a fresh install of Karmic, aptitude reinstall python-qt4-dbus fixed the problem.
aexl (aexl) wrote : | #28 |
fixed on my jaunty machine with
sudo apt-get --reinstall install python-qt4-dbus
Michael Marley (mamarley) wrote : Re: KDE printer configuration app stopped working on Lucid | #29 |
Its back!
This time, on Lucid.
Changed in kdeadmin-kde4 (Ubuntu): | |
status: | Fix Released → Confirmed |
summary: |
- KDE printer configuration app stopped working on Jaunty + KDE printer configuration app stopped working on Lucid |
BlCa (blca) wrote : | #30 |
Iv'e seen it too on lucid
The error message looks like this:
systemsettings(
systemsettings(
systemsettings(
systemsettings(
systemsettings(
systemsettings(
systemsettings(
systemsettings(
Traceback (most recent call last):
File "<string>", line 18, in kpythonpluginfa
File "/usr/share/
kcm = u.makeui(
File "/usr/share/
self.
File "/usr/share/
self.reinit (None)
File "/usr/share/
self.
File "/usr/share/
raise NotImplemented
TypeError: exceptions must be classes or instances, not NotImplementedType
systemsettings(
systemsettings(
systemsettings(
systemsettings(
systemsettings(
3vi1 (launchpad-net-eternaldusk) wrote : | #31 |
I can confirm also seeing this on Lucid. My traceback appears to point to the same cause as BICa's.
Bruce Miller (brm0423) wrote : | #32 |
I get this traceback from Lucid alpha, last updated 2010-01-01:
bruce@Herodotus:~$ kcmshell4 system-
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
Traceback (most recent call last):
File "<string>", line 18, in kpythonpluginfa
File "/usr/share/
kcm = u.makeui(
File "/usr/share/
self.
File "/usr/share/
self.reinit (None)
File "/usr/share/
self.
File "/usr/share/
raise NotImplemented
TypeError: exceptions must be classes or instances, not NotImplementedType
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
Bruce Miller (brm0423) wrote : | #33 |
This would appear to be the same bug as (or at least closely related to) bug 209379 in the KDE Bug Tracker
masked_muchacho (ssj-timbaas) wrote : | #34 |
Dito for me.....
tim@homebox:~$ kcmshell4 system-
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
Traceback (most recent call last):
File "<string>", line 18, in kpythonpluginfa
File "/usr/share/
kcm = u.makeui(
File "/usr/share/
self.
File "/usr/share/
self.reinit (None)
File "/usr/share/
self.
File "/usr/share/
raise NotImplemented
TypeError: exceptions must be classes or instances, not NotImplementedType
kcmshell(
kcmshell(
kcmshell(
kcmshell(
kcmshell(
mcNisse (johan-erlands) wrote : | #35 |
- options.py.patch Edit (133 bytes, text/x-diff)
I'm having this problem with 4.4 rc1 on karmic.
But I solved it by patching /usr/share/
For me it was that one spinner had a new type. KIntSpinBox that was unhandled...
Christian Schürer-Waldheim (quincunx) wrote : | #36 |
mcNisse, your suggestion did not work for me.
mcNisse (johan-erlands) wrote : | #37 |
I have tested it some more, and it doesn't really work for me either. The frame is showing but I still get some errors like this:
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
option.reinit (value, supported=
File "/usr/share/
if original_value != self.get_
File "/usr/share/
raise NotImplemented
TypeError: exceptions must be classes or instances, not NotImplementedType
I think it is because options.py cannot handle the widgets used.
Ivan Cheremnov (hattab) wrote : | #38 |
kiloxxx (kiloxxx) wrote : | #39 |
I tried Ivan's mcNisse' patch on karmic with KDE SC 4.4 RC1 and it partly worked: I could see the configuration window, but I could not enter printers properties. To see and change them I have to comment out also line 204 in options.py ("raise NotImplemented"). Now it works!
kiloxxx (kiloxxx) wrote : | #40 |
As far as the previous message is concerned: the patch I've tried is mcNisse's one. I've also tried Ivan's one, but it worked only at the first attempt to enter printer settings: going back to system settings and again to printers' ones opened the error window.
mcNisse (johan-erlands) wrote : | #41 |
I've managed to get it to work even better ;)
I have my patch and then I changed a line in options.py in this class:
class OptionSelectOne
...
self.selector = QComboBox(self)
to
self.selector = QComboBox()
I have a problem that it thinks that I have changed a value. But it might work better with Ivan Cheremnov patch...
meisterplanlos (meisterplanlos) wrote : | #42 |
Thanx mcNisse. Your patch and the change of the constructor worked for me like a charm.
meisterplanlos (meisterplanlos) wrote : | #43 |
PS: under Kubuntu Lucid
nowardev (nowardev) wrote : | #44 |
here it's too
but i have used my personal method to set my printer -.- just because my printer it's not a well supported printer
http://
like you can seee i have set browsing localhost:631
and then editing the configuration
kdesudo kate /etc/cups/
file and using
lpoptions -d “hp_photosmart_
to set like default printer...
BlCa (blca) wrote : | #45 |
Unsurprisingly, it's still broken in KDE4.4rc2.
Isn't because package kdebindings hasn't been updated since version 4.3.2 ?
Bruno Santos (bsantos) wrote : | #46 |
In Karmic, 4.4rc2 gives me this:
RuntimeError: the sip module implements API v7.0 but the PyKDE4.kdecore module requires API v6.0
Could it be that python-kde4 needs updating? A new version isn't available on the kubuntu repository.
summary: |
- KDE printer configuration app stopped working on Lucid + KDE printer configuration app stopped working on Lucid (TypeError in + set_widget_value()) |
man.vvip (steven-b-007) wrote : | #47 |
I also have this problem on Karmic 4.4rc2
hasi (whynot-nurfuerspam) wrote : | #48 |
It's working for me since the upgrade from 4.4rc2 to 4.4release (karmic 32bit)
Bruce Miller (brm0423) wrote : Re: [Bug 331192] Re: KDE printer configuration app stopped working on Lucid (TypeError in set_widget_value()) | #49 |
I agree that the problem appears to have been fixed with the release of KDE 4.4.0
BlCa (blca) wrote : | #50 |
It's fixed since KDE4.4rc3.
Changed in kdeadmin-kde4 (Ubuntu): | |
status: | Confirmed → Fix Released |
affects: | kdeadmin-kde4 (Ubuntu) → kdeadmin (Ubuntu) |
Prabu (arpaham-br) wrote : | #51 |
Hi everybody, Im having the same problem with Debian Squeeze pt_BR.UTF-8 locale, and checking suggestion of post #24 above (by Commat) I was also able to fix the problem.
I did the same, but at a different point of the script.
on line # 46 replace
return unicode(
by
return unicode(
(before doing it I tryed other suggestions less intrusive like reinstalling some python packages, but nothing worked until I changed the script). It seems that this issue is already fixed in Debian Sid(unstable), but is not available yet for Squeeze(testing).
alvadoraemon (alvadoraemon) wrote : | #52 |
Hello to everybody.
My system is Kubuntu 9.10 32 bit, updated from 9.04; KDE packages are from kde 4.4.2 PPA. All the modifications from the posts above were in the python files, and my locale is es_ES.UTF8.
First, I installed a network printer; after this, I tried to view the printer properties from the list, and the system did nothing. Then I tried to run systemsettings from command line, with sudo; when selecting my printer from the list, I obtained this error:
Traceback (most recent call last):
File "/usr/share/
self.
File "/usr/share/
editable=
File "/usr/share/
self.
File "/usr/share/
return OptionSelectOne
File "/usr/share/
self.selector = QComboBox(self)
TypeError: QComboBox(QWidget parent=None): argument 1 has unexpected type 'instance'
Error messages say "self" isn't an instance of the right class - sorry for my poor Ptython :-P -, so I tried the imports from the patch above and ran again systemsettings from the cli... But then Python didn't "recognize" KIntSpinBox and throws and error in the console.
After this I installed the CUPS PDF printer and I can see teh properties of this one; then i select the problematic printer and then
i can see some of the properties, but the driver is the one from PDF printer. In the cli, the error above appears at the start of printer config module.
My Python skills are very low, and I don't know what to do... Reinstall some PyQT or PyKDE packages? Some programming magic? Or i must wait to Lucid final?
Carybielenberg (cary-bielenberg) wrote : | #53 |
Is broken again in Maverick 64bit
Jeff Burns (admiraljkb) wrote : | #54 |
Ran into it with 10.04 and KDE SC 4.5 Beta 2 backport.
Zane (zanetu) wrote : | #55 |
Same issue. Kubuntu 10.04 with KDE v4.4.2.
Changed in kdeadmin (Ubuntu): | |
status: | Fix Released → New |
Victor Tzougrakis (victz) wrote : | #56 |
Same here on Kubuntu 10.04 64bit with KDE 4.5 RC1
Marcin Juszkiewicz (hrw) wrote : | #57 |
Maverick:
systemsettings
Traceback (most recent call last):
File "/usr/share/
import cupsutils.ppds
ImportError: No module named cupsutils.ppds
systemsettings(
systemsettings(
tags: | added: patch |
Rohan Garg (rohangarg) wrote : | #58 |
Hi
This does seem to be a issue,ill look into it
Changed in kdeadmin (Ubuntu): | |
status: | New → In Progress |
Changed in kdeadmin (Ubuntu): | |
assignee: | nobody → Rohan Garg (rohangarg) |
Changed in kdeadmin (Ubuntu): | |
status: | In Progress → Fix Released |
assignee: | Rohan Garg (rohangarg) → nobody |
Rohan Garg (rohangarg) wrote : | #59 |
- 03_options.py.patch Edit (855 bytes, text/plain)
Hi
I tried to fix the package with a reformatted version of your patch ( attached with this comment ).But it seems it still doesnt fix the issue, feel free to attach more patches so that this can be fixed.Thanks!
Jonathan Thomas (echidnaman) wrote : | #60 |
That's because this bug is not what has things broken in maverick. The maverick crash on startup is being tracked at bug 591980.
Myke Tux (tux-h) wrote : | #61 |
For reference, got the same error here (12.04 Precise) and found a solution at bug 763369
system- config- printer- kde is now part of the official KDE Utilities module. :-)
Anyway, could you run systemsettings from the console and paste the output when you try to open the Printing module? Thanks