Description of problem: With the default install (from the live image), running system-config-printer-kde results in: Traceback (most recent call last): File "/usr/bin/system-config-printer-kde", line 67, in <module> import config ImportError: No module named config If I install system-config-printer (which is not an explicit dependency, but maybe should be), the error changes: a window briefly pops up, and then disappears with the following console output: Traceback (most recent call last): File "/usr/bin/system-config-printer-kde", line 3249, in <module> applet = GUI() File "/usr/bin/system-config-printer-kde", line 148, in __init__ self.newPrinterGUI = np = NewPrinterGUI(self) File "/usr/bin/system-config-printer-kde", line 1483, in __init__ if not config.DOWNLOADABLE_DRIVER_SUPPORT: AttributeError: 'module' object has no attribute 'DOWNLOADABLE_DRIVER_SUPPORT' Version-Release number of selected component (if applicable): system-config-printer-kde-4.2.2-2.fc11.x86_64 How reproducible: Every time Additional info: I'm running x86_64 if it's relevant ...
it's fixed in 4.2.2-5.
You fixed the second bug. But there's also this one: > Traceback (most recent call last): > File "/usr/bin/system-config-printer-kde", line 67, in <module> > import config > ImportError: No module named config unless system-config-printer is installed. Apparently one or more modules needed by -kde are not in -libs as they should be. We need to fix system-config-printer's package split.
config.py, smburi.py and debug.py should be moved to -libs.
Done, I built a system-config-printer-1.1.7-2.fc11 which does this: http://koji.fedoraproject.org/koji/buildinfo?buildID=98814 I also submitted a build for Than's kdeadmin fix: http://koji.fedoraproject.org/koji/buildinfo?buildID=98815 (still running at the time of this writing). Can somebody please try these?
Seems to work -- I now have system-config-printer-kde-4.2.2-3.fc11.x86_64 system-config-printer-libs-1.1.7-2.fc11.x86_64 (and no system-config-printer) and it starts properly. I can't really test it because I'm at home, not at work, but at least the bugs I reported seem to be gone.
Unbelievably, KDE is *again* using interfaces that are not exported. These files are not part of the public API of system-config-printer, which is why they are not in the libs package. The public API is the 'cups' and 'cupshelpers' Python modules. I know that we are pressed for time for Fedora 11 but this is not the correct fix. A future update of system-config-printer will revert this change. Removing 'modified' status to reflect the fact that the KDE bug remains.
kdeadmin-4_2_2-4_fc11 works now without system-config-printer, it only needs system-config-printer-libs.