igraph GraphML error handling