You are not logged in.

#1 2010-02-15 01:04:20

thefatprecious
Member
From: Austin, TX
Registered: 2009-02-13
Posts: 98

[Solved] KDE printer configuration dialog not working

Printing works OK with printers currently configured from all apps, but when running systemsettings from the command line and launching the Printer Configuration, the following error is output. This did not happen in kde 4.3

extra/kdeadmin-system-config-printer-kde 4.4.0-1

Any ideas?

 systemsettings(4817)/kutils (KCModuleProxy) KCModuleProxyPrivate::loadModule: Module not already loaded, loading module  "Printer Configuration"  from library  "kpythonpluginfactory"  using symbol  "kpythonpluginfactory"
systemsettings(4817)/python (plugin) KPythonPluginFactory::KPythonPluginFactory: KPythonPluginFactory::KPythonPluginFactory()
systemsettings(4817)/python (plugin) KPythonPluginFactory::initialize: Initializing Python interpreter.
systemsettings(4817)/python (plugin) KPythonPluginFactory::initialize: Succesfully initialized Python interpreter.
systemsettings(4817)/python (plugin) KPythonPluginFactory::create: KPythonPluginFactory::create iface:  KCModule
systemsettings(4817)/python (plugin) KPythonPluginFactory::create: keyword to be used for finding the plugin code:  "system-config-printer-kde/system-config-printer-kde.py"
systemsettings(4817)/python (plugin) KPythonPluginFactory::create: Path to plugin code is:  "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py"
Traceback (most recent call last):
  File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 424, in on_tvMainList_cursor_changed
    self.fillPrinterTab(name)
  File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 1147, in fillPrinterTab
    option.reinit (value, supported=supported)
  File "/usr/share/apps/system-config-printer-kde/options.py", line 136, in reinit
    self.widget.addItem(self.combobox_dict[each])
AttributeError: OptionAlwaysShown instance has no attribute 'combobox_dict'
systemsettings(4817)/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 360, in makeui
    self.populateList(start_printer, change_ppd)
  File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 636, in populateList
    self.on_tvMainList_cursor_changed()
  File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 424, in on_tvMainList_cursor_changed
    self.fillPrinterTab(name)
  File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 1147, in fillPrinterTab
    option.reinit (value, supported=supported)
  File "/usr/share/apps/system-config-printer-kde/options.py", line 136, in reinit
    self.widget.addItem(self.combobox_dict[each])
AttributeError: OptionAlwaysShown instance has no attribute 'combobox_dict'
systemsettings(4817)/python (plugin) KPythonPluginFactory::create: KPythonPluginFactory::create iface:  KCModule
systemsettings(4817)/python (plugin) KPythonPluginFactory::create: keyword to be used for finding the plugin code:  ""
systemsettings(4817)/python (plugin) KPythonPluginFactory::create: Path to plugin code is:  "/home/mtimmens/.kde4/share/apps/"
systemsettings(4817)/python (plugin): Failed to import module 
systemsettings(4817)/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

ILoveCandy

Offline

#2 2010-02-15 08:49:14

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: [Solved] KDE printer configuration dialog not working

The application starts for me, but it doesn't look useful: my local printers are listed, but there is no way to administer them. I'm not sure if that was the same in KDE 4.3 - I've never used it.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#3 2010-02-15 09:29:22

avoulk
Member
From: Greece
Registered: 2007-08-28
Posts: 132
Website

Re: [Solved] KDE printer configuration dialog not working

I have the same problem too..
In both x86 and x86_64 architectures..

Offline

#4 2010-02-16 00:54:10

thefatprecious
Member
From: Austin, TX
Registered: 2009-02-13
Posts: 98

Re: [Solved] KDE printer configuration dialog not working

The issue was also reported but never fixed here in post #441 http://bbs.archlinux.org/viewtopic.php?pid=685518

So would this be a bug in kdeadmin-system-config-printer-kde or kdebindings-python (I'm assuming it's related to one of those)? And also would it be for Arch or go upstream?


ILoveCandy

Offline

#5 2010-02-16 14:25:41

avoulk
Member
From: Greece
Registered: 2007-08-28
Posts: 132
Website

Re: [Solved] KDE printer configuration dialog not working

So, I guess we should submit a bug report if one does not exist..

Offline

#6 2010-03-12 00:41:27

thefatprecious
Member
From: Austin, TX
Registered: 2009-02-13
Posts: 98

Re: [Solved] KDE printer configuration dialog not working

It's working for me now/again after the kdeadmin-system-config-printer-kde 4.4.1-2 update this week....


ILoveCandy

Offline

#7 2010-03-24 15:48:13

arch1_user
Member
Registered: 2010-03-10
Posts: 17

Re: [Solved] KDE printer configuration dialog not working

I see the same thing in the KDE Config Utility.

I would normally click on New Network Printer, and get presented with a bunch of oprions. Like Windows shareand other stuff. I have tried it in Kubuntu 1o LTS BETA to see if it was a KDE hting, but it worked fine, and all of the options were there.

What apps should I have installed to access Windows Shared Printers?

Any ideas anyone?

Thanks.

Offline

#8 2010-07-24 23:10:16

JohnieBraaf
Member
From: Belgium
Registered: 2010-07-10
Posts: 15
Website

Re: [Solved] KDE printer configuration dialog not working

I have exactly the same problem. Fresh install with KDE. Printer Configuration is not accessible. What can we do?

Offline

#9 2010-10-10 14:25:11

mityukov
Member
Registered: 2010-10-10
Posts: 66

Re: [Solved] KDE printer configuration dialog not working

I have everything up-to-date (and KDE from [extra]), but get the same problem: printer configuration does not work in system setting (though it works via CUPS' web-interface).

My output is:

systemsettings(5000)/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 4006, 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(unicode(APPDIR + "/" + "system-config-printer.ui"), self)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/__init__.py", line 181, in loadUi
    return DynamicUILoader().loadUi(uifile, baseinstance)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/Loader/loader.py", line 24, in loadUi
    return self.parse(filename, QtCore.QFileInfo(filename).path())
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 842, in parse
    actor(elem)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/uiparser.py", line 687, in createUserInterface
    self.wprops.setProperties(self.toplevelWidget, elem)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/properties.py", line 365, in setProperties
    prop_value = self.convert(prop, widget)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/properties.py", line 330, in convert
    return func(prop[0], **args)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/properties.py", line 158, in _iconset
    return self.icon_cache.get_icon(prop)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/icon_cache.py", line 30, in get_icon
    iset = _IconSet(iconset, self._base_dir)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/icon_cache.py", line 63, in __init__
    self._fallback = self._file_name(iconset.text, base_dir)
  File "/usr/lib/python2.6/site-packages/PyQt4/uic/icon_cache.py", line 87, in _file_name
    fname = os.path.join(base_dir, fname)
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'QString' object has no attribute 'endswith'
systemsettings(5000)/python (plugin): Failed to import module 
systemsettings(5000)/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 
systemsettings(5000)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:

Offline

#10 2010-10-10 14:29:52

thefatprecious
Member
From: Austin, TX
Registered: 2009-02-13
Posts: 98

Re: [Solved] KDE printer configuration dialog not working

Yeah it seems to be a common result with every new release....I'm starting to wonder if it's become a joke with the devs.


ILoveCandy

Offline

#11 2010-10-10 15:03:35

ilpianista
Fellow developer
Registered: 2007-10-06
Posts: 568
Website

Re: [Solved] KDE printer configuration dialog not working

every pyqt release we have to rebuild kdebindings. I did this (kdebindings 4.5.2-5, or 4.5.2-6 if you are using [testing]), but probably there is some bug with the KCModule and PyQt 4.7.7.
I already reported the issue here

Offline

#12 2010-10-10 15:07:06

thefatprecious
Member
From: Austin, TX
Registered: 2009-02-13
Posts: 98

Re: [Solved] KDE printer configuration dialog not working

Thanks bash smile


ILoveCandy

Offline

#13 2010-10-19 07:36:14

fettouhi
Member
Registered: 2007-05-07
Posts: 745

Re: [Solved] KDE printer configuration dialog not working

Any update on this?

Offline

Board footer

Powered by FluxBB