After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 685454 - postr-0.13 crashes because it expects postr.glade to be in python sitedir
postr-0.13 crashes because it expects postr.glade to be in python sitedir
Status: RESOLVED FIXED
Product: postr
Classification: Other
Component: General
0.13
Other Linux
: Normal critical
: ---
Assigned To: Postr Maintainers
Postr Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-10-04 01:19 UTC by Alexandre Rostovtsev
Modified: 2012-10-04 11:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Alexandre Rostovtsev 2012-10-04 01:19:00 UTC
postr-0.13 installs postr.glade in $datadir/postr, but postr.py tries to load it from $pythondir/postr. This makes it impossible to run postr; attempting to launch the program leads to an immediate crash:

(postr:7562): libglade-WARNING **: could not find glade file '/usr/lib64/python2.7/site-packages/postr/postr.glade'
Traceback (most recent call last):
  • File "/usr/bin/postr", line 34 in <module>
    p = postr.Postr()
  • File "/usr/lib64/python2.7/site-packages/postr/postr.py", line 85 in __init__
    glade = gtk.glade.XML(os.path.join(os.path.dirname(__file__), "postr.glade"))
RuntimeError: could not create GladeXML object

Comment 1 Germán Poo-Caamaño 2012-10-04 11:10:06 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.