I have:
self.accept(“t”, render.place)
In my code and it has been working fine, then added a bunch of code not requiring using direct tools, currently when I hit “t” I get the following error
U:\scalende\Desktop\Source Control Server Upload\BVW-PGH-2006\assignment2\Group0
1\world>ppython JODTeam1.py
DirectStart: Starting the game.
Warning: DirectNotify: category ‘Interval’ already exists
Known pipe types:
wglGraphicsPipe
(3 aux display modules not yet loaded.)
:util(warning): Adjusting global clock’s real time by 0.462572 seconds.
:util(warning): Adjusting global clock’s real time by -9.25147 seconds.
:09-27-2006 18:44:55 Messenger(warning): object: JamODrum already accepting: esc
ape
Traceback (most recent call last):
File “JODTeam1.py”, line 601, in ?
run()
File “C:\Panda3D-1.2.993\direct\src\showbase\ShowBase.py”, line 2014, in run
self.taskMgr.run()
File “C:\Panda3D-1.2.993\direct\src\task\Task.py”, line 838, in run
self.step()
File “C:\Panda3D-1.2.993\direct\src\task\Task.py”, line 786, in step
self.__stepThroughList(taskPriList)
File “C:\Panda3D-1.2.993\direct\src\task\Task.py”, line 720, in __stepThroughL
ist
ret = self.__executeTask(task)
File “C:\Panda3D-1.2.993\direct\src\task\Task.py”, line 643, in __executeTask
ret = task(task)
File “C:\Panda3D-1.2.993\direct\src\showbase\EventManager.py”, line 38, in eve
ntLoopTask
self.doEvents()
File “C:\Panda3D-1.2.993\direct\src\showbase\EventManager.py”, line 32, in doE
vents
self.processEvent(self.eventQueue.dequeueEvent())
File “C:\Panda3D-1.2.993\direct\src\showbase\EventManager.py”, line 86, in pro
cessEvent
messenger.send(eventName, paramList)
File “C:\Panda3D-1.2.993\direct\src\showbase\Messenger.py”, line 223, in send
apply(method, (extraArgs + sentArgs))
TypeError: spawnMoveToView() takes exactly 2 arguments (3 given)
Fatal Python error: PyEval_RestoreThread: NULL tstate
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application’s support team for more information.
spawnMoveToView() is an undocumented panda function
Thanks for any help