question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
fractalfederationcommented, May 13, 2017

Deleted the iron directory and cloned a new copy. Electron and Browser runtimes are working again.

0reactions
luboslencocommented, May 13, 2017

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).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Freetype Library gives triple textures and weird symbols
android - Freetype Library gives triple textures and weird symbols - Stack Overflow. Stack Overflow for Teams – Start collaborating and sharing ...
Read more >
XtoMDL special characters - SceneryDesign.org
If you export the MDL to a folder that contains a special character than XtoMDL throws the error shown in the image above...
Read more >
Error loading file with special character (using www)
Hello, I need to load some texture dynamically, but sometimes it contains special character ("é" for example, we are french). Code (csharp): s....
Read more >
Why are all the textures in my file pink?
Pink means that the texture files are missing. If the texture files are still on your system, then it sounds like the textures...
Read more >
How to Fix Common C4D Errors or Failed Jobs
Include ALL textures and assets. Generally, Cinema C4D render jobs fail or are incomplete because you are missing an asset for your scene....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found