[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
    dx, dy = canvas._min_size()
  File "C:\Python22\Lib\site-packages\chaco\plot_canvas.py", line 2006, in
    tdx, tdy             = item._min_size()
  File "C:\Python22\Lib\site-packages\chaco\plot_canvas.py", line 423, in
    axes_info = AxesInfo( index_axis, values, process_index )
  File "C:\Python22\Lib\site-packages\chaco\plot_info.py", line 426, in
    self.add_axes( values )
  File "C:\Python22\Lib\site-packages\chaco\plot_info.py", line 443, in
  File "C:\Python22\Lib\site-packages\chaco\plot_info.py", line 522, in
  File "C:\Python22\Lib\site-packages\chaco\plot_info.py", line 731, in
    axis.tick_interval )
  File "C:\Python22\Lib\site-packages\chaco\plot_ticks.py", line 67, in
    if is_base2( rng ) and is_base2( upper ) and rng > 4:
  File "C:\Python22\Lib\site-packages\chaco\plot_ticks.py", line 121, in
    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