You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cannot download FFMPEG exe when frozen on Windows #271
I am not sure if this issue is imageio-related. It seems like imageio is not able to download the ffmpeg binary if it is running in a frozen application on a Windows Virtual Machine hosted by a Mac. Note that this issue does not occur on a regular Windows installation. I do not have the resources to thoroughly test this issue or reproduce it.
Make sure ffmpeg is not installed on the system and imageio did not cache any ffmpeg binaries.
Execute ShapeOut. If it does not find ffmpeg, a dialog box will be displayed asking the user to download it. (imageio.plugins.ffmpeg.download() will be called).
Traceback (most recent call last):
File "ShapeOut.py", line 66, in
File "ShapeOut.py", line 38, in main
File "gui\frontend.py", line 175, in InitRun
File "site-packages\imageio\plugins\ffmpeg.py", line 58, in download
File "site-packages\imageio\core\fetching.py", line 121, in get_remote_file
File "site-packages\imageio\core\fetching.py", line 177, in _fetch_file
IOError: Unable to download 'ffmpeg-win32-v3.2.4.exe'. Perhaps there is a no internet connection? If there is, please report this problem.
I was going to suggest that frozen apps should probably ship ffmpeg if they need it, and then saw that this is exactly what you did. I'll leave this open though, in case someone wants to have a go at fixing it some day.
changed the title [-]Possible binary download problem in a Windows Virtual Machine[/-][+]Cannot download FFMPEG exe when frozen on Windows[/+]on Mar 12, 2018
This should be fixed with #425, in the sense that there will be no more download mechanism for ffmpeg. Though we need a solution for frozen apps. I created imageio/imageio-ffmpeg#5 to track this.
I don't know if this has actually ever been a real issue. On a regular windows machine, this always worked. Maybe some SSL certificates were missing or PyInstaller fixed it somehow.
Ah ok. Well, in any way, that mechanism to download ffmpeg is now gone. Which is a good thing, but it means that in the next release of imageio, shipping ffmpeg will have to work a little different.
Activity
almarklein commentedon Jul 26, 2017
My first guess is that it might be due to certain libs not being frozen along, such as those to do https requests.
almarklein commentedon Mar 12, 2018
I was going to suggest that frozen apps should probably ship ffmpeg if they need it, and then saw that this is exactly what you did. I'll leave this open though, in case someone wants to have a go at fixing it some day.
[-]Possible binary download problem in a Windows Virtual Machine[/-][+]Cannot download FFMPEG exe when frozen on Windows[/+]almarklein commentedon Feb 5, 2019
This should be fixed with #425, in the sense that there will be no more download mechanism for ffmpeg. Though we need a solution for frozen apps. I created imageio/imageio-ffmpeg#5 to track this.
paulmueller commentedon Feb 5, 2019
I don't know if this has actually ever been a real issue. On a regular windows machine, this always worked. Maybe some SSL certificates were missing or PyInstaller fixed it somehow.
almarklein commentedon Feb 5, 2019
Ah ok. Well, in any way, that mechanism to download ffmpeg is now gone. Which is a good thing, but it means that in the next release of imageio, shipping ffmpeg will have to work a little different.