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

Windows .exe dont start #10874

Open
YannisHeine opened this issue Oct 8, 2016 · 29 comments
Open

Windows .exe dont start #10874

YannisHeine opened this issue Oct 8, 2016 · 29 comments

Comments

@YannisHeine
Copy link

@YannisHeine YannisHeine commented Oct 8, 2016

What is the purpose of your issue?

  • Question

Description of your issue, suggested solution and other information

I Downloaded the youtube-dl.exe on my Windows Server 2012 i have python 2.7 installed.

When i want now download a Video (over commandline) i get an error by Windows that the Application was not success to start with error code (0x000007d) and than nothing happen
.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 8, 2016

Post the log of what you enter and what you get as output.

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

I open command line and type youtube-dl.exe http://www.youtube.com/watch....
http://prnt.sc/crdgjg

Than i get this errors
http://prnt.sc/crdgrr (this says there was an erro with the Application)
http://prnt.sc/crdgxa

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 8, 2016

Post the output of where youtube-dl.exe.

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

http://prntscr.com/crdkju
"C:\SinusBot\youtube-dl.exe"

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 8, 2016

Microsoft Visual C++ 2010 Redistributable Package (x86) installed?

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

Yes

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 8, 2016

Post the output of where msvcr100.dll.

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

"C:\Windows\System32\msvcr100.dll"

@StevenDTX
Copy link

@StevenDTX StevenDTX commented Oct 8, 2016

There are a thousands reasons you could get a 0x000007d. Have you deleted, and re-downloaded youtube-dl.exe?

Since you are on WS2012, you have powershell. Try this:

Invoke-WebRequest "https://github.com/rg3/youtube-dl/releases/download/2016.10.07/youtube-dl.exe" -OutFile C:\SinusBot\youtube-dl.exe
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 8, 2016

Post the output of certutil -hashfile youtube-dl.exe md5.

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

Yes i deleted and redownloaded it but it do not change anything

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

certutil -hashfile youtube-dl.exe md5 ->

ff 22 5e 66 3b d4 45 6a 6b 4a 14 54 02 9d cd 9c (http://prntscr.com/crdrk1)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 8, 2016

Are you able to run any exe from cmd at all?

@StevenDTX
Copy link

@StevenDTX StevenDTX commented Oct 8, 2016

If you right-click on the file, and click properties, does it have an "unblock" button?

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

yes i can run other .exe

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

No no "unblock" button

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

I have now take a look at the Windows error Message

But it´s say nothing for me

Problem Signature:
Problem event name: APPCRASH
Application name: youtube-dl.exe
Application version: 2016.10.7.0
Application time stamp: 54467a4f
Error module name: ntdll.dll
Error module version: 6.3.9600.17415
Error module time stamp: 54504b0d
Exception code: c000007b
Exception offset: 000a36e5
Operating system version: 6.3.9600.2.0.0.400.8
Area ID: 1031
Additional Information 1: 1abe
Additional Information 2: 1abee00edb3fc1158f9ad6f44f0f6be8
Additional information 3: 1abe
Additional Information 4: 1abee00edb3fc1158f9ad6f44f0f6be8

@Hrxn
Copy link

@Hrxn Hrxn commented Oct 8, 2016

Hm..

If you use where .. try it from a different location, or another drive (D:, E:..), otherwise it won't test if PATH is really working properly.

Without really looking deeper into this, I'd say that is the typical runtime error.

If you use an 64-bit Windows, you could also try to run this:

Microsoft Visual C++ 2010 Redistributable Package (x64)
https://www.microsoft.com/en-us/download/details.aspx?id=14632

In addition to this:
Microsoft Visual C++ 2010 Redistributable Package (x86)
https://www.microsoft.com/en-US/download/details.aspx?id=5555

If nothing else helps, there is another C++ 2010 runtime package
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
https://www.microsoft.com/en-us/download/details.aspx?id=8328

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 8, 2016

Different redists won't have any effect since youtube-dl only depends on 2010 x86.

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

I try the where from other drive and it link correctly

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

i also installed the other C++ Redistributable but nothing changed

@Hrxn
Copy link

@Hrxn Hrxn commented Oct 8, 2016

Okay, then it is not the typical runtime error. Windows Server shouldn't be an issue, either. So I guess there is something more wrong with your OS..

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 8, 2016

hmm okay thank you for help ... so than i will create a hyper-v vm with linux...

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 9, 2016

You can also install Python 2.6+ or 3.2+ from www.python.org, download the Unix version of youtube-dl and run python.exe youtube-dl. If python.exe runs fine but youtube-dl.exe not, come back and report it. If python.exe fails too, you may want to go to https://bugs.python.org/ and ask Python gurus.

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 10, 2016

I am sry i found no time until now.

So the Python version did not change anything.

But python.exe youtube-dl worked fine thank you :)

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 10, 2016

Thanks for the feedback. What's your python version? (i.e. the output of python.exe --version)

@YannisHeine
Copy link
Author

@YannisHeine YannisHeine commented Oct 10, 2016

Python 2.7.12

@LeoRiether
Copy link

@LeoRiether LeoRiether commented Nov 1, 2019

Seems like this hasn't been updated for a while now, is this still an issue or should we close it?

@Hrxn
Copy link

@Hrxn Hrxn commented Nov 1, 2019

Close it.

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

Successfully merging a pull request may close this issue.

None yet
6 participants
You can’t perform that action at this time.