Activity log for bug #1041302

Date Who What changed Old value New value Message
2012-08-24 17:15:05 Marcin Dulak bug added bug
2012-08-24 18:41:34 Julian Taylor python-scientific (Ubuntu): status New Fix Released
2012-08-24 18:41:40 Julian Taylor nominated for series Ubuntu Precise
2012-08-24 18:41:40 Julian Taylor bug task added python-scientific (Ubuntu Precise)
2012-08-24 18:41:47 Julian Taylor python-scientific (Ubuntu Precise): status New Confirmed
2012-08-24 19:13:19 Julian Taylor bug watch added http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=685812
2012-08-24 19:13:19 Julian Taylor bug task added python-scientific (Debian)
2012-08-24 19:23:09 Julian Taylor description 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. Impact: due to a yet unknown incompatibility with its dependencies several functionalities of python-scientific are broken and give unclear error message. A rebuild fixes the issues. TEST CASE: 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 expected: [[' ' 'C'] [' ' 'O']] TEST CASE: should not crash: #!/usr/bin/env python import numpy import Scientific.IO.NetCDF as netcdf handle = netcdf.NetCDFFile("test.nc", "w") handle.test = numpy.array(1.0) handle.close() Regression potential: Only a rebuild no change to the source. original report: 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.
2012-08-24 20:31:32 Bug Watch Updater python-scientific (Debian): status Unknown New
2012-08-24 21:17:49 Julian Taylor bug added subscriber Julian Taylor
2012-08-29 23:41:29 Bug Watch Updater python-scientific (Debian): status New Incomplete
2012-09-08 14:50:52 Scott Kitterman python-scientific (Ubuntu Precise): status Confirmed Fix Committed
2012-09-08 14:50:54 Scott Kitterman bug added subscriber Ubuntu Stable Release Updates Team
2012-09-08 14:50:58 Scott Kitterman bug added subscriber SRU Verification
2012-09-08 14:51:05 Scott Kitterman tags verification-needed
2012-09-08 15:13:14 Launchpad Janitor branch linked lp:~ubuntu-branches/ubuntu/precise/python-scientific/precise-proposed
2012-09-09 12:25:40 Stefano Rivera tags verification-needed verification-done
2012-09-10 16:52:14 Adam Conrad removed subscriber Ubuntu Stable Release Updates Team
2012-09-10 16:53:09 Launchpad Janitor python-scientific (Ubuntu Precise): status Fix Committed Fix Released
2012-10-23 13:51:27 Bug Watch Updater python-scientific (Debian): status Incomplete Confirmed
2013-02-11 13:30:53 Bug Watch Updater python-scientific (Debian): status Confirmed Fix Released