[SciPy-user] xplt

Travis Oliphant oliphant.travis at ieee.org
Mon Aug 19 16:28:12 EDT 2002


On Fri, 2002-08-16 at 16:12, Jochen Küpper wrote:
> Scipy cvs gives me the following error
> ,----
> | Python 2.2.1 (#2, Aug 16 2002, 10:34:47) 
> | [GCC 3.2] on linux2
> | Type "help", "copyright", "credits" or "license" for more information.
> | >>> import scipy
> | Traceback (most recent call last):
> |   File "<stdin>", line 1, in ?
> |   File "/usr/local/lib/python2.2/site-packages/scipy/__init__.py", line 68, in ?
> |     import xplt
> |   File "/usr/local/lib/python2.2/site-packages/scipy/xplt/__init__.py", line 31, in ?
> |     from Mplot import *
> |   File "/usr/local/lib/python2.2/site-packages/scipy/xplt/Mplot.py", line 878, in ?
> |     import colorbar
> |   File "/usr/local/lib/python2.2/site-packages/scipy/xplt/colorbar.py", line 9, in ?
> |     from slice3 import *
> |   File "/usr/local/lib/python2.2/site-packages/scipy/xplt/slice3.py", line 1466, in ?
> |     _poly_permutations4 = _construct3 (0)
> |   File "/usr/local/lib/python2.2/site-packages/scipy/xplt/slice3.py", line 1460, in _construct3
> |     mask = find_mask (below, _node_edges3 [itype])
> | TypeError: Array can not be safely cast to required type
> `----
> This happens for a while already, but I had xplt excluded from the
> import a while ago and then forgot about it...

I don't get this error.  I'm not sure what is happening.  What version
of Numeric do you have (are unsigned short's ('w') and unsigned integers
('u') defined?)

Could this be a Gcc 3.2 issue?

Don't know what to do.

-Travis





More information about the SciPy-User mailing list