viberwrapper-indicator icon indicating copy to clipboard operation
viberwrapper-indicator copied to clipboard

Viberwrapper indicator is not working

Open bilelmoussaoui opened this issue 9 years ago • 7 comments

i'm having this issue runing viberwrapper-indicator using elementary OS Freya 0.3 Stable version with the latest version of viberwrapper-indicator and Viber for Linux

Using SYSTEM icons
Using OLD detection method (INTERNAL)
Launching Viber (/opt/viber/Viber) ... OK
Exiting because of exception 'WindowIsNone: Window is None'

bilelmoussaoui avatar Jul 19 '15 00:07 bilelmoussaoui

Same result on Ubuntu 14.04/Gnome flashback(metacity)

lizard2010 avatar Jul 28 '15 19:07 lizard2010

Something like this on Ubuntu 15.04

~$ viberwrapper-indicator Using SYSTEM icons Exiting because of exception 'UnicodeDecodeError: utf8'

faceontable avatar Aug 16 '15 12:08 faceontable

@bil-elmoussaoui What window manager/compositor does Freya use? I made this with unity/compiz in mind and if it's not something simple I'm not very confident that I'll have the time to make it work. @faceontable That could be caused by ubuntu using python 3 instead of python 2 as default. For the time being can you launch the script with python2 /path/to/viberwrapper-indicator.py and let me know?

karas84 avatar Aug 20 '15 20:08 karas84

@karas84 Freya uses Pantheon desktop manager with Gala instead of Compiz. But it's uses libappindicator too. I think you should switch to python-libappindicator ; that will help you a lot (if you aren't already using it)

bilelmoussaoui avatar Aug 20 '15 20:08 bilelmoussaoui

@bil-elmoussaoui I'm already using the appindicator library (python-appindicator), maybe it just needs some debugging. I'll add some debug code, in the meantime can you try launching the script with both --use-old-detection-method --use-external-detector options (it should say Using OLD detection method (EXTERNAL)?

karas84 avatar Aug 20 '15 20:08 karas84

That's why i got

python2 viberwrapper-indicator.py --use-old-detection-method --use-external-detector
Gtk-Message: Failed to load module "pantheon-filechooser-module"
Using SYSTEM icons
Using OLD detection method (EXTERNAL)
Launching Viber (/opt/viber/Viber) ... OK
Exiting because of exception 'WindowIsNone: Window is None'

bilelmoussaoui avatar Aug 20 '15 21:08 bilelmoussaoui

@karas84

python2 /usr/bin/viberwrapper-indicator Using SYSTEM icons Exiting because of exception 'UnicodeDecodeError: utf8'

faceontable avatar Oct 20 '15 08:10 faceontable