[issue6309] Tix needs TCL package require statement
New submission from Erik Antelman : For at least Tix.ComboBox it appears to be necessary to invoke the TCL package loading explicitly with: root.tk.eval('package require Tix') This was demonstrated on: Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit (Intel)] on win32 -- components: Tkinter files: TixIssue.py messages: 89517 nosy: eantelman severity: normal status: open title: Tix needs TCL package require statement type: behavior versions: Python 2.6 Added file: http://bugs.python.org/file14318/TixIssue.py ___ Python tracker <http://bugs.python.org/issue6309> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6309] Tix needs TCL package require statement
Erik Antelman added the comment: Documentation gives proper usage of Tix to be replacing Tkinter.Tk() with Tix.Tk(). This solves the problem. I think this was an RTFM issue. -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue6309> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6309] Tix needs TCL package require statement
Erik Antelman added the comment: BTW: It should be given to the future searchers, that the mistake results in the following error: _tkinter.TclError: invalid command name "tixComboBox" The solution is simple: Documentation gives proper usage of Tix to be replacing Tkinter.Tk() with Tix.Tk(). This solves the problem. I think this was an RTFM issue. -- ___ Python tracker <http://bugs.python.org/issue6309> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4749] Issue with RotatingFileHandler logging handler on Windows
Erik Antelman added the comment: The really annoying this about handle inheritance is that even if a subprocess is never referencing or using logging there can be an open file handle conflict due to the default inheratence. Another tack from modifying Popen, I looked at the forking.py of multiprocessing and observed the techniques for changing the inheratance attribute of files handles using the _subprocess wrapper to the NT DuplicateHandle call. Then by replacing the _open of the FileHandler to ensure handles are open non-inheritable I can ensure that log files are not inherited. This preserves the behavior of everything else. I attached the NT/Multiprocessing safe version of a RotatingFileHandler class -- nosy: +eantelman Added file: http://bugs.python.org/file14420/NTSafeLogging.py ___ Python tracker <http://bugs.python.org/issue4749> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com