Open jtlz2 opened 4 years ago
Awesome module, thanks!
Thanks for the kind words, I'm happy you're finding it useful! It would be great to hear what you're using it for.
@jtlz2, which platform are you running this on? Windows / Linux / macOS, which exact version, 32 or 64 bit?
@jtlz2, could you try running the same code, with bytes objects rather than strings? I.e.:
fuzzysearch.find_near_matches(b'ABC 0123456', b'ABC', max_l_dist=1).next()
@taleinat Apologies - macOS 10.13.6..
We are trialling it for OCR post-processing.
The error comes out the same when using bytes as you suggest (ValueError at L71).
Thanks again!
@jtlz2, I've started working on this. It seems like a problem with the native (C) extensions.
In the meantime, you may install fuzzysearch without the native extensions by fetching a source archive, unpacking it running python setup.py install --noexts
.
@jtlz2, I've fixed what appears to be the source of this issue. The fix is available in version 0.7.3 which I've just released. Please let me know if it resolves this issue for you!
@taleinat Still get the same problem in 0.7.3 :\
Still get the same problem in 0.7.3 :\
☹️
This seems to be related to the Anaconda distribution somehow, as it only appears to happen with it, but not with Python from python.org or built from the main git repo. I'll have to investigate further when I have more time.
This presents just as in #13. See below to reproduce. Awesome module, thanks!
Version info:
Traceback: