Comments (10)
Are you using an edited version of the file perhaps? That line (330) does not match with mine. Anyway the only think I can think of (looking at that "No such file or directory") is that it does not find viber on the predefined path ('/opt/viber/Viber'). Do you have viber installed? Is it installed in that path?
from viberwrapper-indicator.
I installed it from the ppa:nilarimogard/webupd8 ppa as is, so perhaps that is the issue. I have assumed it's the same version as the one provided here, but maybe I'm wrong and there are indeed some modifications. I will try compliing it this evening and check the Viber installation path. Thank you!
from viberwrapper-indicator.
Is it working? I'd really like some feedback about this so I can correct the code if there is a bug (and close the issue).
from viberwrapper-indicator.
Linux Mint 17 (Mate desktop)
Launched and exited after 5-10 seconds
$ viberwrapper-indicator
<class 'Xlib.protocol.request.QueryExtension'>
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/bin/viberwrapper-indicator", line 333, in run
gtk.main_quit()
RuntimeError: called outside of a mainloop
from viberwrapper-indicator.
Hi i-ekho, what I made is an indicator for Unity, it is not supposed to work with other desktop environments, I'm sorry. Moreover, since it's been more than a week that kpuljek didn't reply I have to suppose that it is working for him now and so I'm closing this issue.
from viberwrapper-indicator.
Ok, thx
from viberwrapper-indicator.
Hey,
sorry for responding so late, been really busy and totally forgot about this, and the notification email ended up in my spam folder.
It turns out that my viber path is /usr/share/viber/Viber
Upon changing the path in the py file, I get the same error as above (I AM running unity, however):
<class 'Xlib.protocol.request.QueryExtension'>
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "viberwrapper-indicator.py", line 448, in run
gtk.main_quit()
RuntimeError: called outside of a mainloop
It does run viber for a few seconds, and the icon appears in the usual top left, out of place, position.
from viberwrapper-indicator.
Did you get Viber right from viber's website? (The current url is the following: http://download.cdn.viber.com/cdn/desktop/Linux/viber.deb) Because the one from the website has as installation path the one in the script (you can confirm that by downloading the deb I linked here and extract it somewhere, the executable should be in opt/viber and not in usr/share/viber).
My Viber is at version 4.2.2.6, can you check that (my executable in /opt/viber/Viber has the following md5sum: 668252631ed50ca9b10e4156dd32a3fc)? My guess is that somehow your Viber is not the same one I am using and my scritpt (although it's able to launch it) cannot find the running instance so after 10 seconds it kills it.
from viberwrapper-indicator.
It was from the website indeed, but this is a bit newer version than I had and now it's installed in two places (?), however your indicator wrapper now runs this newer version and everything is okay. I have NO idea why it originally installed in the /usr/share, I install everything either through gdebi or the terminal with dpkg.
This can now be closed (it already is :) ), although I'm not sure I know exactly what happened. THANK YOU!
from viberwrapper-indicator.
Glad to hear that it's working now :). Maybe you installed Viber right before the new version was pushed up online on the website, but anyway it's not important atm since it's working now :). Don't know if you noticed but I updated the wrapper and thanks to this issue now you can launch Viber minimized (sort of, the chat windows auto-closes after appearing for an instant), just launch the wrapper with --close-chat if you like the new feature.
from viberwrapper-indicator.
Related Issues (19)
- Two indicator icons (Ubuntu 15.04) HOT 6
- Exception in thread Thread=2 on Ubuntu 14.04 HOT 31
- "--close-chat" option fails HOT 3
- Dont work HOT 2
- Lock to launcher HOT 1
- Viberwrapper indicator is not working HOT 7
- Memory leak on Ubuntu 15.04 HOT 5
- Update the script to python3 HOT 1
- Add "Start Minimized" feature? HOT 3
- Viber Wrapper doesn't let to copypaste and don't show new messages in icon
- Viberwrapper not work and crach viber app in KDE5 HOT 1
- Viber needs to be activated prior to running viberwrapper-indicator HOT 2
- Make the viber icon themable HOT 4
- Create package for it HOT 2
- Immediately exits Viber upon start on 15.04 HOT 20
- High quality AppIndicator icon HOT 22
- 22 May 2015 - Viber update ruined the indicator HOT 14
- Indicator doesn't work properly after update on Ubuntu 15.04 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from viberwrapper-indicator.