Yn1t / blender-smd

Automatically exported from code.google.com/p/blender-smd
0 stars 0 forks source link

UnicodeDecodeError #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install the latest Blender(2.6.3)
2. Install the latest build of the add-on(Blender SMD Tools 1.2.4)
3. Try to import a model

What is the expected output? What do you see instead?
I get an error message related to 'UnicodeDecodeError' and 'location:<unknown 
location>:-1'

What version of the product are you using? On what operating system?
Blender 2.6.3, Blender SMD Tools 1.2.4, Windows 7

Please provide any additional information below.

error:

Traceback (most recent call last):
  File "C:\Users\Profeta\AppData\Roaming\Blender Foundation\Blender\2.63\scripts\addons\io_smd_tools.py", line 1924, in execute
    self.countSMDs = readSMD(context, self.properties.filepath, self.properties.upAxis, self.properties.rotMode, append=self.properties.append)
  File "C:\Users\Profeta\AppData\Roaming\Blender Foundation\Blender\2.63\scripts\addons\io_smd_tools.py", line 1422, in readSMD
    if file.readline() != "version 1\n":
  File "C:\Program Files (x86)\Blender Foundation\Blender\2.63\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 0x8f in position 29: 
character maps to <undefined>

location:<unknown location>:-1

Original issue reported on code.google.com by rocknrol...@gmail.com on 31 May 2012 at 5:38

GoogleCodeExporter commented 8 years ago
This is a problem with the SMD file you're trying to import. Where did you get 
it from? Can you attach the file to your reply please?

Original comment by cont...@steamreview.org on 31 May 2012 at 5:13

GoogleCodeExporter commented 8 years ago
It is from a extracted file set of a game I am modding.

Original comment by rocknrol...@gmail.com on 31 May 2012 at 5:51

GoogleCodeExporter commented 8 years ago
That file is complete gibberish. It isn't an SMD.

Original comment by cont...@steamreview.org on 31 May 2012 at 6:34

GoogleCodeExporter commented 8 years ago
This is strange. Thanks though.

Original comment by rocknrol...@gmail.com on 31 May 2012 at 6:45