iblislin / gphotoframe

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

glib.GError: Opening of file «/usr/share/gphotoframe/rss-16.png» : Permission denied #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try open preferences dialog

What is the expected output? What do you see instead?

$ gphotoframe 
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/gphotoframe/preferences.py", line
42, in start
    gui, "treeview2", plugins.PluginListStore(), self.prefs)
  File "/usr/lib/python2.6/site-packages/gphotoframe/plugins/__init__.py",
line 47, in __init__
    list = [ obj.is_available(), obj.get_icon_pixbuf(), name ]
  File "/usr/lib/python2.6/site-packages/gphotoframe/plugins/base.py", line
24, in get_icon_pixbuf
    pixbuf = self.icon().get_pixbuf()
  File "/usr/lib/python2.6/site-packages/gphotoframe/utils/iconimage.py",
line 27, in get_pixbuf
    pixbuf = gtk.gdk.pixbuf_new_from_file(file)
glib.GError: Apertura del file «/usr/share/gphotoframe/rss-16.png» non
riuscita: Permission denied

What version of the product are you using? On what operating system?
gphotoframe 0.7.1

Please provide any additional information below.

It's again me...
The files (included the .png mentioned one) installed into /usr are all
owned by root:root (in Arch Linux at least, as it should be; it is the same
for every other software: i don't know if other distributions behave
different). The permission denied message is issued for that reason I
suppose. Anyway, starting the software manually from /home after
downloading the tar.gz and decompressing it into a folder works.

Maybe it is a wrong option that i call for setup.py?

Original issue reported on code.google.com by berseke...@gmail.com on 8 May 2010 at 7:08

GoogleCodeExporter commented 8 years ago
/usr/share/gphotoframe $ ls -la
totale 88
drwxr-xr-x   2 root root  4096  8 mag 09.01 .
drwxr-xr-x 351 root root 12288  8 mag 09.01 ..
-rw-r--r--   1 root root 67501  8 mag 06.56 gphotoframe.glade
-rw-------   1 root root   752  8 mag 06.55 rss-16.png

I forgot to post this

Original comment by berseke...@gmail.com on 8 May 2010 at 7:10

GoogleCodeExporter commented 8 years ago
Thanks!

It seems to be the problem similar to issue #8.
I attach new version. 
Can you try it?

Original comment by yendo0206 on 8 May 2010 at 7:27

Attachments:

GoogleCodeExporter commented 8 years ago
now works! I suppose you will put the tar.gz as 0.7.2, i will prepare the 
PKGBUILD
for all the others Arch Users. Thank you

Original comment by berseke...@gmail.com on 8 May 2010 at 7:36

GoogleCodeExporter commented 8 years ago
Fixed in revision 44801a68fd.

> i will prepare the PKGBUILD for all the others Arch Users.

Many thanks!

Original comment by yendo0206 on 8 May 2010 at 7:56