Bug#861736: marked as done (python-nxs: Cannot save files with nxs python module)

2017-11-01 Thread Debian Bug Tracking System
Your message dated Thu, 02 Nov 2017 01:34:14 + with message-id <e1ea4oc-0001rz...@fasolo.debian.org> and subject line Bug#861736: fixed in nexus 4.3.2-svn1921-6 has caused the Debian Bug report #861736, regarding python-nxs: Cannot save files with nxs python module to be marked a

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

2017-10-16 Thread Debian Bug Tracking System
Processing control commands: > tags -1 + patch Bug #861736 [python-nxs] python-nxs: Cannot save files with nxs python module Ignoring request to alter tags of bug #861736 to the same tags previously set -- 861736: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=861736 Debian Bug Track

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

2017-10-16 Thread Gilles Filippini
Control: tags -1 + patch Hi, On Fri, 12 May 2017 08:32:28 +0200 Marc Rosanes wrote: > 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 =

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')

Bug#861736: Still some regression in python-nxs

2017-05-11 Thread Carlos Pascual
Hi, while nexus 4.3.2-svn1921-5 fixes the originally reported exception, the fix seems not to be complete [1]. In order to trigger the still-existing regression, run the following python code (which ideally should exit without errors): ``` import nxs f = nxs.open("/tmp/foo.h5", "w5")

Bug#861736:

2017-05-11 Thread PICCA Frederic-Emmanuel
here the error message ~/Debian/nexus/bugs$ ./bug.py Traceback (most recent call last): File "./bug.py", line 15, 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)

Bug#861736:

2017-05-11 Thread PICCA Frederic-Emmanuel
It seems that the fix is not enought this test failed at the flush 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')

Bug#861736: marked as done (python-nxs: Cannot save files with nxs python module)

2017-05-11 Thread Debian Bug Tracking System
Your message dated Thu, 11 May 2017 09:08:53 + with message-id <e1d8k5d-000ham...@fasolo.debian.org> and subject line Bug#861736: fixed in nexus 4.3.2-svn1921-5 has caused the Debian Bug report #861736, regarding python-nxs: Cannot save files with nxs python module to be marked a

Bug#861736:

2017-05-09 Thread Gilles Filippini
Control: tags -1 + patch On Mon, 8 May 2017 14:34:31 + PICCA Frederic-Emmanuel wrote: > Here after rebuilding hdf5 in debug mode > > :~/Debian/nexus$ ./bug.py > H5get_libversion(majnum=0xbf8a5b04, minnum=0xbf8a5b08, relnum=0xbf8a5b0c) = >

Bug#861736:

2017-05-08 Thread PICCA Frederic-Emmanuel
Here after rebuilding hdf5 in debug mode :~/Debian/nexus$ ./bug.py H5get_libversion(majnum=0xbf8a5b04, minnum=0xbf8a5b08, relnum=0xbf8a5b0c) = SUCCEED; H5Eset_auto2(estack=H5P_DEFAULT, func=NULL, client_data=NULL) = SUCCEED; H5open() = SUCCEED; H5Pcreate(cls=8 (genprop class)) = 18 (genprop

Bug#861736:

2017-05-07 Thread PICCA Frederic-Emmanuel
activating the NXError reporting we got filenamenxs.h5 5 ERROR: cannot open file: filenamenxs.h5 0 and looking for this errormessage, we found it in the napi5.c file NXstatus NX5open(CONSTCHAR *filename, NXaccess am, NXhandle* pHandle) { hid_t

Bug#861736:

2017-05-07 Thread PICCA Frederic-Emmanuel
Herethe code ofthismethod /**/ static NXstatus NXinternalopen(CONSTCHAR *userfilename, NXaccess am, pFileStack fileStack); /*--*/ NXstatus

Bug#861736:

2017-05-07 Thread PICCA Frederic-Emmanuel
in the napi.h files we saw this. define CONCAT(__a,__b) __a##__b/* token concatenation */ #ifdef __VMS #define MANGLE(__arg) __arg #else #define MANGLE(__arg) CONCAT(__arg,_) #endif #define NXopen MANGLE(nxiopen) /** * Open a NeXus

Bug#861736:

2017-05-07 Thread PICCA Frederic-Emmanuel
Let's instrument the code print filename, mode, _ref(self.handle) status = nxlib.nxiopen_(filename,mode,_ref(self.handle)) print status $ python bug.py filenamenxs.h5 5 0

Bug#861736:

2017-05-07 Thread PICCA Frederic-Emmanuel
Hello here the napi code which cause some trouble. # Convert open mode from string to integer and check it is valid if mode in _nxopen_mode: mode = _nxopen_mode[mode] if mode not in _nxopen_mode.values(): raise ValueError, "Invalid open mode %s",str(mode)

Processed (with 2 errors): Re: Bug#861736: python-nxs: Cannot save files with nxs python module

2017-05-05 Thread Debian Bug Tracking System
Processing control commands: > tag -1 + confirmed Bug #861736 [python-nxs] python-nxs: Cannot save files with nxs python module Added tag(s) confirmed. > user debian-rele...@lists.debian.org Unknown command or malformed arguments to command. > usertag -1 + bsp-2017-05-ch-zurich Unknow

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

2017-05-05 Thread Axel Beckert
Control: tag -1 + confirmed Control: user debian-rele...@lists.debian.org Control: usertag -1 + bsp-2017-05-ch-zurich Hi, Marc Rosanes wrote: >import nxs >e = nxs.NXentry(name= "NXtomo") >e.save("filenamenxs.h5", 'w5') [...] > /usr/lib/python2.7/dist-packages/nxs/tree.pyc in

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