[ python-Bugs-474836 ] Tix not included in windows distribution
SourceForge.net
noreply at sourceforge.net
Wed Mar 31 15:03:49 EST 2004
Bugs item #474836, was opened at 2001-10-25 13:22
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=474836&group_id=5470
Category: Tkinter
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Thomas Heller (theller)
Summary: Tix not included in windows distribution
Initial Comment:
Although there is a Tix.py available, there is no Tix
support in the precomiled
Python-distribution for windows. So
import Tix
works fine, but
root = Tix.Tk()
results in
TclError: package not found.
It is possible to circumvent this problem by installing
a regular Tcl/Tk distribution (e.g. in
c:\programme\tcl) and installing Tix in the regular
Tcl-path (i.e. tcl\lib).
Mathias
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2004-03-31 22:03
Message:
Logged In: YES
user_id=21627
The instructions from 2003-04-26/2003-06-15 should still be
valid.
For 2.4, the story will be different, as Tix does not
currently build with VC7.
----------------------------------------------------------------------
Comment By: Thomas Heller (theller)
Date: 2004-03-31 21:43
Message:
Logged In: YES
user_id=11105
I'm willing to do some work to include tix in Python 2.3.4,
if someone can update the instructions.
----------------------------------------------------------------------
Comment By: Jim Jewett (jimjjewett)
Date: 2004-02-24 18:16
Message:
Logged In: YES
user_id=764593
Note that the problem is still there in 2.3.3; if it can't be fixed,
could the documentation at least mention that Tix requires
3rd-party libraries on Windows?
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-10-03 15:15
Message:
Logged In: YES
user_id=21627
Reassigning to Thomas, who is doing Windows releases these days.
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2003-10-03 15:13
Message:
Logged In: YES
user_id=31435
Unassigned (doesn't look like I'll ever get time for this).
----------------------------------------------------------------------
Comment By: Aaron Optimizer Digulla (digulla)
Date: 2003-10-03 13:10
Message:
Logged In: YES
user_id=606
loewis, when will your package show up in the official Python
distribution? It's still not there in 2.3.2 :-(
----------------------------------------------------------------------
Comment By: Aaron Optimizer Digulla (digulla)
Date: 2003-07-28 15:22
Message:
Logged In: YES
user_id=606
The Tix8184.dll is still missing in Python 2.3c2. The included
Tix8183.dll (which is in the directory tcl\tix8.1\ along with a
couple of other dlls -> can't be found by Python) is linked
against Tcl/Tk 8.3.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-06-15 14:40
Message:
Logged In: YES
user_id=21627
I found that the instructions need slight modification: In step
2, use tk...\mkd.bat for mkdir. Apart from that, these
instructions work fine for me, now. I have made a binary
release of tix8.1 for Python 2.3 at
http://www.dcl.hpi.uni-potsdam.de/home/loewis/tix8.1.zip
The tix8184.dll goes to DLLs, the tix8.1 subdirectory goes to
tcl. It differs from the standard tix8.1 subdirectory only in
fixing the path to the DLLs directory.
To test whether this works, execute Demo/tix/tixwidgets.py.
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2003-04-26 12:22
Message:
Logged In: YES
user_id=21627
I still think Python should include Tix. Here are some
instructions on how to make Tix 8.1.4 work:
1. Unpack as a sibling of tcl8.4.1 and tk8.4.1
2. Edit win\common.mk, to set the following variables
TCL_VER=8.4
INSTALLDIR=<directory to pick up installation from later>
MKDIR=mkdir
3. Edit win\makefile.vc, to set the following variables
TOOLS32=<directory of cl>
TOOLS32_rc=<directory of rc.exe>
4. Edit win\tk\pkgindex.tcl, to replace
lappend dirs ../../Dlls
with
lappend dirs [file join [file dirname [info nameofexe]] Dlls]
5. nmake -f makefile.vc
6. nmake -f makefile.vc install
7. Copy INSTALLDIR\bin\tix8184.dll to <python>\DLLs
8. Optionally copy tix8184.lib somewhere
9. copy INSTALLDIR\lib\tix8.1 into <python>\tcl
With these instructions, invoking t.tk.eval("package require
Tix") succeeds. For some reason, Tix won't still find any of
the commands; I'll investigate this later.
----------------------------------------------------------------------
Comment By: Internet Discovery (idiscovery)
Date: 2002-12-11 10:14
Message:
Logged In: YES
user_id=33229
My you're courageous - going with a version of Tcl that doesn't
even pass its own tests :-) Been there, seen it, done it ....
8.1.4 will be out this week, which compiles with 8.4 but I don't
expect it to "support" 8.4 for a while yet (they added more problems
in 8.4.1). 8.3.5 is definitely "supported".
Check back with me before 2.3 goes into beta and I'll do
another minor release if necessary. Maybe Tk will test clean then.
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2002-11-20 02:36
Message:
Logged In: YES
user_id=31435
Parents shouldn't disagree in front of their children <wink>.
Not all the Tcl or Tk tests (their tests, not ours) passed
when I built 8.4.1, but I couldn't (and can't) make time to
dig into that, and all the Python stuff I tried worked fine. So
I don't fear 8.4, and am inclined to accept Martin's
assurance that 8.4 is best for Python.
We intend to put out the first 2.3 Python alpha by the end
of the year, and my bet is it won't be a minute before that.
If Tix 8.1.4 is at RC3 now, I'd *guess* you'll have a final
release out well before then. Yes? No?
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2002-11-19 23:12
Message:
Logged In: YES
user_id=21627
I think the recommendation cannot apply to Python; I'm very
much in favour of releasing Python 2.3 with Tk 8.4.x.
So the question then is whether Python 2.3 should include
Tix 8.1.4 or no Tix at all, and at what time Tix 8.1.4 can
be expected.
----------------------------------------------------------------------
Comment By: Internet Discovery (idiscovery)
Date: 2002-11-19 20:10
Message:
Logged In: YES
user_id=33229
Look on http://tix.sourceforge.net/download.shtml for
Tix 8.1.4 RC3. It works with Tk 8.4.1 and passes the test suite,
but there are still issues with Tk 8.4 and it has not been
widely tested with yet with 8.4.1, so we still recommend 8.3.5.
(Tcl major releases often aren't stable until patch .3 or so.)
If you have any problems let me know directly by email
and I'll try and help.
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2002-11-18 17:35
Message:
Logged In: YES
user_id=31435
Does Tix 8.1.3 play with Tcl/Tk 8.4.1? The 2.3. Windows
distro is set up to include the latter now. The
win\common.mak file from Tix 8.1.3 doesn't have a section
for Tcl/Tk 8.4, though.
There appear to be several reasons Tix won't compile on
my box anyway without fiddling the Tix makefiles (e.g., my
VC doesn't live in \DevStudio), so before spending more
time on that I'd like to know whether it's doomed.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2002-11-07 15:52
Message:
Logged In: YES
user_id=6380
I support this. Tim, I know you're not a big Tk user (to say
the least). I'll offer to help in person.
----------------------------------------------------------------------
Comment By: Internet Discovery (idiscovery)
Date: 2002-11-03 08:30
Message:
Logged In: YES
user_id=33229
I would really like to see Tix in 2.3 and will be glad to help.
AFAIK there are no major issues with tix-8.1.3 and Python 2.x
and it should be a simple drop in of a cannonically compiled Tix.
If there are any issues that need dealing with at Tix's end, I'll be
glad to put out a new minor release of Tix to address them.
On Python's end I've suggested a fix for http://python.org/sf/564729
FYI, please also see my comments for bug 632323.
----------------------------------------------------------------------
Comment By: Internet Discovery (idiscovery)
Date: 2002-11-03 06:34
Message:
Logged In: YES
user_id=33229
I would really like to see Tix in 2.3 and will be glad to help.
AFAIK there are no major issues with tix-8.1.3 and Python 2.x
and it should be a simple drop in of a cannonically compiled Tix.
If there are any issues that need dealing with at Tix's end, I'll be
glad to put out a new minor release of Tix to address them.
On Python's end I've suggested a fix for http://python.org/sf/564729
FYI, please also see my comments for bug 632323.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2002-03-23 04:34
Message:
Logged In: YES
user_id=6380
Yes, for 2.3.
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2002-03-10 02:48
Message:
Logged In: YES
user_id=31435
Guido, do you want me to spend time on this?
----------------------------------------------------------------------
Comment By: Mathias Palm (monos)
Date: 2002-03-07 14:38
Message:
Logged In: YES
user_id=361926
Thanks.
Mathias
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2002-02-25 13:57
Message:
Logged In: YES
user_id=21627
The zip file is slightly too large for SF, so it is now at
http://www.informatik.hu-
berlin.de/~loewis/python/tix813win.zip
----------------------------------------------------------------------
Comment By: Martin v. Löwis (loewis)
Date: 2002-02-25 13:56
Message:
Logged In: YES
user_id=21627
Building Tix from sources is non-trivial, and I could not
find any recent Windows binary distribution (based on Tix
8.1). So I'll attach a build of Tix 8.1.3 for Tcl/Tk 8.3,
as a drop-in into the Python binary distribution.
Compared to the original distribution, only tix8.1
\pkgIndex.tcl required tweaking, to tell it that
tix8183.dll can be found in the DLLs subdirectory.
Also, unless TIX_LIBRARY is set, the Tix tcl files *must*
live in tcl\tix8.1, since tix8183.dll will look in
TCL_LIBRARY\..\tix<TIX_VERSION> (among other locations).
If a major Tcl release happens before Python 2.3 is
released (and it is then still desirable to distribute
Python with Tix), these binaries need to be regenerated.
Would these instructions (unpack zip file into
distribution tree) be precise enough to allow
incorporation into the windows installer?
----------------------------------------------------------------------
Comment By: Mathias Palm (monos)
Date: 2001-10-29 12:53
Message:
Logged In: YES
user_id=361926
As mentioned in the mail above (by me, Mathias), Tix is a
package belonging to Tcl/Tk (to be found on sourceforge:
tix.sourceforge.net, or via the Python home page - tkinter
link).
Everything needed can be found there, just read about it
(and dont forget about the winking, eyes might be getting
dry)
Mathias
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2001-10-25 20:26
Message:
Logged In: YES
user_id=31435
I don't know anything about Tix, so if somebody wants this
in the Windows installer, they're going to have to explain
exactly (by which I mean exactly <0.5 wink>) what's needed.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=474836&group_id=5470
More information about the Python-bugs-list
mailing list