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-trie fails to save dictionary (mingw32) #13

Open
GoogleCodeExporter opened this issue Feb 25, 2016 · 2 comments
Open

marisa-trie fails to save dictionary (mingw32) #13

GoogleCodeExporter opened this issue Feb 25, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

It is reported that saving doesn't work under mingw32.

Issue #10 is a related issue.
http://code.google.com/p/marisa-trie/issues/detail?id=10

See also the following.
https://github.com/kmike/marisa-trie/issues/1#issuecomment-8135066

Original issue reported on code.google.com by susumu.y...@gmail.com on 31 Aug 2012 at 1:21

@GoogleCodeExporter
Copy link
Author

It fails under mingw32 with the following error message:

RuntimeError: lib/marisa/grimoire/io\writer.cc:129: MARISA_IO_ERROR: 
size_written <= 0

See 
http://www.reddit.com/r/Python/comments/ywpwl/memorywise_fast_static_trie_for_py
thon_may_use/

Original comment by kmik...@gmail.com on 31 Aug 2012 at 10:22

@GoogleCodeExporter
Copy link
Author

I've updated Reader/Writer to use read_/write_ instead of read/write when 
compiled with MinGW (r98).

I'm not sure whether this update fixes the problem or not, but currently I have 
no idea other than this.

Original comment by susumu.y...@gmail.com on 16 Sep 2012 at 3:46

  • Changed state: Started

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

No branches or pull requests

1 participant