Jump to content

Blender exporter error 'ascii' codec can't encode character '\xc4'


Recommended Posts

Hey Josh,

 

I downloaded the official Blender to Leadwerks exporter from github.

 

I am getting this error when trying to export this hands blend file to mld format:

 

post-17500-0-89109000-1468325455_thumb.png

 

read blend: C:\Users\isaac\Downloads\_Leadwerks\Models\42830_The_First_Person_Shooter_Hands\HandSwap.blend
Traceback (most recent call last):
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\leadwerks\ui.py", line 101, in execute
return LeadwerksExporter(**kwargs).export()
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\leadwerks\exporter.py", line 54, in export
self.save_exportable(e, name)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\leadwerks\exporter.py", line 80, in save_exportable
cc.compile()
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 24, in compile
self.compile_node(self.source)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 39, in compile_node
self.compile_node(s)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 39, in compile_node
self.compile_node(s)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 39, in compile_node
self.compile_node(s)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 39, in compile_node
self.compile_node(s)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 39, in compile_node
self.compile_node(s)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 39, in compile_node
self.compile_node(s)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 39, in compile_node
self.compile_node(s)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 32, in compile_node
compile(node)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\compiler.py", line 123, in props_compiler
self.writer.write_nt_str(p)
File "C:\Program Files (x86)\Steam\steamapps\common\Blender\2.77\scripts\addons\io_scene_leadwerks\xml_tool\streams.py", line 96, in write_nt_str
self.stream.write(bytes(val, encoding='ascii'))
UnicodeEncodeError: 'ascii' codec can't encode character '\xc4' in position 6: ordinal not in range(128)
location: <unknown location>:-1
location: <unknown location>:-1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...