Guest_imported
New member
- Jan 1, 1970
- 0
My platform is:
SunOS saba 5.6 Generic_105181-28 sun4u sparc SUNW,Ultra-Enterprise
I have successfully compiled and installed tcl8.3.4, tk8.3.4
and apparently tix-8.1.3. I obtained the source distribtions
from sourceforge. I used gcc to perform my compile.
Testing tclsh and wish seem to work fine. However, when I
attempt to run tixwish I get the following message:
Application initialization failed: unknown namespace in import pattern "wm_default::*"
I would like to ultimately use tix with my python apps. When
I try to execute:
python ../../../tix-8.1.3/Python/Demo/tix/tixwidgets.py
I get:
/users/Mr-S/src/Tcl/lib/tix8.1
Traceback (most recent call last):
File "../../../tix-8.1.3/Python/Demo/tix/tixwidgets.py", line 1030, in ?
root = Tix.Tk()
File "/users/Mr-S/ActiveState/python/lib/python2.1/lib-tk/Tix.py", line 67, in __init__
self.tk.eval('package require Tix')
TclError: unknown namespace in import pattern "wm_default::*"
I have my TK_LIBRARY, TCL_LIBRARY, and TIX_LIBRARY paths set correctly. My shared libraries are being accessed correctly and I went through the WmDefault.txt file in the pref/ directory and everything seems to be in order.
If anyone has any ideas as to how to solve this problem I would appreciate a response. Thx in advance.
SunOS saba 5.6 Generic_105181-28 sun4u sparc SUNW,Ultra-Enterprise
I have successfully compiled and installed tcl8.3.4, tk8.3.4
and apparently tix-8.1.3. I obtained the source distribtions
from sourceforge. I used gcc to perform my compile.
Testing tclsh and wish seem to work fine. However, when I
attempt to run tixwish I get the following message:
Application initialization failed: unknown namespace in import pattern "wm_default::*"
I would like to ultimately use tix with my python apps. When
I try to execute:
python ../../../tix-8.1.3/Python/Demo/tix/tixwidgets.py
I get:
/users/Mr-S/src/Tcl/lib/tix8.1
Traceback (most recent call last):
File "../../../tix-8.1.3/Python/Demo/tix/tixwidgets.py", line 1030, in ?
root = Tix.Tk()
File "/users/Mr-S/ActiveState/python/lib/python2.1/lib-tk/Tix.py", line 67, in __init__
self.tk.eval('package require Tix')
TclError: unknown namespace in import pattern "wm_default::*"
I have my TK_LIBRARY, TCL_LIBRARY, and TIX_LIBRARY paths set correctly. My shared libraries are being accessed correctly and I went through the WmDefault.txt file in the pref/ directory and everything seems to be in order.
If anyone has any ideas as to how to solve this problem I would appreciate a response. Thx in advance.