Bug 516386 - Cannot open Printer Configuration in System Settings under kde4.3
Summary: Cannot open Printer Configuration in System Settings under kde4.3
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kdebindings
Version: 11
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: kde-4.3.0
TreeView+ depends on / blocked
 
Reported: 2009-08-09 09:11 UTC by Fabio Canepa
Modified: 2009-08-25 04:44 UTC (History)
13 users (show)

Fixed In Version: 2.4-4.fc11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-25 04:44:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Fabio Canepa 2009-08-09 09:11:21 UTC
Description of problem:
I've update my fedora to kde-4.3.0 using the following command:
sudo yum --enablerepo=updates-testing groupupdate 'KDE (K Desktop Environment)'

Version-Release number of selected component (if applicable):
kdebase-workspace-4.3.0-5.fc11.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Open System Settings
2. Click on "Printer Configuration"
  
Actual results:
An error is displayed (see screenshot)


Expected results:
Printer configuration open


Additional info:
Under my .xsession-errors I see this error:
Traceback (most recent call last):
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 32, in <module>
    import locale
  File "/usr/lib64/python2.6/locale.py", line 183, in <module>
    import re, operator
ImportError: /usr/lib64/python2.6/lib-dynload/operator.so: undefined symbol: _Py_ZeroStruct

Comment 1 Rex Dieter 2009-08-09 13:17:34 UTC
I can't reproduce this here (but I didn't selectively upgrade things either, maybe that's part of the problem?)

Comment 2 Kevin Kofler 2009-08-09 18:47:53 UTC
Can you please check the versions of some of your packages?

rpm -q system-config-printer-kde kdeutils-printer-applet system-config-printer python

Comment 3 Kevin Kofler 2009-08-09 18:48:26 UTC
PS: The above should be all in one line (i.e. python should be part of the rpm -q).

(forgot to set needinfo too)

Comment 4 Fabio Canepa 2009-08-09 19:00:40 UTC
Hi,
here you find packages versions:
[fabio@f11fabio ~]$ rpm -q system-config-printer-kde kdeutils-printer-applet system-config-printer python
system-config-printer-kde-4.3.0-1.fc11.x86_64
kdeutils-printer-applet-4.3.0-3.fc11.x86_64
system-config-printer-1.1.8-6.fc11.x86_64
python-2.6-9.fc11.x86_64

Comment 5 Rex Dieter 2009-08-09 19:17:25 UTC
What works for me,
$ rpm -q system-config-printer-kde kdeutils-printer-applet system-config-printer python
system-config-printer-kde-4.3.0-1.fc11.x86_64
kdeutils-printer-applet-4.3.0-3.fc11.x86_64
system-config-printer-1.1.11-1.fc11.x86_64
python-2.6-11.fc11.x86_64


Darn, just uninstalled python-devel and associated deps, and it stopped working, same symptoms. Rats.

Looks like a python bug to me, reassigning.  I'll post more details in a bit.

Comment 6 Rex Dieter 2009-08-09 19:26:22 UTC
eww, looks like a kde bindings bug, it fails when
%{_libdir}/libpython2.6.so symlink is not present.

Isn't that what 
kdebindings-4.2.4-fix-kpythonpluginfactory.patch
is supposed to fix?

Why isn't that upstreamed... yet?

Comment 7 Rex Dieter 2009-08-09 19:42:55 UTC
The patch may not work as advertised (according to strace):

open("/usr/lib64/libpython2.6.so.so.1.0", O_RDONLY) = -1 ENOENT (No such file or directory)

looks like the .so may need to be stripped from PYTHON_LIB if using QLibrary's setFileNameAndVersion

(If true, kind of lame in my book, but oh well)

Comment 8 Rex Dieter 2009-08-09 21:49:55 UTC
ok, kdebindings-4.3.0-4 manually specifies PYTHON_LIBRARIES in lieu of a better, working, upstreamable patch.

Comment 9 Fedora Update System 2009-08-10 21:51:17 UTC
qscintilla-2.4-3.fc11, kdebindings-4.3.0-4.fc11, kdeedu-4.3.0-4.fc11, kdepim-4.3.0-2.fc11, libmsn-4.0-0.12.beta7.fc11, PyKDE-3.16.3-1.fc11, PyQt4-4.5.4-1.fc11, PyQt-3.18.1-1.fc11, sip-4.8.2-1.fc11, kdelibs-4.3.0-2.fc11, kdeaccessibility-4.3.0-3.fc11, kdeadmin-4.3.0-1.fc11, kdeartwork-4.3.0-1.fc11, kdebase-4.3.0-1.fc11, kdebase-runtime-4.3.0-2.fc11, kdebase-workspace-4.3.0-5.fc11, kdegames-4.3.0-2.fc11, kdegraphics-4.3.0-1.fc11, kdelibs-experimental-4.3.0-1.fc11, kdemultimedia-4.3.0-1.fc11, kdenetwork-4.3.0-1.fc11, kdepim-runtime-4.3.0-1.fc11, kdepimlibs-4.3.0-2.fc11, kdeplasma-addons-4.3.0-5.fc11, kdesdk-4.3.0-1.fc11, kdetoys-4.3.0-1.fc11, kdeutils-4.3.0-3.fc11, kde-plasma-stasks-0.5.1-6.fc11, soprano-2.3.0-2.fc11, strigi-0.7.0-1.fc11, akonadi-1.2.0-1.fc11, kdegames3-3.5.10-6.fc11, kde-i18n-3.5.10-9.fc11, kde-l10n-4.3.0-1.fc11, oxygen-icon-theme-4.3.0-1.fc11, digikam-0.10.0-2.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update qscintilla kdebindings kdeedu kdepim libmsn PyKDE PyQt4 PyQt sip kdelibs kdeaccessibility kdeadmin kdeartwork kdebase kdebase-runtime kdebase-workspace kdegames kdegraphics kdelibs-experimental kdemultimedia kdenetwork kdepim-runtime kdepimlibs kdeplasma-addons kdesdk kdetoys kdeutils kde-plasma-stasks soprano strigi akonadi kdegames3 kde-i18n kde-l10n oxygen-icon-theme digikam'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8368

Comment 10 Fabio Canepa 2009-08-11 08:35:43 UTC
I still have the problem and Printer Configuration does not work, but I want to detail my update process.

First I have installed kde 4.3 by using 
sudo yum --enablerepo=updates-testing groupupdate 'KDE (K Desktop Environment)'
but when I tried to re-run this command it returned that there was nothing to update.

So I've tried to run 
su -c 'yum --enablerepo=updates-testing update qscintilla kdebindings kdeedu
kdepim libmsn PyKDE PyQt4 PyQt sip kdelibs kdeaccessibility kdeadmin kdeartwork
kdebase kdebase-runtime kdebase-workspace kdegames kdegraphics
kdelibs-experimental kdemultimedia kdenetwork kdepim-runtime kdepimlibs
kdeplasma-addons kdesdk kdetoys kdeutils kde-plasma-stasks soprano strigi
akonadi kdegames3 kde-i18n kde-l10n oxygen-icon-theme digikam'
but it returns:
Error: No Package Matching kde-i18n

Then I removed kde-i18n from the package list (I'm using kde in english) and it complained about kde-l10n (Error: No Package Matching kde-l10n)

Then I removed also kde-l10n and run:
su -c 'yum --enablerepo=updates-testing update qscintilla kdebindings kdeedu
kdepim libmsn PyKDE PyQt4 PyQt sip kdelibs kdeaccessibility kdeadmin kdeartwork
kdebase kdebase-runtime kdebase-workspace kdegames kdegraphics
kdelibs-experimental kdemultimedia kdenetwork kdepim-runtime kdepimlibs
kdeplasma-addons kdesdk kdetoys kdeutils kde-plasma-stasks soprano strigi
akonadi kdegames3 oxygen-icon-theme digikam'

The result was:
Package(s) kdebindings available, but not installed.                                                                                                             
Package(s) kdeedu available, but not installed.                                                                                                                  
Package(s) PyKDE available, but not installed.                                                                                                                   
Package(s) PyQt available, but not installed.                                                                                                                    
Package(s) kdeadmin available, but not installed.                                                                                                                
Package(s) kdeartwork available, but not installed.                                                                                                              
Package(s) kdetoys available, but not installed.                                                                                                                 
Package(s) kde-plasma-stasks available, but not installed.                                                                                                       
Package(s) strigi available, but not installed.                                                                                                                  
Package(s) kdegames3 available, but not installed.                                                                                                               
No Packages marked for Updateinstalled.                                                                                                               
No Packages marked for Update     

So I manually install all the packages marked for update  but not installed with the command:
sudo yum --enablerepo=updates-testing install <package-name>

But I still cannot open Printer Configuration...

Comment 11 Rex Dieter 2009-08-11 11:43:36 UTC
In particular, the fix is in PyKDE4-4.3.0-4, is that what you have installed?

Comment 12 Kevin Kofler 2009-08-11 12:57:47 UTC
Don't trust the commands the autogenerated comments suggest running. Our update system (Bodhi) takes SRPMs, not binary RPMs. It then pushes all the binary RPMs built from that SRPM. But the yum line it suggests contains the SRPM names, which is wrong, you need the binary RPM names (which are many more).

Comment 13 Fabio Canepa 2009-08-11 13:17:44 UTC
Ok now after running "sudo yum --enablerepo=updates-testing update PyKDE4" Printer Configuration works!
But now I'm a bit confused on how to follow kde 4.3.0 in update-testing...
Which command should I run to update kde 4.3.0 packages ?

Thanx!

Comment 14 Rex Dieter 2009-08-11 13:27:58 UTC
The short version of the answer is:  You're pretty much expected to use all of updates-testing for the full QA/testing experience, see also:
http://fedoraproject.org/wiki/QA/Updates_Testing

Keep in mind that bugzilla, isn't really a good or proper forum for support-type questions about updates-testing, better is  https://www.redhat.com/mailman/listinfo/fedora-test-list (mentioned also in the aforementioned QA wiki)

Comment 15 Fedora Update System 2009-08-15 08:19:14 UTC
qscintilla-2.4-4.fc11, kdebindings-4.3.0-4.fc11.1, kdeedu-4.3.0-4.fc11, kdepim-4.3.0-2.fc11, libmsn-4.0-0.12.beta7.fc11, PyKDE-3.16.3-1.fc11, PyQt4-4.5.4-1.fc11, PyQt-3.18.1-1.fc11, sip-4.8.2-1.fc11, kdelibs-4.3.0-2.fc11, kdeaccessibility-4.3.0-3.fc11, kdeadmin-4.3.0-1.fc11, kdeartwork-4.3.0-1.fc11, kdebase-4.3.0-1.fc11, kdebase-workspace-4.3.0-5.fc11, kdegames-4.3.0-2.fc11, kdegraphics-4.3.0-1.fc11, kdelibs-experimental-4.3.0-1.fc11, kdemultimedia-4.3.0-1.fc11, kdenetwork-4.3.0-1.fc11, kdepim-runtime-4.3.0-1.fc11, kdepimlibs-4.3.0-2.fc11, kdeplasma-addons-4.3.0-5.fc11, kdesdk-4.3.0-1.fc11, kdetoys-4.3.0-1.fc11, kdeutils-4.3.0-3.fc11, kde-plasma-stasks-0.5.1-6.fc11, soprano-2.3.0-2.fc11, strigi-0.7.0-1.fc11, akonadi-1.2.0-1.fc11, kdegames3-3.5.10-6.fc11, kde-i18n-3.5.10-9.fc11, kde-l10n-4.3.0-1.fc11, oxygen-icon-theme-4.3.0-1.fc11, digikam-0.10.0-2.fc11, kdebase-runtime-4.3.0-4.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update qscintilla kdebindings kdeedu kdepim libmsn PyKDE PyQt4 PyQt sip kdelibs kdeaccessibility kdeadmin kdeartwork kdebase kdebase-workspace kdegames kdegraphics kdelibs-experimental kdemultimedia kdenetwork kdepim-runtime kdepimlibs kdeplasma-addons kdesdk kdetoys kdeutils kde-plasma-stasks soprano strigi akonadi kdegames3 kde-i18n kde-l10n oxygen-icon-theme digikam kdebase-runtime'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8368

Comment 16 Fedora Update System 2009-08-19 23:14:08 UTC
qscintilla-2.4-4.fc11, kdebindings-4.3.0-4.fc11.1, kdeedu-4.3.0-4.fc11, kdepim-4.3.0-2.fc11, libmsn-4.0-0.12.beta7.fc11, PyKDE-3.16.3-1.fc11, PyQt4-4.5.4-1.fc11, PyQt-3.18.1-1.fc11, sip-4.8.2-1.fc11, kdeaccessibility-4.3.0-3.fc11, kdeadmin-4.3.0-1.fc11, kdeartwork-4.3.0-1.fc11, kdebase-4.3.0-1.fc11, kdebase-workspace-4.3.0-5.fc11, kdegames-4.3.0-2.fc11, kdegraphics-4.3.0-1.fc11, kdelibs-experimental-4.3.0-1.fc11, kdemultimedia-4.3.0-1.fc11, kdenetwork-4.3.0-1.fc11, kdepim-runtime-4.3.0-1.fc11, kdepimlibs-4.3.0-2.fc11, kdeplasma-addons-4.3.0-5.fc11, kdesdk-4.3.0-1.fc11, kdetoys-4.3.0-1.fc11, kdeutils-4.3.0-3.fc11, kde-plasma-stasks-0.5.1-6.fc11, soprano-2.3.0-2.fc11, strigi-0.7.0-1.fc11, akonadi-1.2.0-1.fc11, kdegames3-3.5.10-6.fc11, kde-i18n-3.5.10-9.fc11, kde-l10n-4.3.0-1.fc11, oxygen-icon-theme-4.3.0-1.fc11, digikam-0.10.0-2.fc11, kdebase-runtime-4.3.0-4.fc11, kdelibs-4.3.0-5.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update qscintilla kdebindings kdeedu kdepim libmsn PyKDE PyQt4 PyQt sip kdeaccessibility kdeadmin kdeartwork kdebase kdebase-workspace kdegames kdegraphics kdelibs-experimental kdemultimedia kdenetwork kdepim-runtime kdepimlibs kdeplasma-addons kdesdk kdetoys kdeutils kde-plasma-stasks soprano strigi akonadi kdegames3 kde-i18n kde-l10n oxygen-icon-theme digikam kdebase-runtime kdelibs'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8368

Comment 17 Fedora Update System 2009-08-22 00:57:27 UTC
qscintilla-2.4-4.fc11, kdebindings-4.3.0-4.fc11.1, kdelibs-4.3.0-6.fc11, kdeartwork-4.3.0-2.fc11, kdebase-workspace-4.3.0-8.fc11, kdeedu-4.3.0-5.fc11, kdepim-4.3.0-4.fc11, kdeplasma-addons-4.3.0-8.fc11, libmsn-4.0-0.12.beta7.fc11, PyKDE-3.16.3-1.fc11, PyQt4-4.5.4-1.fc11, PyQt-3.18.1-1.fc11, sip-4.8.2-1.fc11, kdeaccessibility-4.3.0-3.fc11, kdeadmin-4.3.0-1.fc11, kdebase-4.3.0-1.fc11, kdegames-4.3.0-2.fc11, kdegraphics-4.3.0-1.fc11, kdelibs-experimental-4.3.0-1.fc11, kdemultimedia-4.3.0-1.fc11, kdenetwork-4.3.0-1.fc11, kdepim-runtime-4.3.0-1.fc11, kdepimlibs-4.3.0-2.fc11, kdesdk-4.3.0-1.fc11, kdetoys-4.3.0-1.fc11, kdeutils-4.3.0-3.fc11, kde-plasma-stasks-0.5.1-6.fc11, soprano-2.3.0-2.fc11, strigi-0.7.0-1.fc11, akonadi-1.2.0-1.fc11, kdegames3-3.5.10-6.fc11, kde-i18n-3.5.10-9.fc11, kde-l10n-4.3.0-1.fc11, oxygen-icon-theme-4.3.0-1.fc11, digikam-0.10.0-2.fc11, kdebase-runtime-4.3.0-4.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update qscintilla kdebindings kdelibs kdeartwork kdebase-workspace kdeedu kdepim kdeplasma-addons libmsn PyKDE PyQt4 PyQt sip kdeaccessibility kdeadmin kdebase kdegames kdegraphics kdelibs-experimental kdemultimedia kdenetwork kdepim-runtime kdepimlibs kdesdk kdetoys kdeutils kde-plasma-stasks soprano strigi akonadi kdegames3 kde-i18n kde-l10n oxygen-icon-theme digikam kdebase-runtime'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8368

Comment 18 Fedora Update System 2009-08-25 04:34:08 UTC
qscintilla-2.4-4.fc10, kdebase-workspace-4.3.0-9.fc10, kdeedu-4.3.0-6.fc10, kdelibs-4.3.0-6.fc10, kdeartwork-4.3.0-2.fc10, kdepim-4.3.0-4.fc10, kdeplasma-addons-4.3.0-8.fc10, qzion-0.4.0-1.fc10, qedje-0.4.0-1.fc10, libmsn-4.0-0.12.beta7.fc10, PyKDE-3.16.3-1.fc10, PyQt4-4.5.4-1.fc10, PyQt-3.18.1-1.fc10, sip-4.8.2-1.fc10, kdeaccessibility-4.3.0-3.fc10, kdeadmin-4.3.0-1.fc10, kdebase-4.3.0-1.fc10, kdegames-4.3.0-2.fc10, kdegraphics-4.3.0-1.fc10, kdelibs-experimental-4.3.0-1.fc10, kdemultimedia-4.3.0-1.fc10, kdenetwork-4.3.0-1.fc10, kdepim-runtime-4.3.0-1.fc10, kdepimlibs-4.3.0-2.fc10, kdesdk-4.3.0-1.fc10, kdetoys-4.3.0-1.fc10, kdeutils-4.3.0-3.fc10, kde-plasma-stasks-0.5.1-6.fc10, soprano-2.3.0-2.fc10, strigi-0.7.0-1.fc10, akonadi-1.2.0-1.fc10, kdegames3-3.5.10-6.fc10, kde-i18n-3.5.10-9.fc10, kde-l10n-4.3.0-1.fc10, oxygen-icon-theme-4.3.0-1.fc10, digikam-0.10.0-2.fc10, kdebase-runtime-4.3.0-4.fc10, kdebindings-4.3.0-4.fc10.1 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2009-08-25 04:43:44 UTC
qscintilla-2.4-4.fc11, kdebindings-4.3.0-4.fc11.1, kdebase-workspace-4.3.0-9.fc11, kdeedu-4.3.0-6.fc11, kdelibs-4.3.0-6.fc11, kdeartwork-4.3.0-2.fc11, kdepim-4.3.0-4.fc11, kdeplasma-addons-4.3.0-8.fc11, libmsn-4.0-0.12.beta7.fc11, PyKDE-3.16.3-1.fc11, PyQt4-4.5.4-1.fc11, PyQt-3.18.1-1.fc11, sip-4.8.2-1.fc11, kdeaccessibility-4.3.0-3.fc11, kdeadmin-4.3.0-1.fc11, kdebase-4.3.0-1.fc11, kdegames-4.3.0-2.fc11, kdegraphics-4.3.0-1.fc11, kdelibs-experimental-4.3.0-1.fc11, kdemultimedia-4.3.0-1.fc11, kdenetwork-4.3.0-1.fc11, kdepim-runtime-4.3.0-1.fc11, kdepimlibs-4.3.0-2.fc11, kdesdk-4.3.0-1.fc11, kdetoys-4.3.0-1.fc11, kdeutils-4.3.0-3.fc11, kde-plasma-stasks-0.5.1-6.fc11, soprano-2.3.0-2.fc11, strigi-0.7.0-1.fc11, akonadi-1.2.0-1.fc11, kdegames3-3.5.10-6.fc11, kde-i18n-3.5.10-9.fc11, kde-l10n-4.3.0-1.fc11, oxygen-icon-theme-4.3.0-1.fc11, digikam-0.10.0-2.fc11, kdebase-runtime-4.3.0-4.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.