[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#685812: python-scientific: requires rebuild

Package: python-scientific
Version: 2.8-3
Severity: serious

I'm not sure why but python-scientific requires a rebuild to work correctly.
Apparently there was a uncoordinated abi/abi break somewhere in its dependences (possibly netcdf or numpy):

apt-get install python-scientific python-netcdf
python -c "import numpy as np; import Scientific.IO.NetCDF as nc; ncf = nc.NetCDFFile('t.nc','w'); ncf.createDimension('dim2', 2); ncf.createDimension('n',2); sym = ncf.createVariable('d','c',('n','dim2')); sym[:] = [' C', ' O']; print sym[:]"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ValueError: could not convert string to float: C

you should get:
[[' ' 'C']
 [' ' 'O']]

this affects debian unstable but originaly reported in ubuntu:

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: