Public bug reported: Tested on Ubuntu Precise 64 bit. The following code produces a segmentation fault:
#!/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() The following avoids a segmentation fault, but produces an unexpected Python error: #!/usr/bin/env python import numpy import Scientific.IO.NetCDF as netcdf handle = netcdf.NetCDFFile("test.nc", "w") handle.test = 1.0 handle.close() $ ./test_netcdf Traceback (most recent call last): File "./test_netcdf", line 5, in <module> handle.test = 1.0 ValueError: Must be a datetime.timedelta object ** 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/1005571 Title: python-netcdf segmentation fault when setting attributes To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-scientific/+bug/1005571/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs