"Tiago de Paula Peixoto" <tiago@forked.de> writes:
Jens Müller <blog@tessarakt.de> writes:
When running my program (graphml.cpp/hpp), I get:
./batch-c-delaunay-10000: line 7: 2801 Abgebrochen ./separator -i /algodaten/separator/graphs/large/c-delaunay.graphml -f /algodaten/separator/graphs/large/output/c-delaunay-dj-noopt.csv --best-fundamental-cycle -p -d TRACE - main() entered TRACE - command line parsed TRACE - options analysed and stored terminate called after throwing an instance of 'boost::parse_error' what(): parse error: on line 6680, column 1: invalid value "
" for key label of type double
From the file:
[...]
Why does the GraphML reader try to parse the d0 (label) attribute as a double?!
It seems to me not that it is trying to parse the label as a double, but that the label value is invalid, i.e. empty. Could you send the whole file (preferebly) or at least the line (6680) where the error happens, so that I can take a closer look?
According to the file you sent my by private mail, around line 6680 there is the following (white space and newlines omitted): <data key="d4"></data> And 'd4' is the key for a property of type double named 'label' (hence the confusing error message). Such an empty entry cannot be converted to a double value, so indeed the file is invalid... Cheers, Tiago -- Tiago de Paula Peixoto <tiago@forked.de>