Temat bumerang, czyli dialog do konfiguracji drukarek pod KDE.

Łukasz Maśko masko w ipipan.waw.pl
Pią, 12 Mar 2010, 14:05:13 CET


Czekam cierpliwie, z wersji na wersję, czy w końcu zadziała. Ale nic z tego, 
póki co. Mam teraz KDE-4.4.1 z Th+test+ready, czyli najnowsze co mamy w 
distro. I przy próbie odpalenia konfiguracji nadal mam takie coś:

$ kcmshell4 system-config-printer-kde 
kcmshell(483)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open 
ksycoca from  "/var/tmp/kdecache-ed/ksycoca4"
kcmshell(483)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Konfiguracja 
drukarki"
kcmshell(483)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: 
Module not already loaded, loading module  "Konfiguracja drukarki"  from 
library  "kpythonpluginfactory"  using symbol  "kpythonpluginfactory"
kcmshell(483)/python (plugin) KPythonPluginFactory::KPythonPluginFactory: 
KPythonPluginFactory::KPythonPluginFactory()
kcmshell(483)/python (plugin) KPythonPluginFactory::initialize: Initializing 
Python interpreter.
kcmshell(483)/python (plugin) KPythonPluginFactory::initialize: Succesfully 
initialized Python interpreter.
kcmshell(483)/python (plugin) KPythonPluginFactory::create: 
KPythonPluginFactory::create iface:  KCModule
kcmshell(483)/python (plugin) KPythonPluginFactory::create: keyword to be 
used for finding the plugin code:  "system-config-printer-kde/system-config-
printer-kde.py"
kcmshell(483)/python (plugin) KPythonPluginFactory::create: Path to plugin 
code is:  "/usr/share/apps/system-config-printer-kde/system-config-printer-
kde.py"
kcmshell(483)/python (plugin): Error while running factory function for 
Python plugin:  "system-config-printer-kde/system-config-printer-kde.py" 
Traceback (most recent call last):
  File "<string>", line 18, in kpythonpluginfactory_bridge
  File "/usr/share/apps/system-config-printer-kde/system-config-printer-
kde.py", line 4004, in CreatePlugin
    kcm = u.makeui(component_data, widget_parent)
  File "/usr/share/apps/system-config-printer-kde/system-config-printer-
kde.py", line 128, in makeui
    self.ui = PyKcm(component_data, parent, self)
  File "/usr/share/apps/system-config-printer-kde/system-config-printer-
kde.py", line 104, in __init__
    uic.loadUi(APPDIR + "/" + "system-config-printer.ui", self)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/__init__.py", line 177, 
in loadUi
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/Loader/loader.py", line 
21, in loadUi
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 805, 
in parse
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 653, 
in createUserInterface
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 631, 
in traverseWidgetTree
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 400, 
in createLayout
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 631, 
in traverseWidgetTree
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 443, 
in handleItem
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 631, 
in traverseWidgetTree
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 169, 
in createWidget
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 631, 
in traverseWidgetTree
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 169, 
in createWidget
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 631, 
in traverseWidgetTree
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 400, 
in createLayout
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 631, 
in traverseWidgetTree
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 443, 
in handleItem
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 631, 
in traverseWidgetTree
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 400, 
in createLayout
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 631, 
in traverseWidgetTree
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 443, 
in handleItem
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 631, 
in traverseWidgetTree
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 163, 
in createWidget
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 135, 
in setupObject
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/objcreator.py", line 65, 
in createQObject
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/objcreator.py", line 75, 
in findQObjectType
  File "/usr/lib/python2.6/site-
packages/PyQt4/uic/Loader/qobjectcreator.py", line 52, in search
ImportError: No module named kpushbutton
kcmshell(483)/python (plugin) KPythonPluginFactory::create: 
KPythonPluginFactory::create iface:  KCModule
kcmshell(483)/python (plugin) KPythonPluginFactory::create: keyword to be 
used for finding the plugin code:  ""
kcmshell(483)/python (plugin) KPythonPluginFactory::create: Path to plugin 
code is:  "/home/users/ed/.kde/share/apps/"
kcmshell(483)/python (plugin): Failed to import module 
kcmshell(483)/kcontrol KCModuleLoader::loadModule: This module has no valid 
entry symbol at all. The reason could be that it's still using 
K_EXPORT_COMPONENT_FACTORY with a custom X-KDE-FactoryName which is not 
supported anymore 
kcmshell(483)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM  
"Konfiguracja drukarki"  at the top level
kcmshell(483)/kutils (KCMultiDialog) 
KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kcmshell(483)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_dialogClosed:
kcmshell(483)/python (plugin) KPythonPluginFactory::~KPythonPluginFactory: 
KPythonPluginFactory::~KPythonPluginFactory()

W okienku wyświetla się komunikat:
Usługa 'Konfiguracja drukarki' nie udostępnia interfejsu 'KCModule' ze 
słowem kluczowym 'system-config-printer-kde/system-config-printer-kde.py' Ta 
infrastruktura nie pozwala na tworzenie składników podanego typu.

Czy komuś to działa? Jakieś podpowiedzi, co sprawdzić, jeśli tylko mi nie 
działa?
-- 
Łukasz Maśko                                           GG:   2441498    _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"


Więcej informacji o liście dyskusyjnej pld-users-pl