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
After I set up the VTFCmd and Materials path I managed to generate a set of VTF and VMT files once. However after that first conversion the addon started refusing to generate VTF and VMT files. Instead I get an error message about a "permission" being denied. I tried adding python, Blender and the addon files as an exception in Windows Defender but it doesn't do anything.
Error log:
Python: Traceback (most recent call last):
File "C:\Users\snark\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Material_To_VTF\VTFLibOperators.py", line 134, in execute
new_image_tex_file = shutil.copy(image_path, os.path.dirname(image_path) + "\" + image_name_to_material_name[image_path] + "" + image_ext)
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\shutil.py", line 417, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
PermissionError: [Errno 13] Permission denied: 'C:\Program Files\Blender Foundation\Blender 4.0'
The text was updated successfully, but these errors were encountered:
After I set up the VTFCmd and Materials path I managed to generate a set of VTF and VMT files once. However after that first conversion the addon started refusing to generate VTF and VMT files. Instead I get an error message about a "permission" being denied. I tried adding python, Blender and the addon files as an exception in Windows Defender but it doesn't do anything.
Error log:
Python: Traceback (most recent call last):
File "C:\Users\snark\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\Material_To_VTF\VTFLibOperators.py", line 134, in execute
new_image_tex_file = shutil.copy(image_path, os.path.dirname(image_path) + "\" + image_name_to_material_name[image_path] + "" + image_ext)
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\shutil.py", line 417, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "C:\Program Files\Blender Foundation\Blender 4.0\4.0\python\lib\shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
PermissionError: [Errno 13] Permission denied: 'C:\Program Files\Blender Foundation\Blender 4.0'
The text was updated successfully, but these errors were encountered: