[SciPy-user] xplt

Jochen Küpper jochen at unc.edu
Mon Aug 19 16:59:01 EDT 2002


On 19 Aug 2002 14:28:12 -0600 Travis Oliphant wrote:

Travis> 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...

Travis> I'm not sure what is happening.  What version of Numeric do
Travis> you have

Latest cvs:
,----
| MA Version 11.2.0
| Properties Version 2.2
| kinds Version 1.1
| Numeric Version 22.0
`----

Travis> (are unsigned short's ('w') and unsigned integers ('u')
Travis> defined?)

Yes.

Travis> Could this be a Gcc 3.2 issue?

It happened with gcc-3.1.x already.  But it could of course be a
gcc-3.x issue.  Is it working for anyone with a recent gcc?

Greetings,
Jochen
-- 
University of North Carolina                       phone: +1-919-962-4403
Department of Chemistry                            phone: +1-919-962-1579
Venable Hall CB#3290 (Kenan C148)                    fax: +1-919-843-6041
Chapel Hill, NC 27599, USA                            GnuPG key: 44BCCD8E




More information about the SciPy-User mailing list