[SciPy-user] more on gui_thread; plus chaco.tkplt
Gary Pajer
pajer at iname.com
Tue Jul 29 23:53:27 EDT 2003
daishi at egcrc.net reported problems with gui_thread under linux. I have
been having the same problem in XP. The only way I can use chaco.wxplt is
to run it from PyCrust.
Also, I cannot run anything from chaco.tkplt at all. The begining of the
error stream is reproduced below. About twice this amount of additional
errors follows after.
I had been having other problems with my XP installation, so I thought that
something was screwed up in my system. (supported by a lack of similar
reports here) . I was about to reformat my hard drive when I decided to do
a completely fresh python installation on an NT machine that never had
python on it. I get *exactly* the same results.
No difference between Numeric 22.0 and Numeric 23.0
Perhaps there's something I should have installed ????? I'm perplexed that
I've seen no mention of these problems, yet I have it on two different
machines with two different OSs.
off topic, but maybe related: I frequently get a windows error concerning
an unreadable memory location when I close a Tkinter app. Idle and Idlefork
always give this error when closing. On both XP and NT.
I'm happy to provide whatever info you want ... just tell me what you need.
I have posted this problem on the chaco list but I've gotten no responses.
Any takers?
Gary
>>> from chaco import tkplt
>>> tkplt.plot((1,2,3))
Traceback (most recent call last):
File "C:\PYTHON22\Lib\site-packages\chaco\plot_window.py", line 227, in
_min_size
dx, dy = canvas._min_size()
File "C:\PYTHON22\Lib\site-packages\chaco\plot_canvas.py", line 619, in
_min_size
title_info = self._title_info()
File "C:\PYTHON22\Lib\site-packages\chaco\plot_canvas.py", line 596, in
_title_info
return TitleInfo( self._titles )
File "C:\PYTHON22\Lib\site-packages\chaco\plot_info.py", line 67, in
__init__
self.add_titles( titles )
File "C:\PYTHON22\Lib\site-packages\chaco\plot_info.py", line 76, in
add_titles
self.min_size( title_item )
File "C:\PYTHON22\Lib\site-packages\chaco\plot_info.py", line 94, in
min_size
dx, dy = title._min_size()
File "C:\PYTHON22\Lib\site-packages\chaco\plot_frame.py", line 515, in
_min_size
( min_dx, min_dy,
File "C:\PYTHON22\Lib\site-packages\kiva\basecore2d.py", line 1266, in
get_full_text_extent
return self.device_get_full_text_extent(textstring)
File "C:\PYTHON22\Lib\site-packages\kiva\basecore2d.py", line 1274, in
device_get_full_text_extent
ft_engine.select_font( f.name, f.size, f.style, f.encoding ) ###
TEMPORARY ###
AttributeError: Font instance has no attribute 'name'
More information about the SciPy-User
mailing list