nanocube icon indicating copy to clipboard operation
nanocube copied to clipboard

"Invalid Path Size"

Open cscheid opened this issue 9 years ago • 2 comments

I'm trying a new dataset, and during the build process, I get

terminate called after throwing an instance of 'std::runtime_error'
  what():  Invalid Path Size

I don't know if this error message is from FlatTree.hh or from FlatTreeN.hh, though.

I'm happy to share the dataset, but I wanted to confirm this is a bug and not a problem in my data formatting. It happens about 800k elements into the dataset, so some of the dataset does get processed correctly.

cscheid avatar Aug 08 '15 23:08 cscheid

Can you share your dataset. I can try to reproduce the error/bug or data formatting problem. Usually the last number in the categorical range space (1 byte: 255, 2 bytes: 65535...) is reserved to label the "root" node and cannot be used to a user categorical value. That could be an explanation if, for example, you are using 1 bytes for a categorical dimension and using 255 as a categorical value.

laurolins avatar Aug 08 '15 23:08 laurolins

Ah, that could explain it for sure. Let me check and find a minimal example that triggers it. Thank you!

cscheid avatar Aug 09 '15 01:08 cscheid