system-config-printer problem on F13 x86_64....

Kevin Martin kevintm at ameritech.net
Mon Oct 25 18:49:45 UTC 2010


 F13, x86_64, recently updated, trying to setup a printer with system-config-printer v1.2.5:

 $ /usr/bin/system-config-printer

Traceback (most recent call last):
  File "/usr/share/system-config-printer/system-config-printer.py", line 7212, in <module>
    focus_on_map)
  File "/usr/share/system-config-printer/system-config-printer.py", line 7160, in main
    print_test_page, focus_on_map)
  File "/usr/share/system-config-printer/system-config-printer.py", line 580, in __init__
    self.newPrinterGUI = np = NewPrinterGUI(self)
  File "/usr/share/system-config-printer/system-config-printer.py", line 3911, in __init__
    domain=domain)
  File "/usr/share/system-config-printer/gui.py", line 39, in getWidgets
    bld.add_from_file (os.path.join (ui_dir, xmlfile + ".glade"))
glib.GError: Error on line 755 char 77: Odd character 'o', expected an open quote mark after the equals sign when giving value for
attribute 'handler' of element 'signal'


Now, in doing a little research, I come up with these comments:

 Comment by Andrea Scarpino (BaSh) - Tuesday, 19 October 2010, 10:45 GMT-4
this is because into the 1.2.5 package, /usr/share/system-config-printer/config.py looks in this way:
prefix="/usr/local"
datadir="/usr/local/share"
localedir="/usr/local/share/locale"
pkgdatadir="/usr/local/share/system-config-printer"

...and I don't know why


  Comment by Rémy Oudompheng (remyoudompheng) - Tuesday, 19 October 2010, 12:05 GMT-4
You get the correct file if you replace "python2 setup.py build" in build() by just "make".


  Comment by Daniel Felipe Reis Apolinario (dapolinario) - Tuesday, 19 October 2010, 12:15 GMT-4
Apparently "python2 setup.py build" and "python2 setup.py install - root =" $ {PKGDIR} "" is not doing the job correctly, but the
"make DESTDIR =" $ {PKGDIR} "install" yes. Try to keep the config.py file in the package "system-config-printer-gnome", it is
created correctly.

Is there a workaround?

Thanks.

Kevin


More information about the users mailing list