Slideshow applet doesn't launch anymore

Bug #1156273 reported by PAYET
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Screenlets
New
Undecided
Unassigned

Bug Description

I'm running with the 0.1.6 version and when i want to Launch/Start "Slideshow" applet ( or any other applets in fact ), i've got the follwing issue message :
"~/.config/screenlets/SlideshowScreenlet.log
REGISTER screenlet: SlideshowScreenlet
False
Traceback (most recent call last):
  File "/usr/share/screenlets/screenlets-pack-basic/Slideshow/SlideshowScreenlet.py", line 964, in <module>
    screenlets.session.create_session(SlideshowScreenlet, threading=True)
  File "/usr/lib/pymodules/python2.7/screenlets/session.py", line 480, in create_session
    session.start()
  File "/usr/lib/pymodules/python2.7/screenlets/session.py", line 254, in start
    sl = self.screenlet(session=self, id=self.__get_next_id())
  File "/usr/share/screenlets/screenlets-pack-basic/Slideshow/SlideshowScreenlet.py", line 480, in __init__
    uses_theme=True, drag_drop=True, **keyword_args)
  File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line 837, in __init__
    self.load_buttons(None)
  File "/usr/lib/pymodules/python2.7/screenlets/__init__.py", line 1303, in load_buttons
    self.prop = self.gtk_icon_theme.load_icon ("gtk-properties", 16, 0)
gio.Error: Erreur à l'ouverture du fichier : Permission non accordée " ( which means - Error at opening file : permission denied- )

Could you tell how can i solve this issue?

Revision history for this message
Rastko Karadzic (rastkokaradzic) wrote :

Hi,
which distro are you running?
Also, can you please try to run it with root permissions and see if that changes anything?

Regards,
Rastko Karadzic

Revision history for this message
PAYET (patrick-payet65) wrote :

Hi and thks for your reply!
I'm running under ubuntu 12.10
At the beginning, everything was ok but since 3/4 weeks, i can't launch none of the applets. ( i guess after an update but i don't know what!)
And if i start "Screenlet" in root, all applets are deactivated.

Revision history for this message
Rastko Karadzic (rastkokaradzic) wrote :

I've upgraded now Ubuntu 12.10 in VM and there is no problems at all.

When I said try to run it with root permissions, I thought to try to run in from terminal with command:
sudo python /usr/share/screenlets/screenlets-pack-basic/Slideshow/SlideshowScreenlet.py
Please try command above and report here if that works.

If it doesn't, can you please see in folder /usr/share/icons/Humanity/actions/16/ are there files "gtk-properties.svg" and "gtk-close.svg"

Thanks,
Rastko Karadzic

Revision history for this message
PAYET (patrick-payet65) wrote :

It works fine . But, have i to always run it in root! There's not a security problem, time passing bye?
And how will i put it at start-up with the command begining by "sudo" .. it'll always ask me my root password?
Actually, my command in start-up program is = "python -u /usr/share/screenlets/screenlets-pack-basic/Slideshow/SlideshowScreenlet.py" .. what's the -u stands for?
Many thanks for yr help!
Sorry for my english ... i'm french!

Revision history for this message
Rastko Karadzic (rastkokaradzic) wrote :

Ok,
it looks like you have some permission issues with /usr/share/icons folder.
You should not run screenlets with sudo permissions, that was only to see if there is permission problem.
Execute "sudo chmod 755 -R /usr/share/icons" in terminal, and then you should be able to run screenlets like before.

About "python -u", execute in terminal "python -h" and there you can read about -u parameter.

Regards,
Rastko Karadzic

Revision history for this message
PAYET (patrick-payet65) wrote :

Hi!
It's ok now.Indeed, i've got an issue with my favorite icon theme. I uninstall/re-install it and everything is ok now!
Many thks for yr help! Have

Revision history for this message
PAYET (patrick-payet65) wrote :

I said .... Many thks fr yr help and have a nice day!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.