python-scientific needs rebuilding
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-scientific (Debian) |
Fix Released
|
Unknown
|
|||
python-scientific (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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.
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.
handle = netcdf.
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://
100 /var/lib/
3.
python -c "import numpy as np; import Scientific.
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://
and installing the resulting python-netcdf the above one-liner works.
Related branches
description: | updated |
Changed in python-scientific (Debian): | |
status: | Unknown → New |
Changed in python-scientific (Debian): | |
status: | New → Incomplete |
tags: |
added: verification-done removed: verification-needed |
Changed in python-scientific (Debian): | |
status: | Incomplete → Confirmed |
Changed in python-scientific (Debian): | |
status: | Confirmed → Fix Released |
quantal was rebuilt in the meantime and is not affected