eduvpn / python-eduvpn-client Goto Github PK
View Code? Open in Web Editor NEWLinux client for eduVPN
Home Page: https://eduvpn.org/
License: GNU General Public License v3.0
Linux client for eduVPN
Home Page: https://eduvpn.org/
License: GNU General Public License v3.0
INFO:main:deleting provider config
INFO:eduvpn.providers.nm:deleting profile with name demo.eduvpn.nl using NetworkManager
INFO:main:a configuration was selected
Traceback (most recent call last):
File "/usr/bin/eduvpn-client", line 176, in delete
self.update_providers()
File "/usr/bin/eduvpn-client", line 70, in update_providers
for provider in list_providers():
File "/usr/lib/python2.7/dist-packages/eduvpn/providers/nm.py", line 55, in list_providers
vpn_connections = [c.GetSettings()['connection']['id'] for c in all_connections if c.GetSettings()['connection']['type'] == 'vpn']
File "/usr/lib/python2.7/dist-packages/NetworkManager.py", line 115, in proxy_call
ret = func(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in call
**keywords)
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.UnknownMethod: No such interface 'org.freedesktop.NetworkManager.Settings.Connection' on object at path /org/freedesktop/NetworkManager/Settings/3
As the description of the application already has it :-)
https://github.com/eduvpn/artwork/blob/master/logo%20visual.png
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.RpiJB0 (%doc)
File not found: /home/fkooman/rpmbuild/BUILDROOT/eduvpn_client-0.8-1.fc26.x86_64/usr/share/doc/python2-eduvpn-client/README.md
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/dbus/connection.py", line 230, in maybe_handle_message
self._handler(*args, **kwargs)
File "/usr/lib/python3.6/site-packages/NetworkManager.py", line 77, in handle_signal
receiver(sender, *(sargs + rargs), **rkwargs)
TypeError: can only concatenate list (not "tuple") to list
INFO:__main__:calling callback
INFO:eduvpn.remote:Retrieving profile list from https://demo.eduvpn.nl/portal/api.php
INFO:__main__:thread running in background
INFO:eduvpn.remote:Creating and retrieving key pair from https://demo.eduvpn.nl/portal/api.php
INFO:eduvpn.remote:Retrieving profile config from https://demo.eduvpn.nl/portal/api.php
Traceback (most recent call last):
File "/home/fkooman/Projects/eduvpn-linux-client/scripts/eduvpn-client", line 103, in profile_selected
makedirs(path.dirname(parent))
File "/home/fkooman/Projects/eduvpn-linux-client/.v/lib64/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/home/fkooman/.config'
This last line is also quite disturbing?
in console I see:
INFO:eduvpn.ui:a configuration was selected
TypeError: select_config() takes exactly 2 arguments (4 given)
at least on network-manager-openvpn-gnome
this is a bit messy due to all the signals going around.
echo "deb https://repo.eduvpn.org/debian/ stretch main" sudo tee /etc/apt/sources.list.d/eduvpn.list
The |
is missing before sudo
.
https://python-eduvpn-client.readthedocs.io/en/latest/introduction.html#installation
write EduVPN as eduVPN :-)
currently this is notebook
, not really descriptive. Better make this eduVPN for Linux
. Don't forget HTTP POST encoding if needed.
test suite is a bit flaky now, so we need to disable the tests during package building for now.
both for RPM and debian.
cancel -> Cancel
ok -> OK
show URL -> Show URL
connection -> Connection
messages -> Messages
eduVPN configuration manager -> eduVPN Configuration Manager
choose your profile -> Choose your profile
internet -> Internet
connected -> Connected
name -> Name
profile -> Profile
ipv4 -> IPv4
ipv6 -> IPv6
custom instance -> Custom Provider
Titel of small popup just before opening the browser still says "eduvpn-client".
Inconsistency between "Instance" and "Provider". For end users it should always be "provider".
69e0e24 will enalbe a password prompt upon connect when a auth-user-pass field is in the openvpn config file.
Now all actions are done based on connection name, which is not unique and may results in for example deleting double profiles.
originally reported here: eduvpn-debian/packaging#17
app shows terminal always, is great for debugging and copy/pasting backtraces, but distracting.
which is not really possibel now, since there is no networkmanager python3 package.
check spacings and make it look pretty
now only the VPN configuration is stored.
not checking yet on HTTP errors or permissions errors
until now we only have English
currently we store metadata in a json file in ~/.config/eduvpn
. Not really the gnome way to do things, but I find gconf a bit clumsy as a developer.
So the client just works, it is just not 100% gnomish. I just leave this here for now with low priority.
logo has white background now. See artwork repository, e.g. https://github.com/eduvpn/artwork/blob/master/logo/logo_eduvpn.png
in my case it would be nice to show "vpn.tuxed.net" instead of "custom instance".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.