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
On Mon, 2010-10-25 at 13:49 -0500, Kevin Martin wrote:
F13, x86_64, recently updated, trying to setup a printer with system-config-printer v1.2.5:
[...]
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'
That problem (in the updates-testing package) has already been spotted and filed in Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=646002
This is fixed in an update heading towards updates-testing...
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-5.fc13
Tim. */
On 10/26/2010 03:31 AM, Tim Waugh wrote:
On Mon, 2010-10-25 at 13:49 -0500, Kevin Martin wrote:
F13, x86_64, recently updated, trying to setup a printer with system-config-printer v1.2.5:
[...]
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'
That problem (in the updates-testing package) has already been spotted and filed in Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=646002
This is fixed in an update heading towards updates-testing...
https://admin.fedoraproject.org/updates/system-config-printer-1.2.5-5.fc13
Tim. */
Thanks for the tip. Was thinking it had been spotted outside of Fedora but didn't know if it was being worked on here. I downgraded to get around it for now.
Kevin