Open Chiemezuo opened 4 days ago
Update on your question: I ran it, but it failed shortly after.
python -m recs
from my terminal, and it failed after 5 seconds. This was on my computer without any peripherals in use.There have been some inconsistencies in the errors, hence my not posting the -confusing- stack trace.
Most of the errors have something to do with the sounddevice
(PortAudioError
).
However, I want to explore it in more detail to at least make sense of the errors I'm getting, and give a more coherent response. :)
All right!
I needed to get rid of the .split()
to make it work on Mac, I squashed all the commits and gave it a more goal-oriented name (i.e. don't say what code you wrote, instead say what feature you added).
https://github.com/rec/recs/commits/fix/windows-path-issues
I can simply pull that commits (with your authorship on it of course 😀) and a couple of minor commits I added from the AI review onto the main branch and close the pull request with a comment, but you do need to patch that commit into your branch and see if it still works with my tweak!
I've patched the commit into my branch, and I can confirm the test still passes on my Windows machine!
My attempt at fixing the 4 failing tests on Windows.
Fixed so far
test_path_pattern.py::test_index
test_path_pattern.py::test_index
test_path_pattern.py::test_index
test_cli.py::test_info