Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#27806 - [kdeadmin-system-config-printer-kde] Problems with system-config-printer-kde.py
Attached to Project:
Arch Linux
Opened by Nolwenn (Nonolapero) - Tuesday, 03 January 2012, 10:27 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 13 January 2012, 21:22 GMT
Opened by Nolwenn (Nonolapero) - Tuesday, 03 January 2012, 10:27 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 13 January 2012, 21:22 GMT
|
DetailsDescription:
I encounter some problems with the printer configuration widget. One time, I removed /etc/cups folder and after I reinstalled cups package. Additional info: * package version(s) % pacman -Q cups kdeadmin-system-config-printer-kde cups 1.5.0-1 kdeadmin-system-config-printer-kde 4.7.4-2 * config and/or log files etc. % /etc/rc.d/cupsd status :: Checking cupsd status [STARTED] % kcmshell4 system-config-printer-kde QPainter::begin: Paint device returned engine == 0, type: 2 QPainter::setCompositionMode: Painter not active QPainter::begin: Paint device returned engine == 0, type: 2 Traceback (most recent call last): File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 445, in on_tvMainList_cursor_changed self.fillPrinterTab(name) File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 1070, in fillPrinterTab self.ppd = printer.getPPD() File "/usr/lib/python2.7/site-packages/cupshelpers/cupshelpers.py", line 203, in getPPD self._ppd = self.connection.getPPD(self.name) File "/usr/share/apps/system-config-printer-kde/authconn.py", line 218, in <lambda> return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds) File "/usr/share/apps/system-config-printer-kde/authconn.py", line 256, in _authloop self._ask_retry_server_error (m) File "/usr/share/apps/system-config-printer-kde/authconn.py", line 288, in _ask_retry_server_error d = gtk.MessageDialog (self._parent, NameError: global name 'gtk' is not defined kcmshell(2036)/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 374, in makeui self.populateList(start_printer, change_ppd) File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 657, in populateList self.on_tvMainList_cursor_changed() File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 445, in on_tvMainList_cursor_changed self.fillPrinterTab(name) File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 1070, in fillPrinterTab self.ppd = printer.getPPD() File "/usr/lib/python2.7/site-packages/cupshelpers/cupshelpers.py", line 203, in getPPD self._ppd = self.connection.getPPD(self.name) File "/usr/share/apps/system-config-printer-kde/authconn.py", line 218, in <lambda> return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds) File "/usr/share/apps/system-config-printer-kde/authconn.py", line 256, in _authloop self._ask_retry_server_error (m) File "/usr/share/apps/system-config-printer-kde/authconn.py", line 288, in _ask_retry_server_error d = gtk.MessageDialog (self._parent, NameError: global name 'gtk' is not defined kcmshell(2036)/python (plugin): Failed to import module kcmshell(2036)/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 Steps to reproduce: run kcmshell4 system-config-printer-kde |
This task depends upon
I just installed the kdeadmin-system-config-printer-kde package but it does not work.
% pacman -Q kdebindings-python system-config-printer-common python2-pyqt python2-gobject2 cups
kdebindings-python 4.7.4-2
system-config-printer-common 1.3.7-1
python2-pyqt 4.9-2
python2-gobject2 2.28.6-4
cups 1.5.0-1
Application: Configuration du système (systemsettings), signal: Segmentation fault
[KCrash Handler]
#6 0x00007fe50e359d39 in ?? () from /usr/lib/libsmbclient.so.0
#7 0x00007fe50e359f46 in ?? () from /usr/lib/libsmbclient.so.0
#8 0x00007fe50e359ec9 in ?? () from /usr/lib/libsmbclient.so.0
#9 0x00007fe50e35ac18 in ?? () from /usr/lib/libsmbclient.so.0
#10 0x00007fe50e317996 in ?? () from /usr/lib/libsmbclient.so.0
#11 0x00007fe50e317f9f in smbc_new_context () from /usr/lib/libsmbclient.so.0
#12 0x00007fe50ea85b5e in ?? () from /usr/lib/python2.7/site-packages/smbc.so
#13 0x00007fe516c6c188 in type_call () from /usr/lib/libpython2.7.so.1.0
#14 0x00007fe516c17683 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#15 0x00007fe516cacbda in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#16 0x00007fe516caf8ef in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#17 0x00007fe516c3c15c in function_call () from /usr/lib/libpython2.7.so.1.0
#18 0x00007fe516c17683 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#19 0x00007fe516c262bf in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
#20 0x00007fe516c17683 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#21 0x00007fe516ca8877 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
#22 0x00007fe513cc2cf0 in ?? () from /usr/lib/python2.7/site-packages/sip.so
#23 0x00007fe514077d46 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
#24 0x00007fe514078040 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
#25 0x00007fe514078122 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
#26 0x00007fe52d07d159 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#27 0x00007fe52e373812 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#28 0x00007fe52e0b2a9e in ?? () from /usr/lib/libQtGui.so.4
#29 0x00007fe52e0b3ddb in ?? () from /usr/lib/libQtGui.so.4
#30 0x00007fe52e0b404c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#31 0x00007fe513802613 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
#32 0x00007fe52dd38f64 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x00007fe513802b2b in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
#34 0x00007fe52dce8854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007fe52dcedfa3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#36 0x00007fe52ea35ef6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#37 0x00007fe52d0690ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#38 0x00007fe52dce9822 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#39 0x00007fe52dd65b85 in ?? () from /usr/lib/libQtGui.so.4
#40 0x00007fe52dd64a4a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#41 0x00007fe52dd8c292 in ?? () from /usr/lib/libQtGui.so.4
#42 0x00007fe529fac84d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#43 0x00007fe529fad048 in ?? () from /usr/lib/libglib-2.0.so.0
#44 0x00007fe529fad219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#45 0x00007fe52d0980ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0x00007fe52dd8bf1e in ?? () from /usr/lib/libQtGui.so.4
#47 0x00007fe52d067e92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#48 0x00007fe52d0680e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#49 0x00007fe52e1b4c66 in QDialog::exec() () from /usr/lib/libQtGui.so.4
#50 0x00007fe51383a9e5 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtGui.so
#51 0x00007fe516cae295 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#52 0x00007fe516cae528 in PyEval_EvalFrameEx () from /usr/lib/libpython2.7.so.1.0
#53 0x00007fe516caf8ef in PyEval_EvalCodeEx () from /usr/lib/libpython2.7.so.1.0
#54 0x00007fe516c3c15c in function_call () from /usr/lib/libpython2.7.so.1.0
#55 0x00007fe516c17683 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#56 0x00007fe516c262bf in instancemethod_call () from /usr/lib/libpython2.7.so.1.0
#57 0x00007fe516c17683 in PyObject_Call () from /usr/lib/libpython2.7.so.1.0
#58 0x00007fe516ca8877 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.7.so.1.0
#59 0x00007fe513cc2cf0 in ?? () from /usr/lib/python2.7/site-packages/sip.so
#60 0x00007fe514077d46 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
#61 0x00007fe514078040 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
#62 0x00007fe514078122 in ?? () from /usr/lib/python2.7/site-packages/PyQt4/QtCore.so
#63 0x00007fe52d07d159 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#64 0x00007fe52e373812 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4
#65 0x00007fe52e0b2a9e in ?? () from /usr/lib/libQtGui.so.4
#66 0x00007fe52e0b3ddb in ?? () from /usr/lib/libQtGui.so.4
#67 0x00007fe52e0b404c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#68 0x00007fe5123c7f23 in sipKPushButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/python2.7/site-packages/PyKDE4/kdeui.so
#69 0x00007fe52dd38f64 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#70 0x00007fe5123d589b in sipKPushButton::event(QEvent*) () from /usr/lib/python2.7/site-packages/PyKDE4/kdeui.so
#71 0x00007fe52dce8854 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#72 0x00007fe52dcedfa3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#73 0x00007fe52ea35ef6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#74 0x00007fe52d0690ac in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#75 0x00007fe52dce9822 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#76 0x00007fe52dd65b85 in ?? () from /usr/lib/libQtGui.so.4
#77 0x00007fe52dd64a4a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#78 0x00007fe52dd8c292 in ?? () from /usr/lib/libQtGui.so.4
#79 0x00007fe529fac84d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#80 0x00007fe529fad048 in ?? () from /usr/lib/libglib-2.0.so.0
#81 0x00007fe529fad219 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#82 0x00007fe52d0980ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#83 0x00007fe52dd8bf1e in ?? () from /usr/lib/libQtGui.so.4
#84 0x00007fe52d067e92 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#85 0x00007fe52d0680e7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#86 0x00007fe52d06cc45 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#87 0x000000000040a9d5 in ?? ()
#88 0x00007fe52c88514d in __libc_start_main () from /lib/libc.so.6
#89 0x000000000040aa29 in _start ()
% kcmshell4 system-config-printer-kde
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setCompositionMode: Painter not active
QPainter::begin: Paint device returned engine == 0, type: 2
/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
Traceback (most recent call last):
File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 445, in on_tvMainList_cursor_changed
self.fillPrinterTab(name)
File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 1070, in fillPrinterTab
self.ppd = printer.getPPD()
File "/usr/lib/python2.7/site-packages/cupshelpers/cupshelpers.py", line 203, in getPPD
self._ppd = self.connection.getPPD(self.name)
File "/usr/share/apps/system-config-printer-kde/authconn.py", line 218, in <lambda>
return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds)
File "/usr/share/apps/system-config-printer-kde/authconn.py", line 256, in _authloop
self._ask_retry_server_error (m)
File "/usr/share/apps/system-config-printer-kde/authconn.py", line 293, in _ask_retry_server_error
msg)
TypeError: parent should be a GtkWindow or None
kcmshell(2751)/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 374, in makeui
self.populateList(start_printer, change_ppd)
File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 657, in populateList
self.on_tvMainList_cursor_changed()
File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 445, in on_tvMainList_cursor_changed
self.fillPrinterTab(name)
File "/usr/share/apps/system-config-printer-kde/system-config-printer-kde.py", line 1070, in fillPrinterTab
self.ppd = printer.getPPD()
File "/usr/lib/python2.7/site-packages/cupshelpers/cupshelpers.py", line 203, in getPPD
self._ppd = self.connection.getPPD(self.name)
File "/usr/share/apps/system-config-printer-kde/authconn.py", line 218, in <lambda>
return lambda *args, **kwds: self._authloop (fname, fn, *args, **kwds)
File "/usr/share/apps/system-config-printer-kde/authconn.py", line 256, in _authloop
self._ask_retry_server_error (m)
File "/usr/share/apps/system-config-printer-kde/authconn.py", line 293, in _ask_retry_server_error
msg)
TypeError: parent should be a GtkWindow or None
kcmshell(2751)/python (plugin): Failed to import module
kcmshell(2751)/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
I just solved my problem installing my printer driver (in my case hplip)
EDIT: I also added my printer through the cups webserver (localhost:631)