Tix not included in 2.5 for Windows
Does anyone know why this happens? I can't find any information pointing to this being deliberate. I just upgraded to 2.5 on Windows (after making sure I can build extensions with the freeware VC++ Toolkit 2003) and some of my programs stopped operating. I saw in a French forum that someone else had the same problem, and what they did was to copy the relevant files from a 2.4.3 installation. I did the same, and it seems it works, with only a console message appearing as soon as a root window is created: attempt to provide package Tix 8.1 failed: package Tix 8.1.8.4 provided instead Cheers.
Christos Georgiou schrieb:
Does anyone know why this happens? I can't find any information pointing to this being deliberate.
It may well be that Tix wasn't included on Windows. I don't test Tix regularly, and nobody reported missing it during the beta test. Please submit a bug report to sf.net/projects/python. Notice that Python 2.5 ships with a different Tcl version than 2.4; using the 2.4 Tix binaries in 2.5 may cause crashes. Regards, Martin
Christos Georgiou wrote:
Does anyone know why this happens? I can't find any information pointing to this being deliberate.
I just upgraded to 2.5 on Windows (after making sure I can build extensions with the freeware VC++ Toolkit 2003) and some of my programs stopped operating. I saw in a French forum that someone else had the same problem, and what they did was to copy the relevant files from a 2.4.3 installation. I did the same, and it seems it works, with only a console message appearing as soon as a root window is created:
Also note: the Os/X universal seems to include a Tix runtime for the non-Intel processor, but not for the Intel processor. This makes me think there is a build problem. -- Scott David Daniels Scott.Daniels@Acm.Org
On 9/30/06, Scott David Daniels <Scott.Daniels@acm.org> wrote:
Christos Georgiou wrote:
Does anyone know why this happens? I can't find any information pointing to this being deliberate.
I just upgraded to 2.5 on Windows (after making sure I can build extensions with the freeware VC++ Toolkit 2003) and some of my programs stopped operating. I saw in a French forum that someone else had the same problem, and what they did was to copy the relevant files from a 2.4.3 installation. I did the same, and it seems it works, with only a console message appearing as soon as a root window is created:
Also note: the Os/X universal seems to include a Tix runtime for the non-Intel processor, but not for the Intel processor. This makes me think there is a build problem.
Are you sure about that? What file are you referring to specifically? -bob
Bob Ippolito wrote:
On 9/30/06, Scott David Daniels <Scott.Daniels@acm.org> wrote:
Christos Georgiou wrote:
Does anyone know why this happens? I can't find any information pointing to this being deliberate. Also note: the Os/X universal seems to include a Tix runtime for the non-Intel processor, but not for the Intel processor. This makes me think there is a build problem.
Are you sure about that? What file are you referring to specifically?
OK, from the 2.5 universal: (hand-typed, I e-mail from another machine) =========== Using Idle ===========
import Tix Tix.Tk()
Traceback (most recent call last): File "(pyshell#8)", line 1, in (module) Tix.Tk() File "/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/lib-tk/Tix.py", line 210 in __init__ self.tk.eval('package require Tix') TclError: no suitable image found. Did find: /Library/Tcl/Tix8.4/libTix8.4.dylib: mach-o, but wrong architecture. =========== From the command line ===========
import Tix Tix.Tk()
Traceback (most recent call last): File "<stdin>", line 1, in (module) File "/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/lib-tk/Tix.py", line 210 in __init__ self.tk.eval('package require Tix') _tkinter.TclError: no suitable image found. Did find: /Library/Tcl/Tix8.4/libTix8.4.dylib: mach-o, but wrong architecture. -- Scott David Daniels Scott.Daniels@Acm.Org
On 9/30/06, Scott David Daniels <Scott.Daniels@acm.org> wrote:
Bob Ippolito wrote:
On 9/30/06, Scott David Daniels <Scott.Daniels@acm.org> wrote:
Christos Georgiou wrote:
Does anyone know why this happens? I can't find any information pointing to this being deliberate. Also note: the Os/X universal seems to include a Tix runtime for the non-Intel processor, but not for the Intel processor. This makes me think there is a build problem.
Are you sure about that? What file are you referring to specifically?
OK, from the 2.5 universal: (hand-typed, I e-mail from another machine)
=========== Using Idle ===========
import Tix Tix.Tk()
Traceback (most recent call last): File "(pyshell#8)", line 1, in (module) Tix.Tk() File "/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/lib-tk/Tix.py", line 210 in __init__ self.tk.eval('package require Tix') TclError: no suitable image found. Did find: /Library/Tcl/Tix8.4/libTix8.4.dylib: mach-o, but wrong architecture.
=========== From the command line ===========
import Tix Tix.Tk()
Traceback (most recent call last): File "<stdin>", line 1, in (module) File "/Library/Frameworks/Python.framework/Versions/2.5/ lib/python2.5/lib-tk/Tix.py", line 210 in __init__ self.tk.eval('package require Tix') _tkinter.TclError: no suitable image found. Did find: /Library/Tcl/Tix8.4/libTix8.4.dylib: mach-o, but wrong architecture.
Those files are not distributed with Python. -bob
On Sep 30, 2006, at 11:13 PM, Scott David Daniels wrote:
Christos Georgiou wrote:
Does anyone know why this happens? I can't find any information pointing to this being deliberate.
I just upgraded to 2.5 on Windows (after making sure I can build extensions with the freeware VC++ Toolkit 2003) and some of my programs stopped operating. I saw in a French forum that someone else had the same problem, and what they did was to copy the relevant files from a 2.4.3 installation. I did the same, and it seems it works, with only a console message appearing as soon as a root window is created:
Also note: the Os/X universal seems to include a Tix runtime for the non-Intel processor, but not for the Intel processor. This makes me think there is a build problem.
The OSX universal binaries don't include Tcl/Tk at all but link to the system version of the Tcl/Tk frameworks. Ronald
participants (5)
-
"Martin v. Löwis"
-
Bob Ippolito
-
Christos Georgiou
-
Ronald Oussoren
-
Scott David Daniels