Group: current SVN version
Resolution: Fixed
Category: Python
The following script will crash Blender:
import tarfile
print tarfile.is_tarfile("blender.html")
as will:
import tarfile
f = tarfile.open("blender.html")
Opening a valid .tar file does not crash Blender, but there is no way to test for a valid .tar file without Blender crashing, except maybe using TarFileCompat:
import tarfile
f = tarfile.TarFileCompat("test.tar.gz","r")
I have duplicated the crash in current CVS, RC1, and 2.42a, on two separate computers, both running windows. The script works fine from the python command-line interpretor.
Levi