Page 1 of 1

Blender Kart exporter error

PostPosted: 10 Aug 2012, 15:48
by Tattorack
So I installed all the componants without problems into Blender 3D, made a quick WIP kart and exported it.
All was fine, but since it was WIP (and still is: no driver XD) I went back and added a UV map (.jpeg with 512 x 512 dimensions).
Then when I tried exporting this error popped up in terminal:
{l Code}: {l Select All Code}
Traceback (most recent call last):
  File "/Applications/blender-2.63a-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/2.63/scripts/addons/stk_kart.py", line 399, in execute
    savescene_callback(os.path.dirname(self.filepath))
  File "/Applications/blender-2.63a-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/2.63/scripts/addons/stk_kart.py", line 349, in savescene_callback
    exporter = exportKart(path)
  File "/Applications/blender-2.63a-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/2.63/scripts/addons/stk_kart.py", line 317, in exportKart
    overwrite_without_asking=True)
  File "/Applications/blender-2.63a-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/2.63/scripts/modules/bpy/ops.py", line 180, in __call__
    ret = op_call(self.idname_py(), None, kw)
RuntimeError: Error: Traceback (most recent call last):
  File "/Applications/blender-2.63a-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/2.63/scripts/addons/B3DExport.py", line 1509, in execute
    write_b3d_file(self.filepath, obj_list)
  File "/Applications/blender-2.63a-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/2.63/scripts/addons/B3DExport.py", line 156, in write_b3d_file
    temp_buf += write_texs(objects) #TEXS
  File "/Applications/blender-2.63a-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/2.63/scripts/addons/B3DExport.py", line 303, in write_texs
    img = data.uv_textures[iuvlayer].data[face.index].image
IndexError: bpy_prop_collection[index]: index 358 out of range, size 358

location:/Applications/blender-2.63a-release-OSX_10.6_x86_64/blender.app/Contents/MacOS/2.63/scripts/modules/bpy/ops.py:180



location:<unknown location>:-1

location:<unknown location>:-1

I removed the texture UV map and the same happend.
Any solutions?

Re: Blender Kart exporter error

PostPosted: 11 Aug 2012, 01:15
by Auria
Hi,

this happens because blender 2.63 broke a lot of stuff and we're just now catching up. However the good news is that this problem was already fixed a few days ago, so if you update to the very latest scripts now, this problem should disappear :)

Re: Blender Kart exporter error

PostPosted: 11 Aug 2012, 14:57
by Tattorack
Aw, glad to hear that.
Gosh, when I read the first line I though "Oh no, this'll take MONTHS"... only to find there is a solution discovered a few days ago XD XD XD
Well, I'll update and hope it works ^^

EDIT: works so far :D