Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

piedit.glade not found #1

Open
Logain opened this issue Sep 19, 2010 · 1 comment
Open

piedit.glade not found #1

Logain opened this issue Sep 19, 2010 · 1 comment

Comments

@Logain
Copy link

Logain commented Sep 19, 2010

Note: this is the first time I use github, I hope this is the right place to put this comment.

When running piedit.py i got (on Ubuntu 10.04):

(piedit.py:3560): libglade-WARNING **: could not find glade file '/glade/piedit.glade'
Traceback (most recent call last):
File "piedit.py", line 46, in
program = Program()
File "piedit.py", line 33, in init
gladeui = gtk.glade.XML(os.path.dirname(sys.argv[0])+"/glade/piedit.glade")
RuntimeError: could not create GladeXML object

It seems piedit.glade couldn't been found.
I replaced that line with:

    gladeui = gtk.glade.XML(os.path.join('glade', 'piedit.glade'))

And it worked fine.

@whilefalse
Copy link
Owner

Ah, thanks for letting me know!

I'll change that, or if you have a fork then send me a pull request and I'll merge it in.

Thanks again,
Steve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants