Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MARISA_IO_ERROR: size_read <= 0 #59

Open
KevinEdry opened this issue Dec 20, 2024 · 2 comments
Open

MARISA_IO_ERROR: size_read <= 0 #59

KevinEdry opened this issue Dec 20, 2024 · 2 comments

Comments

@KevinEdry
Copy link

When I try to save the trie, I am getting this error for some reason, is this a known issue? is there something I can do?

@jmr
Copy link
Contributor

jmr commented Dec 20, 2024

That looks like it's coming from here:

MARISA_THROW_IF(size_read <= 0, MARISA_IO_ERROR);

Are you on Windows or not?

Can you print out size_read (is it 0 or -1?) and errno?

@KevinEdry
Copy link
Author

I am actually a using macOS through the python bindings, let me try and figure out how can I log that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants