Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest update for Torbrowser broke the launcher #690

Open
Krommyon opened this issue May 15, 2023 · 2 comments
Open

Latest update for Torbrowser broke the launcher #690

Krommyon opened this issue May 15, 2023 · 2 comments

Comments

@Krommyon
Copy link

Linux/Tumbleweed:

***@localhost:~> torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.6
https://github.com/micahflee/torbrowser-launcher
Traceback (most recent call last):
File "/usr/bin/torbrowser-launcher", line 30, in
torbrowser_launcher.main()
File "/usr/lib/python3.10/site-packages/torbrowser_launcher/init.py", line 87, in main
gui = Launcher(common, app, url_list)
File "/usr/lib/python3.10/site-packages/torbrowser_launcher/launcher.py", line 82, in init
if not self.common.settings["installed"] or not self.check_min_version():
File "/usr/lib/python3.10/site-packages/torbrowser_launcher/launcher.py", line 461, in check_min_version
if version.parse(self.min_version) <= version.parse(installed_version):
File "/usr/lib/python3.10/site-packages/packaging/version.py", line 52, in parse
return Version(version)
File "/usr/lib/python3.10/site-packages/packaging/version.py", line 196, in init
match = self._regex.search(version)
TypeError: expected string or bytes-like object

@Krommyon Krommyon changed the title Last Torbrowser-update broke the launcher Latest update for Torbrowser broke the launcher May 15, 2023
@torproject torproject deleted a comment from slrslr May 17, 2023
@Krommyon
Copy link
Author

Today, I got an update for torbrowser-launcher to 0.3.6-1.3.
Yet I still get the following message:

***@localhost:~> torbrowser-launcher
Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.6
https://github.com/micahflee/torbrowser-launcher
Traceback (most recent call last):
File "/usr/bin/torbrowser-launcher", line 30, in
torbrowser_launcher.main()
File "/usr/lib/python3.11/site-packages/torbrowser_launcher/init.py", line 87, in main
gui = Launcher(common, app, url_list)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/torbrowser_launcher/launcher.py", line 82, in init
if not self.common.settings["installed"] or not self.check_min_version():
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/torbrowser_launcher/launcher.py", line 461, in check_min_version
if version.parse(self.min_version) <= version.parse(installed_version):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/packaging/version.py", line 52, in parse
return Version(version)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/packaging/version.py", line 196, in init
match = self._regex.search(version)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: expected string or bytes-like object, got 'NoneType'

@mrsteve0924
Copy link

mrsteve0924 commented Jul 20, 2023

same problem here
torbrowser-launcher 0.3.6-2
tor 0.4.7.13-2
archlinux kernel 6.2.1

but if i start with the start-tor-browser.desktop file then torbrowser loads correctly.

Traceback (most recent call last):
File "/usr/bin/torbrowser-launcher", line 29, in
import torbrowser_launcher
File "/usr/lib/python3.11/site-packages/torbrowser_launcher/init.py", line 36, in
from .common import Common, SHARE
File "/usr/lib/python3.11/site-packages/torbrowser_launcher/common.py", line 38, in
import requests
File "/usr/lib/python3.11/site-packages/requests/init.py", line 45, in
from .exceptions import RequestsDependencyWarning
File "/usr/lib/python3.11/site-packages/requests/exceptions.py", line 9, in
from .compat import JSONDecodeError as CompatJSONDecodeError
File "/usr/lib/python3.11/site-packages/requests/compat.py", line 40, in
from simplejson import JSONDecodeError
ImportError: cannot import name 'JSONDecodeError' from 'simplejson' (unknown location)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants