[Numpy-discussion] "error getting read buffer data ptr"

Edward C. Jones edcjones at erols.com
Fri Dec 26 08:54:03 CST 2003


What are the usual causes for this traceback:

Traceback (most recent call last):
  File "/home/edcjones/cvlib/phase03/IM/slide/test03.py", line 166, in ?
    test4()
  File "/home/edcjones/cvlib/phase03/IM/slide/test03.py", line 125, in test4
    print arrout
  File "/usr/local/lib/python2.3/site-packages/numarray/numarraycore.py",
             line 631, in __str__
    return array_str(self)
  File "/usr/local/lib/python2.3/site-packages/numarray/numarraycore.py",
             line 1159, in array_str
    return arrayprint.array2string(
  File "/usr/local/lib/python2.3/site-packages/numarray/arrayprint.py",
             line 187, in array2string
    separator, prefix)
  File "/usr/local/lib/python2.3/site-packages/numarray/arrayprint.py",
             line 140, in _array2string
    data = _gen.ravel(a)
  File "/usr/local/lib/python2.3/site-packages/numarray/generic.py",
             line 916, in ravel
    return reshape(array, (array.nelements(),))
  File "/usr/local/lib/python2.3/site-packages/numarray/generic.py",
             line 907, in reshape
    v = v.view()
libnumarray.error: NA_updateDataPtr: error getting read buffer data ptr






More information about the Numpy-discussion mailing list