STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
292
IN-GAME
1,787
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
SMD importing error
hello guys, today I've encountered an error while using blender 2.81 while trying to import a SMD file

error:

bpy.ops.object.delete(use_global=False)
Deleted 1 object(s)
bpy.context.space_data.recent_folders_active = 0
Traceback (most recent call last):
File "C:\Users\Pritam\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\io_scene_valvesource\import_smd.py", line 71, in execute
self.num_files_imported = self.readSMD(filepath, self.properties.upAxis, self.properties.rotMode)
File "C:\Users\Pritam\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\io_scene_valvesource\import_smd.py", line 1225, in readSMD
header = self.parseQuoteBlockedLine(file.readline())
File "C:\Program Files\Blender Foundation\Blender 2.81\2.81\python\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 191: character maps to <undefined>

location: <unknown location>:-1

this is the first time I'm encountered with something like this. If anybody knows anything about that error, please help me out.

thank you

< >
Showing 1-5 of 5 comments
Zappy 27 Nov, 2019 @ 9:11am 
What version of the Blender Source Tools are you using, and can you link to the exact SMD file in question?
Artfunkel 27 Nov, 2019 @ 12:45pm 
There is probably an invalid character in a bone name slide your SMD file. Try editing the file in a text editor and changing any bones with unusual names. It will probably be obvious where the problem is.
Aratazar Croillac 27 Nov, 2019 @ 7:32pm 
Originally posted by Zappy:
What version of the Blender Source Tools are you using, and can you link to the exact SMD file in question?
I was using version 3.0.3.
this one--> http://steamreview.org/BlenderSourceTools/
and these are the two models--> https://drive.google.com/open?id=1gY5-2EbmapvdCw5g4DIXyNkMPklEse68
Aratazar Croillac 27 Nov, 2019 @ 7:37pm 
Originally posted by Artfunkel:
There is probably an invalid character in a bone name slide your SMD file. Try editing the file in a text editor and changing any bones with unusual names. It will probably be obvious where the problem is.

to be honest I'm a noob in these things. So there's no way I can edit the files in text editor. Though I worked with SMD before and opened them in blender but never encountered such error. In fact I was able to open those two files(attached in my previous comment) once before. It worked perfectly that time
Aratazar Croillac 28 Nov, 2019 @ 5:59am 
Originally posted by Zappy:
What version of the Blender Source Tools are you using, and can you link to the exact SMD file in question?


Originally posted by Artfunkel:
There is probably an invalid character in a bone name slide your SMD file. Try editing the file in a text editor and changing any bones with unusual names. It will probably be obvious where the problem is.
guys latest source tool seems like is not supported by blender 2.81.
sorry for all the inconvenience
< >
Showing 1-5 of 5 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details