Giter Club home page Giter Club logo

python-eduvpn-client's People

Contributors

14mrh4x0r avatar alvra avatar amarsman avatar beckerr-rzht avatar brammeleman avatar efef avatar fwdekker avatar gijzelaerr avatar hamarituc avatar jesse-bakker avatar jornane avatar jwijenbergh avatar kakopedreros avatar katsel avatar mic92 avatar mr-c avatar phavekes avatar thomwiggers avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

python-eduvpn-client's Issues

francois reported problem with deleting configuration

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

missing README.md?

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

probably bug in networkmanager or dbus package for fedora 26

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

crash

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?

no notification

in console I see:

INFO:eduvpn.ui:a configuration was selected
TypeError: select_config() takes exactly 2 arguments (4 given)

improve test suite

test suite is a bit flaky now, so we need to disable the tests during package building for now.

both for RPM and debian.

some changes in use of text

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".

make connections unique

Now all actions are done based on connection name, which is not unique and may results in for example deleting double profiles.

Stretch 9.1 amd64 GTK-warning GUI images not loading

When running eduvpn the images in the GUI won't load.followed by the following warning:Gtk-WARNING **: Could not load image '../icons/hicolor/256x256/apps/eduvpn-client.png': Failed to open file '/usr/bin/../share/eduvpn/../icons/hicolor/256x256/apps/eduvpn-client.png': No such file or directory

originally reported here: eduvpn-debian/packaging#17

do not show terminal

app shows terminal always, is great for debugging and copy/pasting backtraces, but distracting.

use gconf as backend

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.

  • Binary format, harder to debug
  • Need to register a schema for the configuration, which doesn't have a Python API.

So the client just works, it is just not 100% gnomish. I just leave this here for now with low priority.

revoked token gives error

If I revoke access to the application, the app gives an error. It should re-request authorization (using the browser).

screenshot from 2017-09-15 13-43-37

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.