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

sos: 404 download error #663

Open
andres1968 opened this issue Dec 9, 2022 · 25 comments
Open

sos: 404 download error #663

andres1968 opened this issue Dec 9, 2022 · 25 comments

Comments

@andres1968
Copy link

hi, I try TOR on Kali Linux and Parrot OS but said: error 404
I try on terminal command sudo … same error. any suggest.
many thanks and a hug for all best community

@ghost
Copy link

ghost commented Dec 9, 2022

issue #659
hotfix #660

FOR THE NEW INSTALLATION (not an update)
basically, follow this
build from source
however, you just have to change the first command here to
git clone https://github.com/tensornova/torbrowser-launcher.git

tell me if there is an error related to 'float' when you follow this.

@ghost
Copy link

ghost commented Dec 9, 2022

yup

Traceback (most recent call last):
  File "/home/relected/Downloads/git/tor-fuckup/torbrowser-launcher/./torbrowser-launcher", line 30, in <module>
    torbrowser_launcher.main()
  File "/home/relected/Downloads/git/tor-fuckup/torbrowser-launcher/torbrowser_launcher/__init__.py", line 92, in main
    gui.move(
TypeError: arguments did not match any overloaded call:
  move(self, QPoint): argument 1 has unexpected type 'float'
  move(self, int, int): argument 1 has unexpected type 'float'
@ghost
Copy link

ghost commented Dec 9, 2022

Issue #628

FOR THE NEW INSTALLATION (not an update)
then
(1) delete a directory torbrowser-launcher you downloaded before via git clone https://github.com/tensornova/torbrowser-launcher.git

(2) follow build from source
but try git clone -b hotfix --single-branch https://github.com/tensornova/torbrowser-launcher.git
instead of the first command

@ghost
Copy link

ghost commented Dec 10, 2022

hi, sorry for the long wait i was asleep

the software starts, but its stuck at 0% at downloading signatures

Edit: nvm it works, thanks

EDIT 2: it deleted all of my data! :(

@Froggy232
Copy link

Hi,
I have the same problem, do you know a way to make it work with flatpak?
Do I just need to wait for the flatpak to be updated?
Thanks you

@PoorPocketsMcNewHold
Copy link

Hi, I have the same problem, do you know a way to make it work with flatpak? Do I just need to wait for the flatpak to be updated? Thanks you

That's exact. First we need to have it being merged via #661, and then, that a new build is pushed to flatpak.

@svb300
Copy link

svb300 commented Dec 10, 2022

Issue #628

then (1) if you've already installed it, please uninstall it or delete a directory torbrowser-launcher you downloaded before

(2) follow build from source but try git clone -b hotfix --single-branch https://github.com/tensornova/torbrowser-launcher.git instead of the first command

Hey none of this worked for me at all. Take a look. I'm on Ubuntu 22.04. When will TOR be fixed?

computer@computer-System-Product-Name:~$ git clone https://github.com/tensornova/torbrowser-launcher.git
Command 'git' not found, but can be installed with:
sudo apt install git
computer@computer-System-Product-Name:~$ sudo apt install git clone https://github.com/tensornova/torbrowser-launcher.git
[sudo] password for computer: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package clone
E: Unable to locate package https://github.com/tensornova
computer@computer-System-Product-Name:~$ git clone -b hotfix --single-branch https://github.com/tensornova/torbrowser-launcher.git
Command 'git' not found, but can be installed with:
sudo apt install git
computer@computer-System-Product-Name:~$ sudo apt install git clone -b hotfix --single-branch https://github.com/tensornova/torbrowser-launcher.git
E: Command line option 'b' [from -b] is not understood in combination with the other options.
computer@computer-System-Product-Name:~$ git clone https://github.com/micahflee/torbrowser-launcher.git
Command 'git' not found, but can be installed with:
sudo apt install git
computer@computer-System-Product-Name:~$ sudo apt install git clone https://github.com/micahflee/torbrowser-launcher.git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package clone
E: Unable to locate package https://github.com/micahflee
computer@computer-System-Product-Name:~$ 
@svb300
Copy link

svb300 commented Dec 10, 2022

I am also getting the "Download Error: 404"

When is this going to get fixed?

@ghost
Copy link

ghost commented Dec 11, 2022

hi, sorry for the long wait i was asleep

the software starts, but its stuck at 0% at downloading signatures

Edit: nvm it works, thanks

EDIT 2: it deleted all of my data! :(

um, sorry, I didnt considering update that is not a new installation. It's a guess, but it seems that the data has been deleted because a path to the data has changed even though the data exists. I'll check it out and let you know if I can. and i recommend a downgrade if you are able to do it

@ghost
Copy link

ghost commented Dec 11, 2022

Issue #628
then (1) if you've already installed it, please uninstall it or delete a directory torbrowser-launcher you downloaded before
(2) follow build from source but try git clone -b hotfix --single-branch https://github.com/tensornova/torbrowser-launcher.git instead of the first command

Hey none of this worked for me at all. Take a look. I'm on Ubuntu 22.04. When will TOR be fixed?

computer@computer-System-Product-Name:~$ git clone https://github.com/tensornova/torbrowser-launcher.git
Command 'git' not found, but can be installed with:
sudo apt install git
computer@computer-System-Product-Name:~$ sudo apt install git clone https://github.com/tensornova/torbrowser-launcher.git
[sudo] password for computer: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package clone
E: Unable to locate package https://github.com/tensornova
computer@computer-System-Product-Name:~$ git clone -b hotfix --single-branch https://github.com/tensornova/torbrowser-launcher.git
Command 'git' not found, but can be installed with:
sudo apt install git
computer@computer-System-Product-Name:~$ sudo apt install git clone -b hotfix --single-branch https://github.com/tensornova/torbrowser-launcher.git
E: Command line option 'b' [from -b] is not understood in combination with the other options.
computer@computer-System-Product-Name:~$ git clone https://github.com/micahflee/torbrowser-launcher.git
Command 'git' not found, but can be installed with:
sudo apt install git
computer@computer-System-Product-Name:~$ sudo apt install git clone https://github.com/micahflee/torbrowser-launcher.git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package clone
E: Unable to locate package https://github.com/micahflee
computer@computer-System-Product-Name:~$ 

not sudo apt install git clone but sudo apt install git

@ghost
Copy link

ghost commented Dec 11, 2022

@tensornova

um, sorry, I didnt considering update that is not a new installation. It's a guess, but it seems that the data has been deleted because a path to the data has changed even though the data exists. I'll check it out and let you know if I can. and i recommend a downgrade if you are able to do it

thats reassuring, BTW what was the old location of the browser profile, maybe I can recover it manually?

@narcisgarcia
Copy link

I failed with torbrowser-launcher from Debian Stable too.
I think an update should be released through OS distributions.

@ghost
Copy link

ghost commented Dec 16, 2022

it will slowly happen, just wait for it slowly

also Debian Stable will take a pretty long time to upate torbrowser-laucher so i think the bestthing to do rn is to install it maually

@markmaker
Copy link

This is no solution, but info towards one.

Tor seems tor has moved to a universal language package in 12.0.1.

So the launcher should not use the language to composite the download path, instead it should use "ALL".

open the /usr/lib/python3/dist-packages/torbrowser_launcher/common.py file

Change the discover_arch_lang function to simply set self.language to "ALL", i.e. delete all the complicated language guessing code that is there and replace it with one line (I also show the comment of the next function, so it becomes clear how far it has to be replaced):

    # discover the architecture and language
    def discover_arch_lang(self):
        # figure out the architecture
        self.architecture = "x86_64" if "64" in platform.architecture()[0] else "i686"

        # figure out the language ... with 12.0.1 this has become a universal language package
        self.language = "ALL"

    # get value of environment variable, if it is not set return the default value

Now it downloads alright and tries to install ... where it hangs.

Running /home/username/.local/share/torbrowser/tbb/x86_64/tor-browser_ALL/start-tor-browser.desktop
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py", line 442, in success
    self.run_task()
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py", line 301, in run_task
    self.run()
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py", line 477, in run
    if not self.check_min_version():
  File "/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py", line 465, in check_min_version
    for line in open(self.common.paths["tbb"]["changelog"], "rb").readlines():
FileNotFoundError: [Errno 2] No such file or directory: '/home/markus/.local/share/torbrowser/tbb/x86_64/tor-browser_ALL/Browser/TorBrowser/Docs/ChangeLog.txt'

Some sort of unfulfilled promise or whatever the contraption is called in Python.

So back to square one.

_Mark

@narcisgarcia
Copy link

narcisgarcia commented Dec 21, 2022

Okay, I've done this step as a workaround for an installation:

sudo sed -i 's|self.language =.*|self.language = "ALL"|g' /usr/lib/python3/dist-packages/torbrowser_launcher/common.py

After this, on launching torbrowser-launcher it downloads successfully application's package, but it breaks with:

FileNotFoundError: [Errno 2] No such file or directory: '/home/user/.local/share/torbrowser/tbb/x86_64/tor-browser_ALL/Browser/TorBrowser/Docs/ChangeLog.txt'

Then, to complete workaround at user profile this must be run in a terminal:

mkdir -p ~/.local/share/torbrowser/tbb/$(uname -m)
cd ~/.local/share/torbrowser/tbb/$(uname -m)
ln -s tor-browser tor-browser_ALL

And it just works.
All this expecting torbrowser-launcher incorporates new fixes.

@SterlingButters
Copy link

SterlingButters commented Dec 26, 2022

Watching this issue also (flatpak install didn't work for me either - flathub not recognized or something like that)

@hellomelter234
Copy link

hellomelter234 commented Dec 26, 2022

when using flatpak i get this error:

qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.

i tried to use source and debian repository but i got error 404. also when i try tensornova's solution it requires my github username and password and then says that password authentication has been ended since august 2021.

@SterlingButters
Copy link

also when i try tensornova's solution it requires my github username and password and then says that password authentication has been ended since august 2021.

You have to generate a token and use that as your password. Either way, when you do that you are (or I was) notified that the repository doesn't exist

@narcisgarcia
Copy link

i tried to use source and debian repository but i got error 404. also when i try tensornova's solution it requires my github username and password and then says that password authentication has been ended since august 2021.

My workaround also works with Debian packaging source (first part to common.py , next part to postinst & skel)

@thecowmilk
Copy link

Nevertheless to say I have the same issue. Commenting just for the record:
OS: Kali Linux (latest upgrade)
Downloaded: by using official kali's repo sudo apt install torbrowser-launcher.

I hope they will make a fix soon <3

@ghost
Copy link

ghost commented Jan 24, 2023

its fixed, @narcisgarcia you just have to wait until the software is updated in your repo

or you can just manually install it

@marcvspt
Copy link

marcvspt commented May 4, 2023

just build from source code and install the package created https://github.com/micahflee/torbrowser-launcher/blob/main/BUILD.md

@Simx72
Copy link

Simx72 commented Jun 11, 2024

Getting the 404 error after installing from ubuntu official repo
Build from source worked for me

@boklm
Copy link
Collaborator

boklm commented Jun 12, 2024 via email

@Simx72
Copy link

Simx72 commented Jun 13, 2024

The version not working is the 0.3.3
The one build from source is 0.3.7
Screenshot_20240613_093835
Screenshot_20240613_093607
Screenshot_20240613_093521

Screenshot_20240613_093436
Screenshot_20240613_093409

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