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

Stuck at 99% - PermissionError #5

Closed
dylanrsmith opened this issue Oct 4, 2022 · 7 comments
Closed

Stuck at 99% - PermissionError #5

dylanrsmith opened this issue Oct 4, 2022 · 7 comments

Comments

@dylanrsmith
Copy link
Contributor

Was getting this error when downloading a track.

Progress bar would be stuck 'converting' at 99%.

Not sure if this is a widespread issue, I think I found a potential fix.

Traceback (most recent call last):
  File "spotutils.py", line 394, in run
    status = self.download_track(
  File "spotutils.py", line 328, in download_track
    os.remove(filename)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:/Music/Song.mp3'
@dylanrsmith dylanrsmith changed the title PermissionError: The process cannot access the file....... Stuck at 99% - PermissionError Oct 4, 2022
@Miollnir
Copy link

Miollnir commented Oct 4, 2022

i have the same issue
did u found a fix ?

@Ragriod
Copy link

Ragriod commented Oct 4, 2022

image

After download the track is stuck with converting at 99%

@casualsnek
Copy link
Owner

i have the same issue did u found a fix ?

Maybe yes, i will push a commit in a while which you can test !

@casualsnek
Copy link
Owner

image

After download the track is stuck with converting at 99%

Can you test it now ? I have binary release for windows which you can use ! Also follow Installing on windows section in README.md to install ffmpeg which should solve these issues

@Miollnir
Copy link

Miollnir commented Oct 4, 2022

Can you test it now ? I have binary release for windows which you can use ! Also follow Installing on windows section in README.md to install ffmpeg which should solve these issues

it works now 👍

@casualsnek
Copy link
Owner

Was getting this error when downloading a track.

Progress bar would be stuck 'converting' at 99%.

Not sure if this is a widespread issue, I think I found a potential fix.

Traceback (most recent call last):
  File "spotutils.py", line 394, in run
    status = self.download_track(
  File "spotutils.py", line 328, in download_track
    os.remove(filename)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:/Music/Song.mp3'

Can you please test this binary release: https://anonfiles.com/69zbldBey8/onthespot_win_exe built against current main branch !
Apparently there were multiple reasons why this could happen and this binary should work as expected. The build instructions and scripts were changed so while i write documentation on it you can try the binary and check if it works !

@dylanrsmith
Copy link
Contributor Author

Just tested that binary and it works ! I'll close this issue. Thanks!

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

4 participants