Notify version check issue
beng7 opened this issue · 4 comments
Hi Dragon2fly,
First let me tell you I love this handy tool!
Also really waiting for the implementation of softether for it!
Anyway at the moment I am running into a little issue:
user@acer:~/vpngate-with-proxy$ `./run tui`
Traceback (most recent call last):
File "vpnproxy_tui.py", line 21, in <module>
from vpn_indicator import InfoClient
File "/home/user/vpngate-with-proxy/vpn_indicator.py", line 22, in <module>
gi.require_version('Notify', '0.7')
File "/usr/lib/python2.7/dist-packages/gi/__init__.py", line 100, in require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Notify not available
user@acer:~/vpngate-with-proxy$
and here is the line in question; I commented it as a quick workaround but can you suggest anything better?
#gi.require_version('Notify', '0.7')
then I can ./run tui
, but after the initial configuration I click Enter, an rerun it, I get
`Lack of Gtk related modules! VPN indicator will not run!
You should try "sudo apt-get install gir1.2-appindicator3-0.1 python-gobject`
althought these dependencies are met!
(my distro = BunsenLab, latest version, always kept up to date; it is based on Debian Jessie
Thanks a lot
Thanks for using my program.
This is a bug since lacking dependencies for the Indicator should not block the main program from running.
To solve the problem, you need to install gir1.2-notify-0.7
, too. This makes the main program run but not the indicator. For the indicator, you need to modify the run
file. On line 20, change target='buntu'
to target='debian'
.
Thanks for this issue, I did a little test on Bunsen and discovered another bug of detecting package manager. Now it is fixed too. :)
Hi again
did modifications as instructed, better already - I have the notifier
yet
user@acer:~$ cd vpngate-with-proxy
user@acer:~/vpngate-with-proxy$ ./run tui
**Lack of dependencies**
Have you 'sudo apt-get update' recently?([yes] | no): yes
___Now installing python-pip
Traceback (most recent call last):
File "vpnproxy_tui.py", line 1035, in <module>
call([pkg_mgr, '-y', 'install', package], env=env)
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
installed python-pip properly and it looks like I'm finally running
Thank YOU!
looking forward to softether implementation ;)
No objections to editing the list of dns servers in the config.ini/F3
?
(i normally use unbound)
cheers
OSError: [Errno 2] No such file or directory
As said above, this problem due to the mis-detection of package manager on Bunsen. The program thought Busen is Redhat based os, so it tried to use yum/dnf
instead of apt-get
. Of course their is no yum
on the system as the error said.
I've already pushed the fix for this. If you clone again, you won't see this problem.
No objections to editing the list of dns servers in the config.ini/F3?
Not, at all. If you edit the file, just make sure the program is not running.