LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   KDE printing issue: using K_EXPORT_COMPONENT_FACT with a custom X-KDE-FactoryName (https://www.linuxquestions.org/questions/slackware-14/kde-printing-issue-using-k_export_component_fact-with-a-custom-x-kde-factoryname-4175479581/)

LukaszKaleta 10-04-2013 04:36 AM

KDE printing issue: using K_EXPORT_COMPONENT_FACT with a custom X-KDE-FactoryName
 
Hi, I have following issue

Printer configurations shows:
The service 'Printer Configuration' does not provide an interface 'KCModule'
with keyword 'system-config- printer-kde/system-config-printer-kde.py'
The factory does not support creating components of the specified type.

Code:

lka@capra:~$ kcmshell4 system-config-printer-kde                                                                                                                                                                                                                             
kcmshell(17355)/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 4398, in CreatePlugin                                                                                                                                                                   
    kcm = u.makeui(component_data, widget_parent)                                                                                                                                                                                                                             
  File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 173, in makeui                                                                                                                                                                         
    encryption=encryption)                                                                                                                                                                                                                                                   
  File "/usr/share/apps/system-config-printer-kde/authconn.py", line 168, in __init__                                                                                                                                                                                         
    self._connect ()                                                                                                                                                                                                                                                         
  File "/usr/share/apps/system-config-printer-kde/authconn.py", line 200, in _connect                                                                                                                                                                                         
    encryption=self._encryption)                                                                                                                                                                                                                                             
RuntimeError: failed to connect to server                                                                                                                                                                                                                                     
kcmshell(17355)/python (plugin): Failed to import module                                                                                                                                                                                                                     
kcmshell(17355)/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


Maybe some one will give me hint how to solve it.

I am using Slackware 14.
Before I installed wxPython-2.8.12.1-x86_64-1_SBo.tgz, and phAdmin from slackbuilds.
Unfortunatelly I did not check if printing was working before that.

LukaszKaleta 10-13-2013 04:27 AM

Starting cups will solve it :)
 
This solves mine issue:

cd /etc/rc.d
chmod +x rc.cups
./rc.cups start


All times are GMT -5. The time now is 03:33 AM.