Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Force update #7747
Force update #7747
Comments
|
What's your proposal? |
|
mm, a example wil be more easy, in windows. have a rute /hi/bin here i put my bineries of linux for windows like youtube-dl.exe. so i download it and then i put the file in that directory. in a cmd i run |
|
This is known bug. |
|
don't is that bug |
|
@dstftw, I think this is a different issue. This seems to be about youtube-dl thinking it was installed via package manager when it wasn't. This seems to be the relevant code, though it has been so long since I've worked with the codebase that I'm not really sure how it behaves under each of the various distribution methods (compiled executable, source files, etc.). @latot, what path is your youtube-dl installed in? I tried updating from |
|
Hi, i test it with linux and windows, in windows i use this path this location /User/Cos/Documents/linux/bin in linux i try this but without path only running from terminal, /home/pipe/Documentos/youtube.dl (file) i install both downloading from the instructions of main page, i don't install from pip, in windows i use the .exe version in the same page. Cys. |
|
It works for me:
Could you run the same command ( |
|
Hi, testing if i run the command from the directory it works, but calling with the PATH don't works (the rute of windows is in path). don't working:
working from directory:
|
|
Hmm. The behaviour of not being about to update without navigating to the directory the binary in is the same as with the other bug, but I have to wonder at what could be happening to cause that error. @dstftw, I think this should be looked into. Could you consider reopening it? |
|
mm, only to be sure. |
|
That is the known bug that was mentioned earlier, #2718 |
|
@Hrxn, #2718 presents itself as a
This check happens in However, the message @latot is encountering is a result of the code at line 55, which seems to be failing to determine the installation type correctly. They don't seem related to me. |
Hi, well i'm here agin to ask a feature.
Its becasue for example if we download manually youtube-dl to a custom dir or in windows we do a bin path for linux apps it don't permit update via -U, this is the super message:
Thx.