[Bug 793679] Re: systemsettings crashed with ImportError in /usr/share/kde4/apps/system-config-printer-kde/options.py: No module named ppdippstr

Ingo Ratsdorf 793679 at bugs.launchpad.net
Fri Jun 17 10:03:38 UTC 2011


I can confirm this bug.
I have copied from https://fedorahosted.org/system-config-printer/browser/ppdippstr.py and placed into /usr/share/kde4/apps/system-config-printer-kde/

then the output changes to:

kcmshell(6089)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from "/var/tmp/kdecache-ingo/ksycoca4"
kcmshell(6089)/kutils (KCMultiDialog) KCMultiDialog::addModule: "Printer Configuration"
kcmshell(6089)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Printer Configuration"  from library  "kpythonpluginfactory"  using symbol  "kpythonpluginfactory"
kcmshell(6089)/python (plugin) KPythonPluginFactory::KPythonPluginFactory: KPythonPluginFactory::KPythonPluginFactory()
kcmshell(6089)/python (plugin) KPythonPluginFactory::initialize: Initializing Python interpreter.
kcmshell(6089)/python (plugin) KPythonPluginFactory::initialize: Succesfully initialized Python interpreter.
kcmshell(6089)/python (plugin) KPythonPluginFactory::create: KPythonPluginFactory::create iface:  KCModule
kcmshell(6089)/python (plugin) KPythonPluginFactory::create: keyword to be used for finding the plugin code:  "system-config-printer-kde/system-config-printer-kde.py"
kcmshell(6089)/python (plugin) KPythonPluginFactory::create: Path to plugin code is:  "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py"
kcmshell(6089)/python (plugin): Failed to import module 
Traceback (most recent call last):
  File "/usr/share/kde4/apps/system-config-printer-kde/system-config-printer-kde.py", line 66, in <module>
    from cupshelpers.smburi import SMBURI
ImportError: No module named smburi
kcmshell(6089)/python (plugin) KPythonPluginFactory::create: KPythonPluginFactory::create iface:  KCModule
kcmshell(6089)/python (plugin) KPythonPluginFactory::create: keyword to be used for finding the plugin code:  ""
kcmshell(6089)/python (plugin) KPythonPluginFactory::create: Path to plugin code is:  "/home/ingo/.kde/share/apps/"
kcmshell(6089)/python (plugin): Failed to import module 
kcmshell(6089)/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(6089)/kutils (KCMultiDialog) KCMultiDialog::addModule: adding KCM  "Printer Configuration"  at the top level
kcmshell(6089)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_slotCurrentPageChanged:
kcmshell(6089)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_clientChanged:
kcmshell(6089)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_clientChanged:
kcmshell(6089)/kutils (KCMultiDialog) KCMultiDialogPrivate::_k_dialogClosed:
kcmshell(6089)/python (plugin) KPythonPluginFactory::~KPythonPluginFactory: KPythonPluginFactory::~KPythonPluginFactory()

However, there is a lot of cupshelpers:
/usr/lib/python2.7/dist-packages/cupshelpers
/usr/lib/python2.7/dist-packages/cupshelpers/cupshelpers.pyc                                                                                                                                             
/usr/lib/python2.7/dist-packages/cupshelpers/cupshelpers.py                                                                                                                                              
/usr/lib/python2.6/dist-packages/cupshelpers                                                                                                                                                             
/usr/lib/python2.6/dist-packages/cupshelpers/cupshelpers.pyc                                                                                                                                             
/usr/lib/python2.6/dist-packages/cupshelpers/cupshelpers.py                                                                                                                                              
/usr/share/pyshared/cupshelpers                                                                                                                                                                          
/usr/share/pyshared/cupshelpers/cupshelpers.py    

smburi is also there, but in /usr/share/system-config-printer/

Yet, no success. Search path problem?

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kdeadmin in Ubuntu.
https://bugs.launchpad.net/bugs/793679

Title:
  systemsettings crashed with ImportError in /usr/share/kde4/apps
  /system-config-printer-kde/options.py: No module named ppdippstr

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kdeadmin/+bug/793679/+subscriptions




More information about the kubuntu-bugs mailing list