On 18/11/12 03:18, Dr. Volker Jaenisch wrote:
Hi VEUSZ Developers!
Here
https://github.com/volkerjaenisch/veusz/tree/modular_import
is the first alpha of an generic HDF5 import dialog on the new veusz import
dialog infrastructure.
There are lots of changes ahead, no API is imposed yet, very preliminary, but
working :-)
Hi Volker -
Thanks. Would it be possible to make the HDF5/pytables support optional
(like fits)? I also see that FITS support doesn't work any longer.
Traceback (most recent call last):
File "/home/jss/code/veusz-git/veusz/dialogs/importdialog.py", line
190, in slotUpdatePreview
importtab.loadUi()
File "/home/jss/code/veusz-git/veusz/formats/fits/dialog.py", line
52, in loadUi
self.connect(self.fitshdulist, qt4.SIGNAL('itemSelectionChanged()'),
AttributeError: 'ImportTabFITS' object has no attribute 'fitshdulist'
I can't get any example HDF5 files to work, however. I tried to open
some of the example files that come with HDFView or those on the HDF
website, but the open dialog just hangs. I'm using Ubuntu Quantal x86
with the python-tables package provided.
This is what I get using strace
open("/home/jss/HDFView/samples/hdf5_test.h5", O_RDONLY|O_LARGEFILE) = 16
fstat64(16, {st_mode=S_IFREG|0775, st_size=1789123, ...}) = 0
brk(0xa25f000) = 0xa25f000
_llseek(16, 0, [0], SEEK_SET) = 0
read(16, "\211HDF\r\n\32\n", 8) = 8
_llseek(16, 0, [0], SEEK_SET) = 0
read(16, "\211HDF\r\n\32\n\0", 9) = 9
read(16,
"\0\0\0\0\10\10\0\4\0\20\0\3\0\0\0\0\0\0\0\0\0\0\0\377\377\377\377\377\377\377\377\303"...,
87) = 87
_llseek(16, 928, [928], SEEK_SET) = 0
read(16, "\1\0\4\0\1\0\0\0
\0\0\0\0\0\0\0\20\0\20\0\0\0\0\0V\17\0\0\0\0\0\0"..., 512) = 512
_llseek(16, 3926, [3926], SEEK_SET) = 0
read(16,
"\21\0\20\0\1\0\0\0\200\1\0\0\0\0\0\0`\0\0\0\0\0\0\0\f\0@\0\0\0\0\0"...,
96) = 96
lstat64("/home/jss/HDFView/samples/hdf5_test.h5", {st_mode=S_IFREG|0775,
st_size=1789123, ...}) = 0
futex(0xae859acc, FUTEX_WAIT, 0, NULL
... hangs here indefinitely ...
I tried to open the file with pytables, which seems to work, so I'm not
sure what's going on. I need to go through the code more carefully to
see what's happening.
Jeremy
_______________________________________________
Veusz-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/veusz-discuss