Build error when textures contain foreign characters
See original GitHub issue`Scene built in 260.0129120349884 Traceback (most recent call last): File “C:/Users/blake/Downloads/Armory_p10a_win64/Armory/armsdk//armory/blender\arm\props_ui.py”, line 543, in execute make.play_project(True) File “C:/Users/blake/Downloads/Armory_p10a_win64/Armory/armsdk//armory/blender\arm\make.py”, line 340, in play_project build_project(is_play=True, in_viewport=in_viewport, target=state.target) File “C:/Users/blake/Downloads/Armory_p10a_win64/Armory/armsdk//armory/blender\arm\make.py”, line 258, in build_project export_data(fp, sdk_path, is_play=is_play, is_publish=is_publish, in_viewport=in_viewport) File “C:/Users/blake/Downloads/Armory_p10a_win64/Armory/armsdk//armory/blender\arm\make.py”, line 125, in export_data write_data.write_khafilejs(is_play, export_physics, export_navigation, dce_full=is_publish) File “C:/Users/blake/Downloads/Armory_p10a_win64/Armory/armsdk//armory/blender\arm\write_data.py”, line 104, in write_khafilejs f.write(add_assets(ref)) File “C:\Users\blake\Downloads\Armory_p10a_win64\Armory\2.78\python\lib\encodings\cp1252.py”, line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: ‘charmap’ codec can’t encode characters in position 83-85: character maps to <undefined>
location: <unknown location>:-1
location: <unknown location>:-1 ` Some of my textures contained Cyrillic characters but renaming it solved the problem. Just thought you should be aware.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
Deleted the iron directory and cloned a new copy. Electron and Browser runtimes are working again.
Kode/Kha is perfect. One more try, maybe out of date iron clone? (This commit should have got rid of that error https://github.com/armory3d/iron/commit/75157154dcd2c60d4a506f97d0ecb06907dabab4).