Hi Vince,
As always, posted code is the best way to get help.
I'm no expert but did you close the file before you tried to open it  
the second time?

David
On 11/10/2007, at 7:33 AM, Vince Fulco wrote:

> Dear Pytable Experts-
>
> I've created a simple file with one group and three tables.  In the
> same script, I then load one of the tables.  In the next step (later),
> I've attempted to create a new table in the same group and the file
> refuses to open using either openFile(hf5file,"w") or
> openFile(hf5file, "a").  The error message is below.
>
> I am able to open it only to read it.  Is there a somewhat obscured
> permissioning which needs to be set when the group, etc. are first set
> up?  I have verified the locations of the pytables file and the input
> file for the new table data.  Using FC7 as root and the latest
> pytables and python versions.
>
> Thank you.
>
> -- 
> Vince Fulco
>
> ##
>
>>>> filem = openFile(fname,"w")
> HDF5-DIAG: Error detected in HDF5 library version: 1.6.5 thread
> 46912496303904.  Back trace follows.
>   #000: H5F.c line 1968 in H5Fcreate(): unable to create file
>     major(04): File interface
>     minor(17): Unable to open file
>   #001: H5F.c line 1746 in H5F_open(): unable to truncate a file which
> is already open
>     major(04): File interface
>     minor(17): Unable to open file
> HDF5-DIAG: Error detected in HDF5 library version: 1.6.5 thread
> 46912496303904.  Back trace follows.
>   #000: H5G.c line 295 in H5Gopen(): not a location
>     major(01): Function arguments
>     minor(03): Inappropriate type
>   #001: H5G.c line 2441 in H5G_loc(): invalid object ID
>     major(01): Function arguments
>     minor(05): Bad value
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib64/python2.5/site-packages/tables/file.py", line 241,
> in openFile
>     METADATA_CACHE_SIZE, nodeCacheSize)
>   File "/usr/lib64/python2.5/site-packages/tables/file.py", line 516,
> in __init__
>     self.root = root = self.__getRootGroup(rootUEP, title, filters)
>   File "/usr/lib64/python2.5/site-packages/tables/file.py", line 560,
> in __getRootGroup
>     return RootGroup(self, rootUEP, title=title, new=new,  
> filters=filters)
>   File "/usr/lib64/python2.5/site-packages/tables/group.py", line
> 1187, in __init__
>     self._v_objectID = self._g_open()
>   File "hdf5Extension.pyx", line 589, in hdf5Extension.Group._g_open
> tables.exceptions.HDF5ExtError: Can't open the group: '/'.
> ##
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a  
> browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Pytables-users mailing list
> Pytables-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/pytables-users
>

_________________________________________________
experimental polymedia: www.avatar.com.au
Sonic Communications Research Group,
University of Canberra:  creative.canberra.edu.au/scrg




-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Pytables-users mailing list
Pytables-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pytables-users

Reply via email to