Problems with sceneEditor

error saving with an egg file loaded:

Error: 3
NameError Exception in Tk callback
  Function: <bound method myLevelEditor.saveAsScene of <__main__.myLevelEditor instance at 0x0359E778>> (type: <type 'instance method'>)
  Args: ()
Traceback (innermost last):
  File "C:\Panda3D-1.0.3\Pmw\Pmw_1_2\lib\", line 1747, in __call__
    return apply(self.func, args)
  File "", line 951, in saveAsScene
  File "", line 161, in SaveFile
NameError: global name 'EggData' is not defined

error when ParticleFX button is clicked:

Error: 6
TypeError Exception in Tk callback
  Function: <function <lambda> at 0x03696E28> (type: <type 'function'>)
  Args: ()
Traceback (innermost last):
  File "C:\Panda3D-1.0.3\Pmw\Pmw_1_2\lib\", line 1747, in __call__
    return apply(self.func, args)
  File "", line 332, in <lambda>
    button = Button(buttonFrame, image = element, command=lambda n=i : self.buttonPushed(n))
  File "", line 373, in buttonPushed
  File "", line 1185, in openParticlePanel
  File "", line 51, in __init__
  File "NodePath", line 10365, in reparentTo
  File "NodePath", line 1075, in __overloaded_reparentTo_ptrNodePath_ptrConstNodePath
TypeError: Invalid argument 0, expected <NodePath>

Sorry about these… nobody around here used the Scene Editor this semester, so it needs a little maintenance.

The first one is a known bug… the SceneEditor is using the “EggData” module, but I didn’t include that in the distribution. Duh. I’m fixing it in 1.0.4. Elsewhere in the forums, David explains the workaround (which involves genpycode). I can’t remember it off the top of my head.

The second one is a bigger problem, it needs some actual repair. Until then, you can use the particle sample program to bring up the particle panel, and design your particle systems.

when is 1.0.4 expected? until then, is there any way i can just download the EggData module? can i grab it if i download the full source for panda?


The info on how to get the egg data is in the post by drwr at:

(I believe the 4th post down :slight_smile:

Good Luck!