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#14454 - system-config-printer does not run
Attached to Project:
Community Packages
Opened by Ondřej Konečný (andrew9888) - Saturday, 25 April 2009, 09:59 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 10 September 2009, 10:21 GMT
Opened by Ondřej Konečný (andrew9888) - Saturday, 25 April 2009, 09:59 GMT
Last edited by Andrea Scarpino (BaSh) - Thursday, 10 September 2009, 10:21 GMT
|
DetailsDescription:
System-config-printer fails to launch with following error. $ system-config-printer Traceback (most recent call last): File "/usr/share/system-config-printer/system-config-printer.py", line 81, in <module> import cupshelpers, options File "/usr/share/system-config-printer/cupshelpers.py", line 23, in <module> from . import _debugprint ValueError: Attempted relative import in non-package Additional info: * package version(s) system-config-printer 1.1.7-1 python 2.6.1-1 pycups 1.9.45-1 pyxml 0.8.4-5 dbus-python 0.83.0-2 Steps to reproduce: Try to launch the application. |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Thursday, 10 September 2009, 10:21 GMT
Reason for closing: Fixed
Additional comments about closing: system-config-printer-gnome 1.1.12-5
Thursday, 10 September 2009, 10:21 GMT
Reason for closing: Fixed
Additional comments about closing: system-config-printer-gnome 1.1.12-5
temporally to fix this you can do:
# rm /usr/share/system-config-printer/{cupshelpers,ppds}.pyc
# rm /usr/lib/python2.6/site-packages/cupshelpers/{cupshelpers,ppds}.pyc
# mv /usr/share/system-config-printer/{cupshelpers,ppds}.py /usr/lib/python2.6/site-packages/cupshelpers/
(none problem if some of this commands return "no such file or directory")
I need cupshelpers and ppds in /usr/share/system-config-printer for kdeadmin. I'll find a solution for this.
remove all system-config packages and those files, then reinstall system-config-printer-gnome.
I'm afraid I can't check if the fixes help right away since I'm not at the affected PC but I will check when I get to it. Thanks!
surely on Gnome because others people said that works on KDE
* removed system-config-printer* packages
* deleted /usr/share/system-config-printer/cupshelpers.pyc (the other files didn't exist)
* reinstalled system-config-printer* packages
Was this file left over from some old package?
closing.