[KDE] Interface de configuration des imprimantes
Publié : lun. 19 déc. 2011, 10:01
Suite à quelques déboires de configuration pour imprimer je crois que j'ai un peu cassé un bout de mon système. Sinon je suis preneur d'une ligne de commande qui me permette d'imprimer sur un serveur samba avec une authentification 
du genre

du genre
Code : Tout sélectionner
lp -d imprimante -U user:pass document
Code : Tout sélectionner
pacman -Q cups cups-pk-helper kdeadmin-system-config-printer-kde system-config-printer-common python2-pyqt kdebindings-python
kdebindings-python 4.7.4-1
cups 1.5.0-1
cups-pk-helper 0.1.2-1
kdeadmin-system-config-printer-kde 4.7.4-1
system-config-printer-common 1.3.7-1
python2-pyqt 4.8.6-1
Code : Tout sélectionner
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(1689)/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(1689)/python (plugin): Failed to import module
kcmshell(1689)/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