PyErr_Format(PyExc_RuntimeError,"cannot replace object in position %"PY_FORMAT_SIZE_T"d at HDF5 file `%s': unknown exception caught",pos,self->f->filename().c_str());
PyErr_Format(PyExc_RuntimeError,"caught unknown exception while reading attribute `%s' at resource `%s' with descriptor `%s' from HDF5 file `%s'",name,path,type.str().c_str(),self->f->filename().c_str());
PyErr_Format(PyExc_RuntimeError,"caught unknown exception while reading string attribute `%s' at resource `%s' with descriptor `%s' from HDF5 file `%s'",name,path,type.str().c_str(),self->f->filename().c_str());
PyErr_Format(PyExc_RuntimeError,"caught unknown exception while reading array attribute `%s' at resource `%s' with descriptor `%s' from HDF5 file `%s'",name,path,type.str().c_str(),self->f->filename().c_str());
PyErr_Format(PyExc_RuntimeError,"caught unknown exception while getting type for attribute `%s' at resource `%s' from HDF5 file `%s'",name,path,self->f->filename().c_str());
return0;
}
if(type.type()==bob::io::unsupported){
boost::formatm("unsupported HDF5 data type detected for attribute `%s' at path `%s' of file `%s' - returning None");
PyErr_Format(PyExc_RuntimeError,"caught unknown exception while writing attribute `%s' at resource `%s' with descriptor `%s' at HDF5 file `%s'",name,path,type.str().c_str(),self->f->filename().c_str());
PyErr_Format(PyExc_RuntimeError,"caught unknown exception while writing string attribute `%s' at resource `%s' with descriptor `%s' at HDF5 file `%s'",name,path,type.str().c_str(),self->f->filename().c_str());
PyErr_Format(PyExc_NotImplementedError,"error setting attribute `%s' at resource `%s' of HDF5 file `%s': HDF5 attribute setting function is uncovered for array type %d (DEBUG ME)",name,path,self->f->filename().c_str(),is_array);
return0;
}
}
catch(std::exception&e){
PyErr_SetString(PyExc_RuntimeError,e.what());
Py_XDECREF(converted);
return0;
}
catch(...){
PyErr_Format(PyExc_RuntimeError,"caught unknown exception while writing array attribute `%s' at resource `%s' with descriptor `%s' at HDF5 file `%s'",name,path,type.str().c_str(),self->f->filename().c_str());
PyErr_Format(PyExc_TypeError,"error setting attribute `%s' of resource `%s' at HDF5 file `%s': no support for storing objects of type `%s' on HDF5 files",name,path,self->f->filename().c_str(),value->ob_type->tp_name);
PyErr_Format(PyExc_TypeError,"error setting attribute `%s' of resource `%s' at HDF5 file `%s': no support for storing objects of type `%s' on HDF5 files",name,path,self->f->filename().c_str(),value->ob_type->tp_name);
PyErr_Format(PyExc_RuntimeError,"cannot list attributes at resource `%s' of HDF5 file `%s': unknown exception caught",path,self->f->filename().c_str());
PyErr_Format(PyExc_RuntimeError,"cannot verify existence of attribute `%s' at resource `%s' of HDF5 file `%s': unknown exception caught",name,path,self->f->filename().c_str());