[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



Control: tag -1 + confirmed
Control: user debian-release@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 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

I can reproduce this on Sid/Stretch, but not on Jessie, so this is a
regression from Jessie to Stretch.

The same happens if you don't specify the file format (as HDF5 seems
to be the default file format).

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE


Reply to: