Closed philipbjorge closed 2 years ago
Really? This is as simple as using a bytestring path? I didn't think that was possible on Windows! Awesome; let's definitely do it if it works.
Two questions:
\\?\
prefix)?So it's definitely working locally on my machine (where it was failing before).
It'll be a couple days until I get to this probably.
Yes, just testing with a long (unicode) path should do awesomely.
Is there a reason we're not retrying with a system encoded version of the path when we hit the subprocess bug (like in the proposed patch for the python bug)? This fixes fingerprinting of unicode paths on my Windows box.
https://github.com/sampsyo/pyacoustid/blob/master/acoustid.py#L285 http://bugs.python.org/file11674/Python-2.5.2-subprocess.patch
Thoughts on the following fix?
If you like it I'll send a pull request your way.