[Tkinter-discuss] Tix failures:: _tkinter.TclError: invalid command name "tixNoteBook"

Steven Reddie smr at essemer.com.au
Tue Apr 19 02:24:40 CEST 2005


Hi,

I'm having trouble getting Tix to work (appologies if the Tkinter list isn't
the correct place for Tix issues).  I'm guessing that it's a configuration
problem, however I get the exact same failures with Cygwin's Python and the
python.org Windows Python, on multiple machines.

Here is a session using the python.org Windows Python 2.4:

	Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)]
on win32
	Type "help", "copyright", "credits" or "license" for more
information.
	>>> import Tkinter
	>>> import Tix
	>>> Tix.Grid()
	<Tix.Grid instance at 0x009D5DF0>
	>>> Tix.NoteBook()
	Traceback (most recent call last):
	  File "<stdin>", line 1, in ?
	  File "C:\Program Files\Python24\lib\lib-tk\Tix.py", line 1138, in
__init__
	    TixWidget.__init__(self,master,'tixNoteBook', ['options'], cnf,
kw)
	  File "C:\Program Files\Python24\lib\lib-tk\Tix.py", line 307, in
__init__
	    self.tk.call(widgetName, self._w, *extra)
	_tkinter.TclError: invalid command name "tixNoteBook"

The path includes "C:\Program Files\Python24" and "C:\Program
Files\Python24\DLLs" so I'm assuming the issue isn't that tix8184.dll
couldn't be found, and since Tkinter is working elsewhere I'm assuming that
the issue isn't that tcl isn't configured properly, but maybe it hasn't been
configured for tix?

When using Cygwin's Python the results are identical (except for the
instance address and path to Tix.py); this is for Python 2.4 on the same
machine and 2.3 on another machine.

I've found various posts (about: _tkinter.TclError: invalid command name
"???????") but none have helped.  Any help would be much appreciated.

Regards,

Steven



More information about the Tkinter-discuss mailing list