[Bf-python] Current CVS : Shape widget Wizard , errors at line 623 and 423 (...)

jean-michel soler jmsoler at free.fr
Wed Feb 28 19:34:30 CET 2007


1/
Traceback (most recent call last):
  File "<string>", line 906, in draw
  File "<string>", line 647, in drawWidget
  File "<string>", line 623, in shapeMenuTex
NameError: global name 'n' is not defined

There it should be "i" instead of "n" in str() .


2/
Traceback (most recent call last):
  File "widgetwizard.py.001", line 908, in bevent
  File "widgetwizard.py.001", line 376, in build
  File "widgetwizard.py.001", line 403, in makeText
RuntimeError: expected tuple of one item
----------------------
Traceback (most recent call last):
  File 
"E:\bf-blender\install\win32-vc\.blender\scripts\widgetwizard.py", line 9
34, in bevent
    build(widmenu.val)
  File 
"E:\bf-blender\install\win32-vc\.blender\scripts\widgetwizard.py", line 3
93, in build
    text       = makeText(rangename.val)
  File 
"E:\bf-blender\install\win32-vc\.blender\scripts\widgetwizard.py", line 4
23, in makeText
    ob.setEuler(3.14159/2,0,0)

There it should be ob.setEuler((3.14159/2,0,0)). Same eror for all the 
calls of the
setEuler() function.

 jms.




More information about the Bf-python mailing list