protonvpn / python-proton-core Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
when launching proton GUI app it generate following logs
2023-10-18T21:15:05.911395 | proton.vpn.app.gtk.app:58 | INFO | APP:PROCESS_START | self=<app.App object at 0x7fbaa11ad640 (proton+vpn+app+gtk+app+App at 0x55ba9a9f2790)>
Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/app.py", line 97, in do_activate
self.tray_indicator = self._build_tray_indicator_if_possible(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/app.py", line 198, in _build_tray_indicator_if_possible
return TrayIndicator(controller, main_window)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/widgets/main/tray_indicator.py", line 118, in __init__
self._menu = self._build_menu()
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/widgets/main/tray_indicator.py", line 221, in _build_menu
if self._controller.user_logged_in:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/vpn/app/gtk/controller.py", line 119, in user_logged_in
return self._api.is_user_logged_in()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/vpn/core/api.py", line 73, in is_user_logged_in
return self._session_holder.session.logged_in
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/vpn/core/session.py", line 76, in session
self._session = self._proton_sso.get_default_session(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/sso/sso.py", line 192, in get_default_session
sessions = self.sessions
^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/sso/sso.py", line 130, in sessions
keyring = self._keyring
^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/sso/sso.py", line 111, in _keyring
self.__keyring_backend = Keyring.get_from_factory()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/keyring/_base.py", line 49, in get_from_factory
keyring_backend = Loader.get("keyring", class_name=backend)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/loader/loader.py", line 96, in get
acceptable_classes = self.get_all(type_name)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/proton/loader/loader.py", line 143, in get_all
entry_points = self.__metadata.entry_points().get(self._get_metadata_group_for_typename(type_name), ())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'EntryPoints' object has no attribute 'get'
We are happy to answer your questions about the code or discuss technical ideas.
Please complete the following checklist (by adding [x]):
I have scripts that used on the now-obsolete protonvpn-cli. Is there something to replace it, or do I need to cobble something together out of this new flock of Python APIs?
I found these repositories does not have tags, Kindly add tags :)
https://github.com/ProtonVPN/python-proton-core
https://github.com/ProtonVPN/python-proton-vpn-logger
https://github.com/ProtonVPN/python-proton-vpn-killswitch
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.