« Return to Thread: [Cooker] New printing system

Re: [Cooker] New printing system

by Frederik Himpe :: Rate this Message:

Reply to Author | View in Thread

On Fri, 2008-08-08 at 11:42 +0300, Major Paine wrote:

>
> [root@kaaber anz]# system-config-printer                  
>
> (system-config-printer.py:8438): GVFS-RemoteVolumeMonitor-WARNING **:
> cannotconnect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not
> receive a reply. Possible causes include: the remote application did not send
> a reply, the message bus security policy blocked the reply, the reply timeout
> expired, or the network connection was broken.
> Traceback (most recent call last):
>   File "/usr/share/system-config-printer/system-config-printer.py", line 5090,
> in <module>
>     main(configure_printer, change_ppd)
>   File "/usr/share/system-config-printer/system-config-printer.py", line 5060,
> in main
>     mainwindow = GUI(configure_printer, change_ppd)
>   File "/usr/share/system-config-printer/system-config-printer.py", line 313,
> in __init__
>     self.newPrinterGUI = np = NewPrinterGUI(self)
>   File "/usr/share/system-config-printer/system-config-printer.py", line 2573,
> in __init__
>     self.openprinting = cupshelpers.openprinting.OpenPrinting ()
> AttributeError: 'module' object has no attribute 'openprinting'
> [root@kaaber anz]# rpm -qa system-config-printer
> system-config-printer-1.0.4-3mdv2009.0

You're having exactly the same problem as I was experiencing yesterday.
For some upgraders it will still be broken, I'm not sure if we should
add a postinst script fixing this as it's a temporary cooker problem. In
the future this won' thappen again anymore. You need to remove the
cupshelpers.pyc file in /usr/share/system-config-printer. That file was
generated automatically the first time you ever used
system-config-printer, but the corresponding py file has now been moved
to /usr/lib. As the package of course did not own this pyc file, it was
not removed at upgrade. Now we generated the pyc files at build time, so
this should not happen anymore.


--
Frederik Himpe <fhimpe@...>

 « Return to Thread: [Cooker] New printing system