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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux