Bug#861736: closed by Andreas Tille <tille at debian.org> (Bug#861736: fixed in nexus 4.3.2-svn1921-5)

Marc Rosanes mrosanes at cells.es
Fri May 12 06:32:28 UTC 2017


Hi,

We have found that python-nxs is still affected by problems:

The following piece of code fails on stretch + the lastest nexus from 
unstable:

```
import nxs
f = nxs.open("/tmp/foo.h5", "w5")
f.makegroup('entry', 'NXentry')
f.opengroup('entry')
f.makegroup('g', 'NXcollection')
f.opengroup('g', 'NXcollection')
f.makedata('d', 'float64', shape=(1,))
f.opendata('d')
f.putdata(1.23)
f.closedata()
f.closegroup()
f.flush()
f.close()
```


It fails with the exception:

```
Traceback (most recent call last):
   File "nxs_flush_bug.py", line 12, in <module>
     f.flush()
   File "/usr/lib/python2.7/dist-packages/nxs/napi.py", line 397, in flush
     raise NeXusError, "Could not flush NeXus file %s"%(self.filename)
nxs.napi.NeXusError: Could not flush NeXus file /tmp/foo.h5
```


The same code works correctly on a clean jessie docker.

This ticket should be reopened, till this issue is solved.




On 05/11/2017 11:12 AM, Debian Bug Tracking System wrote:
> This is an automatic notification regarding your Bug report
> which was filed against the python-nxs package:
>
> #861736: python-nxs: Cannot save files with nxs python module
>
> It has been closed by Andreas Tille <tille at debian.org>.
>
> Their explanation is attached below along with your original report.
> If this explanation is unsatisfactory and you have not received a
> better one in a separate message then please contact Andreas Tille <tille at debian.org> by
> replying to this email.
>
>

-- 
Marc Rosanes Siscart

Computing & Control Division
CELLS – ALBA

ALBA Synchrotron Light Facility
Carrer de la Llum 2-26
08290 Cerdanyola del Vallès, Barcelona (SPAIN)

Tel: +34 93 592 40 41 Fax: +34 93 592 43 01
web page: http://www.cells.es/



More information about the debian-science-maintainers mailing list