oleksis / youtube-dl-gui

A cross platform front-end GUI of the popular youtube-dl written in wxPython.
https://oleksis.github.io/youtube-dl-gui/
The Unlicense
1.76k stars 117 forks source link

Crash on trying to open app #150

Closed opusforlife2 closed 1 year ago

opusforlife2 commented 1 year ago

Before going further


What is the purpose of your issue?


Bug report

What operating system do you use ?

Windows 7

List of actions to perform to reproduce the problem:

  1. Try to open the app.

What is the expected behaviour ?

The app should open.

What happens instead ?

Two different error popups.

First:

System error (Windows dialog) - The program can't start because api-ms-win-cre-path-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem.

^ This error usually shows for me when an app has Win10 as the minimum version. But I've read other issues and this doesn't seem to be the case here.

Second:

Fatal error detected (yt-dlg dialog) -

Error loading Python DLL. "%appdata%\Local\Temp[foldername]\python310.dll" LoadLibrary: The specified module could not be found.

^ This error doesn't make sense to me because I have Python 3.8 installed (the last version to support Win7), and yt-dlg has always worked before this.

Also, why is it looking for a DLL inside a temp folder?

oleksis commented 1 year ago

The yt-dlg binaries for Windows use PyInstaller. The version 1.8.5 use Python 3.10 for 64 bit architecture

If you want use your Python 3.8 , one option is install yt-dlg from PyPI

opusforlife2 commented 1 year ago

Ah. Thanks for the info.

yt-dlg is one of the packages I install using Chocolatey for easier maintenance. Is it possible to have an install parameter that safely swaps in dependency on the 3.8 version of Python instead of 3.10?

oleksis commented 1 year ago

yt-dlg from PyPI is compatible from Python 3.8 to Python 3.11

pip install yt-dlg

opusforlife2 commented 1 year ago

Alright then. Thanks!