Hi. I’m a complete noob at Panda3D and python, I’ve just been messing around with some models, and while trying to use the .place() function, I got some errors. I’ve used it before, and I remember getting this error before a long time ago, but I forgot how I fixed it.
Can any one help?
Here is the error:
DirectStart: Starting the game.
Known pipe types:
wglGraphicsPipe
(all display modules loaded.)
Traceback (most recent call last):
File "bobville1.py", line 28, in <module>
environ.place()
File "C:\Panda3D-1.7.1\pandac\libpandaModules.py", line 1210, in place
base.startDirect(fWantTk = 1)
File "C:\Panda3D-1.7.1\direct\showbase\ShowBase.py", line 2597, in startDirect
from direct.directtools import DirectSession
File "C:\Panda3D-1.7.1\direct\directtools\DirectSession.py", line 1314, in <module>
__builtins__['direct'] = base.direct = DirectSession()
File "C:\Panda3D-1.7.1\direct\directtools\DirectSession.py", line 298, in __init__
self.panel = DirectSessionPanel.DirectSessionPanel(parent = tkroot)
File "C:\Panda3D-1.7.1\direct\tkpanels\DirectSessionPanel.py", line 42, in __init__
AppShell.__init__(self, parent)
File "C:\Panda3D-1.7.1\direct\tkwidgets\AppShell.py", line 97, in __init__
self.__createInterface()
File "C:\Panda3D-1.7.1\direct\tkwidgets\AppShell.py", line 119, in __createInterface
self.createInterface()
File "C:\Panda3D-1.7.1\direct\tkpanels\DirectSessionPanel.py", line 180, in createInterface
scrolledCanvas_hull_height = 300)
File "C:\Panda3D-1.7.1\direct\tkwidgets\SceneGraphExplorer.py", line 73, in __init__
self._node.expand()
File "C:\Panda3D-1.7.1\direct\tkwidgets\Tree.py", line 168, in expand
self.update()
File "C:\Panda3D-1.7.1\direct\tkwidgets\Tree.py", line 260, in update
self.draw(7, 2, fUseCachedChildren)
File "C:\Panda3D-1.7.1\direct\tkwidgets\Tree.py", line 268, in draw
self.drawicon()
File "C:\Panda3D-1.7.1\direct\tkwidgets\Tree.py", line 353, in drawicon
image = self.geticonimage(imagename)
File "C:\Panda3D-1.7.1\direct\tkwidgets\Tree.py", line 84, in geticonimage
image = PhotoImage(master=self.canvas, file=fullname)
File "C:\Panda3D-1.7.1\python\lib\lib-tk\Tkinter.py", line 3285, in __init__
Image.__init__(self, 'photo', name, cnf, master, **kw)
File "C:\Panda3D-1.7.1\python\lib\lib-tk\Tkinter.py", line 3241, in __init__
self.tk.call(('image', 'create', imgtype, name,) + options)
_tkinter.TclError: couldn't open "C:\Panda3D-1.7.1\PyPE-2.9\icons\sphere2.gif": no such file or directory
>>>