Bug#916195: debian stretch

2018-12-11 Thread Marc Rosanes
For some reason, the system information is reporting that I'm on a 
buster/sid, but actually I'm working with a debian stretch




Bug#916195: Additional information: docker stretch

2018-12-11 Thread Marc Rosanes

Hi,

Additional information:

This issue has been reproduced on a clean docker with debian:stretch.



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

2017-05-12 Thread Marc Rosanes

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 
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 <ti...@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 
<ti...@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/



Bug#861736: Bug on NeXus library

2017-05-05 Thread Marc Rosanes

Additional information:

Storing using 'w' format (hdf4), instead of using 'w5' format (hdf5); 
the error does not appear:


import nxs
e = nxs.NXentry(name= "NXtomo")
e.save("filenamenxs.h5",*'**w**'*)




Bug#861736: python-nxs: Cannot save files with nxs python module

2017-05-03 Thread Marc Rosanes


Package: python-nxs
Version: 4.3.2-svn1921-4
Severity: grave
Justification: renders package unusable

Dear Maintainer,

   * What led up to the situation?

   Run the following python code:

   import nxs
   e = nxs.NXentry(name= "NXtomo")
   e.save("filenamenxs.h5", 'w5')


   * What was the outcome of this action?

   Got the following exception:

NeXusError
Traceback (most recent call last)
 in ()
> 1 e.save("filenamenxs.h5", 'w5')

/usr/lib/python2.7/dist-packages/nxs/tree.pyc in save(self, filename, 
format)

866 root = NXroot(NXentry(self))
867 if root.nxfile: root.nxfile.close()
--> 868 file = NeXusTree(filename, format)
869 file.writefile(root)
870 file.close()

/usr/lib/python2.7/dist-packages/nxs/napi.pyc in __init__(self, 
filename, mode)

318 else:
319 op = 'create'
--> 320 raise NeXusError, "Could not %s %s"%(op,filename)
321 self.isopen = True
322


   * What outcome did you expect instead?

An hdf5 file filenamenxs.h5 saved with no exception.

Note: Tried this with debian:stable docker and it worked correctly.


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64
 (x86_64)

Kernel: Linux 4.9.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages python-nxs depends on:
ii  libnexus0v5  4.3.2-svn1921-4+b1
pn  python:any   

python-nxs recommends no packages.

python-nxs suggests no packages.

-- no debconf information