Public bug reported:

1.
Description:    Ubuntu 12.04.1 LTS
Release:        12.04

2.
python-scientific:
  Installed: 2.8-2build1
  Candidate: 2.8-2build1
  Version table:
 *** 2.8-2build1 0
        500 http://dk.archive.ubuntu.com/ubuntu/ precise/universe amd64 Packages
        100 /var/lib/dpkg/status

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

4.
This is probably due to python-scientific being built with an older version of 
python-numpy (or python?).
After rebuilding python-scientific according to 
http://www.debian-administration.org/articles/20
and installing the resulting python-netcdf the above one-liner works.

** Affects: python-scientific (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1041302

Title:
  python-scientific needs rebuilding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-scientific/+bug/1041302/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to