1.9.1 : package execution error with tk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
panda3D 1.9.1
windows 10 family version 1511
XP64
When I compile a panda3D python script with C:\Panda3D-
When i execute the result xxx.p3d file with C:\Program Files (x86)\Panda3D\
see post : http://
-------
To reproduce the issue :
-------
1/ install panda3d 1.9.1 and the runtime
2/ unzip the attached file
3/ open a command windows
4/ drag and drop package.bat in the command windows
5/ execute => ralph demo is launched.
6/ use the forward ARROW key to get the error message in the command window.
ERROR MESSAGE : "Can't find a usable init.tcl "
"C:\Program Files (x86)\Panda3D\
:AppRunner: Total Panda3D disk space used: 352 MB
:AppRunner: Configured max usage is: 2048 MB
:display: loading display module: libpandagl.dll
:display: loading display module: libpandadx9.dll
:display: loading display module: libp3tinydispla
Known pipe types:
wglGraphicsPipe
wdxGraphicsPipe9
TinyWinGraphi
TinyOffscreen
(all display modules loaded.)
:display:
:display:
:display:
:ShowBase: Default graphics pipe is wglGraphicsPipe (OpenGL).
:display: Created output of type wglGraphicsWindow
:display: Unable to set window properties: !undecorated !fixed_size
:ShowBase: Successfully opened window of type wglGraphicsWindow (OpenGL)
:pnmtext: Loaded font Perspective Sans Regular
:ShowBase: __dev__ == False
:audio: NullAudioManager
:audio: NullAudioManager
:loader: Reading /c/Users/
:gobj: Loading texture /c/Users/
:gobj: Loading texture /c/Users/
:gobj: Loading texture /c/Users/
:gobj: Loading texture /c/Users/
:loader: Reading /c/Users/
:gobj: Loading texture /c/Users/
Traceback (most recent call last):
File "C:\Users\
app = simpleapp_tk(None)
File "C:\Users\
Tkinter.
File "C:\thirdparty\
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
C:/
This probably means that Tcl wasn't installed properly.
:task(error): Exception occurred in PythonTask moveTask
Traceback (most recent call last):
File "C:\buildslave\
File "C:\buildslave\
File "C:\buildslave\
File "C:\Users\
app = simpleapp_tk(None)
File "C:\Users\
Tkinter.
File "C:\thirdparty\
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
C:/
This probably means that Tcl wasn't installed properly.
:display: Closing wglGraphicsWindow
Failure on startup.
-------
Without packaging : no issue
-------
1/ double click on main.py => ralph demo is launched.
2/ use the forward ARROW key to get theTK window => it works
On linux the same problem than on windows is remaining :
Regarding this issue : _tkinter.TclError: Can't find a usable init.tcl in the following directories: hosts/runtime. panda3d. org_0f5faf88846 080ae/tk/ cmu_1.9/ lib/tcl8. 5
~/.panda3d/
There is an error in the directory the runtime for the p3d is installed here :
~/.panda3d/ hosts/runtime. panda3d. org_0f5faf88846 080ae/tk/ cmu_1.9/ linux_amd64/ lib/tcl8. 5
the path linux_amd64 is missing on linux