[GH-ISSUE #5] Stuck at 99% - PermissionError #4

Closed
opened 2026-03-04 12:27:54 +03:00 by kerem · 7 comments
Owner

Originally created by @dylanrsmith on GitHub (Oct 4, 2022).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/5

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'
Originally created by @dylanrsmith on GitHub (Oct 4, 2022). Original GitHub issue: https://github.com/casualsnek/onthespot/issues/5 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' ```
kerem closed this issue 2026-03-04 12:27:54 +03:00
Author
Owner

@Miollnir commented on GitHub (Oct 4, 2022):

i have the same issue
did u found a fix ?

<!-- gh-comment-id:1266307704 --> @Miollnir commented on GitHub (Oct 4, 2022): i have the same issue did u found a fix ?
Author
Owner

@Ragriod commented on GitHub (Oct 4, 2022):

image

After download the track is stuck with converting at 99%

<!-- gh-comment-id:1266325745 --> @Ragriod commented on GitHub (Oct 4, 2022): ![image](https://user-images.githubusercontent.com/25598754/193723850-02cd6730-17c9-49b8-9f42-1d28485f34a4.png) After download the track is stuck with converting at 99%
Author
Owner

@casualsnek commented on GitHub (Oct 4, 2022):

i have the same issue did u found a fix ?

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

<!-- gh-comment-id:1266337152 --> @casualsnek commented on GitHub (Oct 4, 2022): > i have the same issue did u found a fix ? Maybe yes, i will push a commit in a while which you can test !
Author
Owner

@casualsnek commented on GitHub (Oct 4, 2022):

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

<!-- gh-comment-id:1267001922 --> @casualsnek commented on GitHub (Oct 4, 2022): > ![image](https://user-images.githubusercontent.com/25598754/193723850-02cd6730-17c9-49b8-9f42-1d28485f34a4.png) > > 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
Author
Owner

@Miollnir commented on GitHub (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 👍

<!-- gh-comment-id:1267615524 --> @Miollnir commented on GitHub (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 👍
Author
Owner

@casualsnek commented on GitHub (Oct 5, 2022):

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 !

<!-- gh-comment-id:1268772087 --> @casualsnek commented on GitHub (Oct 5, 2022): > 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 !
Author
Owner

@dylanrsmith commented on GitHub (Oct 6, 2022):

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

<!-- gh-comment-id:1270342541 --> @dylanrsmith commented on GitHub (Oct 6, 2022): Just tested that binary and it works ! I'll close this issue. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/onthespot#4
No description provided.