pytries / marisa-trie

Static memory-efficient Trie-like structures for Python based on marisa-trie C++ library.
https://marisa-trie.readthedocs.io/en/latest/
MIT License
1.03k stars 91 forks source link

builtins.RuntimeError: Unknown exception #12

Closed cool-RR closed 10 years ago

cool-RR commented 10 years ago

Got this on Windows 64:

trie.keys()[3]
Traceback (most recent call last):
  File "c:\Users\Administrator\Desktop\fuck.py", line 1, in <module>
    import hashlib
  File "c:\Python34\Lib\site-packages\marisa_trie.pyd", line 516, in marisa_trie.BytesTrie.keys (src\marisa_trie.cpp:9045)
  File "c:\Python34\Lib\site-packages\marisa_trie.pyd", line 527, in marisa_trie.BytesTrie.keys (src\marisa_trie.cpp:8865)

builtins.RuntimeError: Unknown exception

kmike commented 10 years ago

Hi @cool-RR,

This issue looks very similar to https://github.com/kmike/marisa-trie/issues/4 (so I'll close this ticket as a duplicate). It is reported to C++ library bug tracker as https://code.google.com/p/marisa-trie/issues/detail?id=18. I don't have an access to Win64 machine; it'd be great if you can help moving https://code.google.com/p/marisa-trie/issues/detail?id=18 forward.