STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
287
游戏中
1,716
在线
成立于
2013 年 11 月 8 日
所有讨论 > Bug Reports > 主题详情
Aratazar Croillac 2019 年 11 月 27 日 上午 8:27
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

< >
正在显示第 1 - 5 条,共 5 条留言
Zappy 2019 年 11 月 27 日 上午 9:11 
What version of the Blender Source Tools are you using, and can you link to the exact SMD file in question?
Artfunkel 2019 年 11 月 27 日 下午 12:45 
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 2019 年 11 月 27 日 下午 7:32 
引用自 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 2019 年 11 月 27 日 下午 7:37 
引用自 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 2019 年 11 月 28 日 上午 5:59 
引用自 Zappy
What version of the Blender Source Tools are you using, and can you link to the exact SMD file in question?


引用自 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
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50

所有讨论 > Bug Reports > 主题详情