MaxTyutyunnikov / gphotoframe

Automatically exported from code.google.com/p/gphotoframe
Other
0 stars 0 forks source link

Failed to load "gphotoframe.glade": Permission denied (gphotoframe fails to start after installation) #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download and unpack the gphotoframe source tarball
2. install gphotoframe with ./setup.py build and sudo ./setup.py install. 
3. start gphotoframe clicking on it's icon or start it by typing
'gphotoframe' in a terminal.

What is the expected output? What do you see instead?
gphotoframe doesn't start, there is a runtime error

What version of the product are you using? On what operating system?
ubuntu 8.04, gphotoframe 0.2

Please provide any additional information below.
attached is the terminal output

Original issue reported on code.google.com by K.J.Nies...@gmail.com on 17 May 2009 at 11:53

Attachments:

GoogleCodeExporter commented 9 years ago
> I/O error : Permission denied
> I/O error : Permission denied
> I/O warning : failed to load external entity 
"/usr/share/gphotoframe/gphotoframe.glade"

> 2. install gphotoframe with ./setup.py build and sudo ./setup.py install. 

1. download and unpack the gphotoframe source tarball
2. install gphotoframe with "sudo ./setup.py install"

Do not build it with "./setup.py build" by normal user. 

Original comment by yendo0206 on 18 May 2009 at 5:49

GoogleCodeExporter commented 9 years ago
The same error still occurs, after I took the steps you proposed.
Here is some more information that might be useful. The installed version of
python-distutils-extra is 1.91.2.
And the output of the following command;
$ls -l /usr/share/gphotoframe/
totaal 36
-rw------- 1 root root 35380 2009-05-16 15:58 gphotoframe.glade

Original comment by K.J.Nies...@gmail.com on 18 May 2009 at 8:31

GoogleCodeExporter commented 9 years ago
Thank you for testing.

Attached new setup.py. Can you try it?

1. sudo rm /usr/share/gphotoframe/gphotoframe.glad
2. substitute new setup.py for old setup.py
3. sudo ./setup.py install

Original comment by yendo0206 on 18 May 2009 at 1:29

Attachments:

GoogleCodeExporter commented 9 years ago
It works now!!
great program by the way

Original comment by K.J.Nies...@gmail.com on 18 May 2009 at 6:49

GoogleCodeExporter commented 9 years ago
Thanks!

Fixed in r93.

Original comment by yendo0206 on 19 May 2009 at 4:31