h5f.rename_node('/home/chris/Chris Hunter','newname')
---------------------------------------------------------------------------NoSuchNodeError Traceback (most recent call last)<ipython-input-30-9b75f53baacd> in <module>()----> 1 h5f.rename_node('/home/chris/Chris Hunter','newname')
/home/chris/anaconda2/lib/python2.7/site-packages/tables/file.pyc in rename_node(self, where, newname, name, overwrite) 1662 """ 1663 -> 1664 obj = self.get_node(where, name=name) 1665 obj._f_rename(newname, overwrite) 1666
/home/chris/anaconda2/lib/python2.7/site-packages/tables/file.pyc in get_node(self, where, name, classname) 1614 # Now we have the definitive node path, let us try to get the node. 1615 if node is None:-> 1616 node = self._get_node(nodepath) 1617 1618 # Finally, check whether the desired node is an instance
/home/chris/anaconda2/lib/python2.7/site-packages/tables/file.pyc in _get_node(self, nodepath) 1553 return self.root 1554 -> 1555 node = self._node_manager.get_node(nodepath) 1556 assert node is not None, "unable to instantiate node ``%s``" % nodepath 1557
/home/chris/anaconda2/lib/python2.7/site-packages/tables/file.pyc in get_node(self, key) 434 435 if self.node_factory:--> 436 node = self.node_factory(key) 437 self.cache_node(node, key) 438
/home/chris/anaconda2/lib/python2.7/site-packages/tables/group.pyc in _g_load_child(self, childname) 1184 childname = join_path(self._v_file.root_uep, childname) 1185 # Is the node a group or a leaf?-> 1186 node_type = self._g_check_has_child(childname) 1187 1188 # Nodes that HDF5 report as H5G_UNKNOWN
/home/chris/anaconda2/lib/python2.7/site-packages/tables/group.pyc in _g_check_has_child(self, name) 400 raise NoSuchNodeError( 401 "group ``%s`` does not have a child named ``%s``"--> 402 % (self._v_pathname, name)) 403 return node_type 404
NoSuchNodeError: group ``/`` does not have a child named ``/home/chris/Chris Hunter``
So that didn't work either! I can't access my table in order to do anything with it, why can't I rename the node?
--
You received this message because you are subscribed to the Google Groups "pytables-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pytables-users+***@googlegroups.com.
To post to this group, send an email to pytables-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.