ProtonVPN / proton-vpn-gtk-app

Official ProtonVPN Linux app
https://protonvpn.com/download-linux
GNU General Public License v3.0
152 stars 20 forks source link

Nothing happens #56

Open tired-creating-those-usernames opened 2 weeks ago

tired-creating-those-usernames commented 2 weeks ago

Hi, clicking the GUI app loads few seconds ant nothing happens. CLI: ─>‎ protonvpn-app Traceback (most recent call last): File "/usr/bin/protonvpn-app", line 33, in sys.exit(load_entry_point('proton-vpn-gtk-app==4.3.2', 'console_scripts', 'protonvpn-app')()) File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/main.py", line 34, in main controller = Controller.get(executor) File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/controller.py", line 59, in get executor.submit(controller.initialize_vpn_connector).result() File "/usr/lib/python3.10/concurrent/futures/_base.py", line 458, in result return self.get_result() File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in get_result raise self._exception File "/usr/lib/python3/dist-packages/proton/vpn/app/gtk/controller.py", line 94, in initialize_vpn_connector self._connector = await self._api.get_vpn_connector() File "/usr/lib/python3/dist-packages/proton/vpn/core/api.py", line 57, in get_vpn_connector settings = await self.load_settings() File "/usr/lib/python3/dist-packages/proton/vpn/core/api.py", line 68, in load_settings user_tier = self._session_holder.session.vpn_account.max_tier AttributeError: 'NoneType' object has no attribute 'max_tier'

I'm not a programmer, what is going on here? Ubuntu with plasma

Anonymous941 commented 2 weeks ago

I had a similar issue, it was because the settings were corrupted, so I removed them:

rm -rf ~/.config/Proton
rm -rf ~/.cache/Proton

Make sure to close the app before running these, afterwards open it and sign in again

Hope this helps!

tired-creating-those-usernames commented 2 weeks ago

I had a similar issue, it was because the settings were corrupted, so I removed them:

rm -rf ~/.config/Proton
rm -rf ~/.cache/Proton

Make sure to close the app before running these, afterwards open it and sign in again

Hope this helps!

unfortunately does not help...

Anonymous941 commented 1 week ago

It seems that somehow it's not resetting. Try closing the app, then running:

rm -rf ~/.config/Proton
rm -rf ~/.cache/Proton
rm -rf ~/.config/protonvpn
rm -rf ~/.cache/protonvpn
sudo apt purge --autoremove protonvpn # don't worry if this fails
sudo apt purge --autoremove proton-vpn-gnome-desktop

Then reboot. After rebooting, reinstall the app:

wget https://repo.protonvpn.com/debian/dists/unstable/main/binary-all/protonvpn-beta-release_1.0.3-3_all.deb
sudo dpkg -i ./protonvpn-beta-release_1.0.3-3_all.deb
sudo apt update
sudo apt upgrade
sudo apt install proton-vpn-gnome-desktop

Hopefully it will work after that

RagglenLove commented 1 week ago

I'm experiencing the same thing. I'm running the flatpak version.

flatpak run com.protonvpn.www
Traceback (most recent call last):
  File "/app/bin/protonvpn-app", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/app/lib/python3.11/site-packages/proton/vpn/app/gtk/__main__.py", line 34, in main
    controller = Controller.get(executor)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/proton/vpn/app/gtk/controller.py", line 59, in get
    executor.submit(controller.initialize_vpn_connector).result()
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/app/lib/python3.11/site-packages/proton/vpn/app/gtk/controller.py", line 94, in initialize_vpn_connector
    self._connector = await self._api.get_vpn_connector()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/proton/vpn/core/api.py", line 57, in get_vpn_connector
    settings = await self.load_settings()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/proton/vpn/core/api.py", line 68, in load_settings
    user_tier = self._session_holder.session.vpn_account.max_tier
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'max_tier'

However, these file paths don't exist on my system, so I can't follow your instructions.

~/.config/Proton
~/.cache/Proton
~/.config/protonvpn
~/.cache/protonvpn

My system is Xubuntu 24.04.

tired-creating-those-usernames commented 1 week ago

I'm experiencing the same thing. I'm running the flatpak version.

flatpak run com.protonvpn.www
Traceback (most recent call last):
  File "/app/bin/protonvpn-app", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/app/lib/python3.11/site-packages/proton/vpn/app/gtk/__main__.py", line 34, in main
    controller = Controller.get(executor)
                 ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/proton/vpn/app/gtk/controller.py", line 59, in get
    executor.submit(controller.initialize_vpn_connector).result()
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 456, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result
    raise self._exception
  File "/app/lib/python3.11/site-packages/proton/vpn/app/gtk/controller.py", line 94, in initialize_vpn_connector
    self._connector = await self._api.get_vpn_connector()
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/proton/vpn/core/api.py", line 57, in get_vpn_connector
    settings = await self.load_settings()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/app/lib/python3.11/site-packages/proton/vpn/core/api.py", line 68, in load_settings
    user_tier = self._session_holder.session.vpn_account.max_tier
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'max_tier'

However, these file paths don't exist on my system, so I can't follow your instructions.

~/.config/Proton
~/.cache/Proton
~/.config/protonvpn
~/.cache/protonvpn

My system is Xubuntu 24.04.

well I tuly hope developer or someone that understands this python shizzle wizzle will eventually come and explain us what the heck is going on here and WHAT TO DO

tired-creating-those-usernames commented 1 week ago

It seems that somehow it's not resetting. Try closing the app, then running:

rm -rf ~/.config/Proton
rm -rf ~/.cache/Proton
rm -rf ~/.config/protonvpn
rm -rf ~/.cache/protonvpn
sudo apt purge --autoremove protonvpn # don't worry if this fails
sudo apt purge --autoremove proton-vpn-gnome-desktop

Then reboot. After rebooting, reinstall the app:

wget https://repo.protonvpn.com/debian/dists/unstable/main/binary-all/protonvpn-beta-release_1.0.3-3_all.deb
sudo dpkg -i ./protonvpn-beta-release_1.0.3-3_all.deb
sudo apt update
sudo apt upgrade
sudo apt install proton-vpn-gnome-desktop

Hopefully it will work after that

this was the first thing I did after the problem occurred. these instructions are basically the same thing from the Proton site's install/uninstall procedure.

Anonymous941 commented 1 week ago

@RagglenLove @tired-creating-those-usernames

I'm running the flatpak version.

Sorry to waste your time, I forgot there was a Flatpak version. :facepalm: It makes sense why everything wasn't doing anything now... Try running these:

flatpak uninstall --delete-data com.protonvpn.www
rm -rf ~/.var/app/com.protonvpn.www
# this might cause other apps to forget some of your passwords
# it won't affect your web browser
mv ~/.local/share/keyrings ~/.local/share/keyrings.bak
reboot

After that, you can reinstall it:

flatpak install com.protonvpn.www

Again, I'm sorry about that (not sarcastic), I never used the Flatpak version so I forgot that existed

calexandru2018 commented 14 hours ago

Hey @tired-creating-those-usernames , we'll be pushing in a couple of weeks a fix for this to beta, feel free to switch to beta whenever you want to be sure that you get the fix as soon as we release it.

tired-creating-those-usernames commented 14 hours ago

Hey @tired-creating-those-usernames , we'll be pushing in a couple of weeks a fix for this to beta, feel free to switch to beta whenever you want to be sure that you get the fix as soon as we release it.

HOWDY! I'll be the one of the tirst ones who tries it 🙂💪 Is there a way to be notified the fix arrived?