[SciPy-dev] Version problems between fastumath in scipy_base and Numeric
David C. Morrill
dmorrill at enthought.com
Wed Oct 2 15:38:38 CDT 2002
We've recently run into a problem with the Windows Installer version of
Chaco: If the version of Numeric used to build fastumath (in scipy_base)
when constructing the Installer executable is not exactly the same as the
version of Numeric on the installing user's Windows machine, errors occur,
as illustrated by the following Chaco traceback reported by several users:
Traceback (most recent call last):
File "C:\Python22\Lib\site-packages\chaco\wxplot_window.py", line 238, in
_min_size
dx, dy = canvas._min_size()
File "C:\Python22\Lib\site-packages\chaco\plot_canvas.py", line 2006, in
_min_size
tdx, tdy = item._min_size()
File "C:\Python22\Lib\site-packages\chaco\plot_canvas.py", line 423, in
_min_size
axes_info = AxesInfo( index_axis, values, process_index )
File "C:\Python22\Lib\site-packages\chaco\plot_info.py", line 426, in
__init__
self.add_axes( values )
File "C:\Python22\Lib\site-packages\chaco\plot_info.py", line 443, in
add_axes
self.process_axes()
File "C:\Python22\Lib\site-packages\chaco\plot_info.py", line 522, in
process_axes
axis_info._min_size()
File "C:\Python22\Lib\site-packages\chaco\plot_info.py", line 731, in
_min_size
axis.tick_interval )
File "C:\Python22\Lib\site-packages\chaco\plot_ticks.py", line 67, in
auto_ticks
if is_base2( rng ) and is_base2( upper ) and rng > 4:
File "C:\Python22\Lib\site-packages\chaco\plot_ticks.py", line 121, in
is_base2
return ((lg == floor( lg )) and (lg > 0.0))
TypeError: function not supported for these types, and can't coerce to
supported types
Eric thinks fastumath used to be more insensitive to the versions of Numeric
used by builder and installer. Does anyone have any idea what the problem
might be?
Dave Morrill
More information about the Scipy-dev
mailing list