Crystal Space
Welcome, Guest. Please login or register.
July 29, 2014, 02:31:19 pm

Login with username, password and session length
Search:     Advanced search
9005 Posts in 2043 Topics by 8254 Members
Latest Member: Natashascott
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  Game Content Creation
| | |-+  Blender2crystal errors
« previous next »
Pages: [1] Print
Author Topic: Blender2crystal errors  (Read 2667 times)
whitelynx
Newbie
*
Posts: 5


FunkieDaMouse@hotmail.com FunkieMous
View Profile WWW
« on: August 25, 2006, 07:48:56 am »

Get ready, there's a bunch of them...

This is using version 0.6.0pre6, the latest off the blender2crystal site.

First one: This error happened when I tried to open the Tools section in the blender2crystal window. Then it kept happening when I tried reopening the exporter, until I quit blender.
Code:
Traceback (most recent call last):
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/__init__.py", line 14, in draw
    gui.draw()
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/gui.py", line 437, in draw
    DrawSubMenu(5,window_size[1]-90,ui_keys,80,"tool")
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/gui.py", line 87, in DrawSubMenu
    b2cs.sub_ui_draw(basex+100,basey+5+((j+1)*20),ui_keys,eventbase+nmodules+1,"tool",ui_keys["ui_"+type])
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/__init__.py", line 215, in sub_ui_draw
    submodule.__dict__["ui_draw"](basex,basey,ui_keys,eventbase,type)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/tool/ui_tool_view.py", line 258, in ui_draw
    b2cs.selection.AddArea(wID,selbox,eventbase)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/selection.py", line 5, in AddArea
    areas[wID][event]=box
KeyError: 6

Second: With the level I'm currently working on (http://www.g33xnexus.com/untitled1.blend) after simply opening it and pressing "Run" in the blender2crystal window:
Code:
$ blender untitled1.blend
guessing 'blender' == '/usr/bin/blender'
Compiled with Python version 2.4.
Checking for installed Python... got it!
Initializing blender2crystal core
Loading submodules in
Loading submodules in ui
Loading submodules in tool
Loading submodules in export
Loading submodules in import
Done: Blender2Crystal succesfully loaded
Nothing done yet
/home/whitelynx/.blender/scripts/bpymodules/b2cs/widgets.py:44: DeprecationWarning: integer argument expected, got float
  BGL.glRecti (rect[0]*s, rect[1]*s, rect[2]*s, rect[3]*s)
Starting Export to /home/whitelynx/levels/cs/world.zip
Exporting: Mesh:Cube.001 (1/7 in Hallways)
Exporting: Mesh:Hallway1_upper.002 (2/7 in Hallways)
Exporting: Mesh:Hallway1_upper.001 (3/7 in Hallways)
Exporting: Mesh:Hallway1_upper (4/7 in Hallways)
Exporting: Camera:Camera.001 (5/7 in Hallways)
Mathutils.VecMultMat(): Deprecated: use vec * matrix to perform row vector multiplication
Mathutils.VecMultMat(): Deprecated: use vec * matrix to perform row vector multiplication
Exporting: Lamp:Lamp (6/7 in Hallways)
Exporting: Mesh:Cube (7/7 in Hallways)
Exporting: Empty:Mesh (1/8 in Sky)
Traceback (most recent call last):
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/__init__.py", line 10, in button_event
    event.button_event(evt)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/event.py", line 53, in button_event
    gui.button_event(evt)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/gui.py", line 283, in button_event
    b2cs.export.doExportWorld(1)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/export/__init__.py", line 333, in doExportWorld
    res = write(filename,wf,0)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/export/__init__.py", line 204, in write
    if not do_get_data(imagespath):
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/export/__init__.py", line 111, in do_get_data
    b2cs.export_object(object,ui_keys)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/__init__.py", line 311, in export_object
    sub_export(object,object_prop,global_keys)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/__init__.py", line 191, in sub_export
    sub_run_function("export",object,object_prop,global_keys)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/__init__.py", line 161, in sub_run_function
    submodule.__getattribute__(function)(object,object_prop,global_keys)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/export/portal.py", line 65, in export
    if len(mesh.verts):
AttributeError: 'NoneType' object has no attribute 'verts'
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'pack'" in <bound method ZipFile.__del__ of <zipfile.ZipFile instance at 0xb60fbb2c>> ignored

Third: In the same level, after selecting the "Hallway1_upper" object and selecting "Viewer" in the Tools section of the blender2crystal window:
Code:
[Traceback (most recent call last):
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/__init__.py", line 14, in draw
    gui.draw()
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/gui.py", line 437, in draw
    DrawSubMenu(5,window_size[1]-90,ui_keys,80,"tool")
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/gui.py", line 87, in DrawSubMenu
    b2cs.sub_ui_draw(basex+100,basey+5+((j+1)*20),ui_keys,eventbase+nmodules+1,"tool",ui_keys["ui_"+type])
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/__init__.py", line 215, in sub_ui_draw
    submodule.__dict__["ui_draw"](basex,basey,ui_keys,eventbase,type)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/tool/ui_tool_view.py", line 258, in ui_draw
    b2cs.selection.AddArea(wID,selbox,eventbase)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/selection.py", line 5, in AddArea
    areas[wID][event]=box
KeyError: 6/code]

I'm going to install the latest CVS so I can verify if any of these errors still happen with it.

Thanks!
« Last Edit: August 25, 2006, 07:51:39 am by whitelynx » Logged

The Seventh Game: Precursors
http://gne.g33xnexus.com/precursors

"Without music, life is a mistake, a trial, an exile."
 - Nietzsche
whitelynx
Newbie
*
Posts: 5


FunkieDaMouse@hotmail.com FunkieMous
View Profile WWW
« Reply #1 on: August 25, 2006, 08:11:25 am »

Well, after installing the latest CVS version (and figuring out that I previously had 2 versions installed) and doing some more work on my level, I've narrowed it down to one error, which is the error when loading the blender file and pressing "Run":

Code:
$ blender untitled1.blend
guessing 'blender' == '/usr/bin/blender'
Compiled with Python version 2.4.
Checking for installed Python... got it!
FtWarning: Creation of InputSource without a URI
Initializing blender2crystal core
Loading submodules in
Loading submodules in ui
Loading submodules in tool
Loading submodules in export
Loading submodules in import
Done: Blender2Crystal succesfully loaded
Nothing done yet
Starting Export to /home/whitelynx/levels/cs/world.zip
Exporting: Mesh:SectorSettings.002 (1/9 in Hallways)
Exporting: Mesh:SectorSettings.001 (2/9 in Hallways)
Exporting: Mesh:Cube.001 (3/9 in Hallways)
Exporting: Mesh:Hallway1_upper.002 (4/9 in Hallways)
Exporting: Mesh:Hallway1_upper.001 (5/9 in Hallways)
Exporting: Mesh:Hallway1_upper (6/9 in Hallways)
Exporting: Camera:Camera.001 (7/9 in Hallways)
Exporting: Lamp:Lamp (8/9 in Hallways)
Exporting: Mesh:Cube (9/9 in Hallways)
Exporting: Mesh:Cube.002 (1/1 in Sky)
Exporting: Empty:Mesh.001 (1/5 in Water)
Traceback (most recent call last):
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/__init__.py", line 10, in button_event
    event.button_event(evt)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/event.py", line 49, in button_event
    gui.button_event(evt)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/gui/gui.py", line 279, in button_event
    b2cs.export.doExportWorld(1)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/export/__init__.py", line 516, in doExportWorld
    res = write(filename,wf,0)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/export/__init__.py", line 249, in write
    if not do_get_data(imagespath):
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/export/__init__.py", line 148, in do_get_data
    b2cs.export_object(object,ui_keys)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/__init__.py", line 357, in export_object
    sub_export(object,object_prop,global_keys)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/__init__.py", line 188, in sub_export
    sub_run_function("export",object,object_prop,global_keys)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/__init__.py", line 158, in sub_run_function
    submodule.__getattribute__(function)(object,object_prop,global_keys)
  File "/home/whitelynx/.blender/scripts/bpymodules/b2cs/export/portal.py", line 43, in export
    if len(mesh.verts):
AttributeError: 'NoneType' object has no attribute 'verts'
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'pack'" in <bound method ZipFile.__del__ of <zipfile.ZipFile instance at 0xb60521ec>> ignored

My latest file can be found at http://www.g33xnexus.com/untitled2.blend.
Logged

The Seventh Game: Precursors
http://gne.g33xnexus.com/precursors

"Without music, life is a mistake, a trial, an exile."
 - Nietzsche
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 5.209 seconds with 15 queries.