Tkinter and blt appear to be problematic on my machine running the 10.4 (non-transitional) branch but not on my machine that has 10.4 transitional.

In short, the following script fails on the former, but runs on the latter:

http://chemistry.ucsc.edu/~wgscott/temp/helloblt.sh


The error I get when it fails is this:

% ./helloblt.sh
Traceback (most recent call last):
  File "./helloblt.sh", line 78, in ?
g = Pmw.Blt.Graph(master) # make a new graph area File "/sw/lib/python2.4/site-packages/Pmw/Pmw_1_2/lib/PmwBlt.py", line 260, in __init__
    Tkinter.Widget.__init__(self, master, _graphCommand, cnf, kw)
  File "/sw/lib/python2.4/lib-tk/Tkinter.py", line 1862, in __init__
    self.tk.call(
_tkinter.TclError: invalid command name "::blt::graph"

On the problematic machine, I have this:

% fink list python24 blt tcltk
Information about 5637 packages read in 4 seconds.
i   blt                      2.4z-14            Toolkit for tcl/tk
i   blt-dev                  2.4z-14            Toolkit for tcl/tk
     blt-man                  2.4z-14            Toolkit for tcl/tk
i   blt-shlibs               2.4z-14            Toolkit for tcl/tk
i python24 1:2.4.2-1005 Interpreted, object- oriented language i python24-shlibs 1:2.4.2-1005 Interpreted, object- oriented language
i   python24-socket          1:2.4.2-1005       Socket plugin for python
python24-socket-ssl 2.4.2-1101 Socket plugin for python (SSL version)
     ruby18-tcltk                                [virtual package]
ruby18-tcltk-x11 1.8.4-1 Tcl/Tk (using X11) extensions for Ruby i tcltk 8.4.6-2 Tool Command Language and the Tk toolkit i tcltk-dev 8.4.6-2 Tool Command Language and the Tk toolkit i tcltk-shlibs 8.4.6-2 Tool Command Language and the Tk toolkit

======================================================================== =


On the machine that works, I have this:

Information about 2670 packages read in 15 seconds.
i   blt                      2.4z-12            Toolkit for tcl/tk
     blt-dev                  2.4z-12            Toolkit for tcl/tk
i   blt-shlibs               2.4z-12            Toolkit for tcl/tk
i python24 1:2.4.2-5 Interpreted, object- oriented language i python24-shlibs 1:2.4.2-5 Interpreted, object- oriented language
i   python24-socket          1:2.4.2-5          Socket plugin for python
python24-socket-ssl 2.4-101 Socket plugin for python (SSL version) i tcltk 8.4.6-2 Tool Command Language and the Tk toolkit i tcltk-dev 8.4.6-2 Tool Command Language and the Tk toolkit i tcltk-shlibs 8.4.6-2 Tool Command Language and the Tk toolkit


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to