google-code-export / labyrinth

Automatically exported from code.google.com/p/labyrinth
GNU General Public License v2.0
2 stars 0 forks source link

export dialog does not work if labyrinth is not run from the root svn trunk #31

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
jeff@kaname:~$ python trunks/labyrinth/src/labyrinth.py 
GTK Accessibility Module initialized

(labyrinth.py:16868): libglade-WARNING **: could not find glade file
'data/labyrinth.glade'
Traceback (most recent call last):
  File "/home/jeff/trunks/labyrinth/src/MainWindow.py", line 420, in export_cb
    glade = gtk.glade.XML ('data/labyrinth.glade')
RuntimeError: could not create GladeXML object

The problem is that labyrinth looks for the glade file in data/, but we are
already running in src/, so it looks for src/data.

If I run it like this: python src/labyrinth.py it will work. If I run it
like this: python labyrinth.py it will cause the problem.

Original issue reported on code.google.com by nekoh...@gmail.com on 9 Nov 2006 at 4:58

GoogleCodeExporter commented 9 years ago
Thanks for the bug report.  Just before releasing 0.3, the export dialog stuff 
was
moved to use the standard load data file stuff.  Using that, the export dialog 
works
as expected when run within the src directory.

Marking as Fixed.

Original comment by DonScor...@gmail.com on 18 Nov 2006 at 2:13