Closed omerchor closed 1 year ago
Did you install from pip or from github? I just merged in a PR that I think might fix this (#29), but it hasn't been included in a release uploaded to pypi yet.
Windows apparently does not always use UTF-8 as the default locale, so it has to be specified explicitly for file I/O operations. The current version of copydetect on pypi doesn't do this when writing the output report, which I think is what's causing this crash.
Installed from PyPi, it seems that the commit should indeed fix the problem. Thanks!
The fix has now been uploaded to PyPI as copydetect==0.4.4
. Let me know if you are still seeing the issue with the latest version.
I'm getting the following traceback after "Code comparison completed":
I believe this has to do with some of the code (strings) containing non-Latin characters, because when I remove these strings the report is generated as expected.