Hi Buddies
I’m on Ubuntu 10.10 and download the new panda 1.72 (great work!) an his samples programs. No on of Particles sample work
from Tut-Steam-Example i got this error code
Assertion failed: okflag at line 784 of panda/src/express/virtualFileSystem.cxx
Traceback (most recent call last):
File "Particles/Tut-Steam-Example.py", line 86, in <module>
w = World()
File "Particles/Tut-Steam-Example.py", line 64, in __init__
self.loadParticleConfig('steam.ptf')
File "Particles/Tut-Steam-Example.py", line 70, in loadParticleConfig
self.p.loadConfig(Filename(file))
File "/usr/share/panda3d/direct/particles/ParticleEffect.py", line 201, in loadConfig
data = vfs.readFile(filename, 1)
AssertionError: okflag at line 784 of panda/src/express/virtualFileSystem.cxx
and for Tut-Particle-Panel i got this
<type 'exceptions.IndexError'> Exception in Tk callback
Function: <function <lambda> at 0x3317398> (type: <type 'function'>)
Args: (<Tkinter.Event instance at 0x7fda8cc8afc8>,)
Event type: MotionNotify (type num: 6)
Traceback (innermost last):
File "/usr/lib/python2.6/dist-packages/Pmw/Pmw_1_3/lib/PmwBase.py", line 1747, in __call__
return apply(self.func, args)
File "/usr/lib/python2.6/dist-packages/Pmw/Pmw_1_3/lib/PmwMenuBar.py", line 144, in <lambda>
self._menuHelp(menuName))
File "/usr/lib/python2.6/dist-packages/Pmw/Pmw_1_3/lib/PmwMenuBar.py", line 237, in _menuHelp
help = self._menuInfo[menuName][1][index]
<type 'exceptions.IndexError'>: list index out of range
================================================
Event contents:
char: ??
delta: 0
height: ??
keycode: ??
keysym: ??
keysym_num: ??
num: ??
send_event: False
serial: 5658
state: 272
time: 811943
type: 6
widget: .53157184.53157760.53538544.53568360.53569728.53570232
width: ??
x: 36
x_root: 1033
y: 25
y_root: 80
<type 'exceptions.TypeError'> Exception in Tk callback
Function: <bound method ParticlePanel.saveParticleEffectToFile of <direct.tkpanels.ParticlePanel.ParticlePanel instance at 0x32b1b00>> (type: <type 'instancemethod'>)
Args: ()
Traceback (innermost last):
File "/usr/lib/python2.6/dist-packages/Pmw/Pmw_1_3/lib/PmwBase.py", line 1747, in __call__
return apply(self.func, args)
File "/usr/share/panda3d/direct/tkpanels/ParticlePanel.py", line 1287, in saveParticleEffectToFile
self.particleEffect.saveConfig(Filename(particleFilename))
<type 'exceptions.TypeError'>: Arguments must match one of:
Filename()
Filename(const Filename copy)
Filename(string filename)
Filename(string filename)
Filename(const Filename dirname, const Filename basename)
Tut-Steam-example don’t run.
Tut-Particle-Panel run … but not save files.
Some ideas to deal with this?
thanx