ross-g / io_pdx_mesh

Import/Export files for the Clausewitz game engine
GNU General Public License v3.0
88 stars 11 forks source link

exporting issue with python trace back error for blender #69

Closed speedysters closed 2 years ago

speedysters commented 2 years ago

Report: Warning A Mesh export failed! X [Errno 2] No such file or directory: 'C:\Program Files (x86)\Steam\steamapps\common\Crusader Kings III\game\gfx\models\portraits\attachments\male_headgears\secular\western\war_nobility_01\' Python: Traceback (most recent call last): File "C:\Users\adkin\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\io_pdx_mesh\pdx_blender\blender_ui.py", line 504, in execute export_meshfile( File "C:\Users\adkin\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\io_pdx_mesh\pdx_blender\blender_import_export.py", line 1390, in export_meshfile pdx_data.write_meshfile(meshpath, root_xml) File "C:\Users\adkin\AppData\Roaming\Blender Foundation\Blender\3.1\scripts\addons\io_pdx_mesh\pdx_data.py", line 492, in write_meshfile with open(filepath, "wb") as fp: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Program Files (x86)\Steam\steamapps\common\Crusader Kings III\game\gfx\models\portraits\attachments\male_headgears\secular\western\war_nobility_01\' location: :-1 C

Screenshot 2022-05-26 160122
speedysters commented 2 years ago

this happens when i try to export a mesh

ross-g commented 2 years ago

You did not enter a filename when you tried to export. (picking just a folder isn't enough)