AttributeError - 'STARTF_USESHOWWINDOW'
See original GitHub issue- I assure that my problem is NOT with youtube-dl
- I’ve verified and I assure that I’m running youtube-dl-gui 0.3.8
- I assure that i am using the latest version of youtube-dl
- Searched bugtracker
What is the purpose of your issue?
- Bug during the download process (encountered problems after hitting the Download button)
Provide the full verbose output as follows:
- Add
-v
flag to Options > Commands tab - Re-try to download the URL
- Go to
Options > Log
tab and click theView Log
button - Copy the whole content of the log file and insert it between the triple ``` part
the log is empty
Please remove the following section between the (—) if your problem does not belong to the first two categories (bug report)
What operating system do you use ?
Win XP SP3
List of actions to perform to reproduce the problem:
- py C:\gnu\Python27\lib\site-packages\youtube_dl_gui
- URL http://www.youtube.com/watch?v=H22t-tiWiLw
- clicking DOWNLOAD
- nothing happens
What is the expected behaviour ?
the video should be downloaded
What happens instead ?
nothing, as seen in the screenshot below
Description of your issue, suggested solution and other information. Please make sure the description is worded well enough to be understood.
it won’t download anything and outputs this error in the cmd window. also, changes made to settings.json are being reset to default on startup.
Exception in thread Thread-2: Traceback (most recent call last): File “C:\gnu\Python27\lib\threading.py”, line 530, in __bootstrap_inner self.run() File “C:\gnu\Python27\lib\site-packages\youtube_dl_gui\downloadmanager.py”, line 288, in run ret_code = self._downloader.download(self._data[‘url’], options) File “C:\gnu\Python27\lib\site-packages\youtube_dl_gui\downloaders.py”, line 162, in download self._create_process(cmd) File “C:\gnu\Python27\lib\site-packages\youtube_dl_gui\downloaders.py”, line 322, in _create_process info.dwFlags |= subprocess.STARTF_USESHOWWINDOW AttributeError: ‘module’ object has no attribute ‘STARTF_USESHOWWINDOW’
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
What python version do you use ?
Also, i guess you installed youtube_dl_gui from the source using:
python setup.py install
? Why not use the Windows installer ?The STARTF_USESHOWWINDOW attribute should be available.
One of the following is happening:
You can also run those two commands on cmd and paste the output here:
python -c "import subprocess; subprocess.STARTF_USESHOWWINDOW"
python -c "import subprocess; print(subprocess.__file__)"
@uahim you probably had an issue with the settings because of the crash or you were passing wrong values to the settings.json (if you tried to edit it).
Currently the latest Windows build (portable) is this one: link, which dates back to Feb 15, 2016