Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid filename result when running from specific folder #123

Open
tlansbergen opened this issue May 1, 2022 · 0 comments
Open

Invalid filename result when running from specific folder #123

tlansbergen opened this issue May 1, 2022 · 0 comments

Comments

@tlansbergen
Copy link

When running from a certain path:

D:\Users\tom\OneDrive\Documenten\Cursussen\Data Engineer - Bit Academy\bit-academy\python-novice\06-level\whats-that-sound

with al local wav-file I get this error:

File "D:\Users\tom\OneDrive\Documenten\Cursussen\Data Engineer - Bit Academy\bit-academy\python-novice\06-level\whats-that-sound\whats-that-sound\lib\site-packages\playsound.py", line 72, in _playsoundWin
winCommand(u'open {}'.format(sound))
File "D:\Users\tom\OneDrive\Documenten\Cursussen\Data Engineer - Bit Academy\bit-academy\python-novice\06-level\whats-that-sound\whats-that-sound\lib\site-packages\playsound.py", line 64, in winCommand
raise PlaysoundException(exceptionMessage)

When copying all files to 'E:\Temp' everything works fine. I suspect the path handling doesn't like the original path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant