mirror of
https://github.com/casualsnek/onthespot.git
synced 2026-04-26 20:45:56 +03:00
[GH-ISSUE #15] again ... Stuck at 99% #9
Labels
No labels
Feedback requested
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/onthespot#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bingo-66 on GitHub (Oct 8, 2022).
Original GitHub issue: https://github.com/casualsnek/onthespot/issues/15
Sorry that I have to reopen this issue ... I noticed that this was happening before and ...'fixed' ... with that latest release ... but unfortunately this is still gving the same problem at my end.
I tried that V 0.3 and did also try the manual ffmpeg. I start with admin rights but still get this below error. (reboots and restarts do not help)
_During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "spotutils.py", line 405, in run
File "spotutils.py", line 340, in download_track
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process:_
Could someone help please ?
@casualsnek commented on GitHub (Oct 8, 2022):
I am currently looking into this issue and try to fix it asap !
This issue is windows specific and i don't have access to windows system making me unable to debug it properly :(
@doshmeister commented on GitHub (Oct 9, 2022):
Just to add to this, I'm also a windows user and I noticed that when it reaches 99% the audio file does show up for me in the selected directory, but it doesn't download another song until I restart onthespot.
@casualsnek commented on GitHub (Oct 9, 2022):
I can give you binary built on current development branch, can you please try and see if it works ? ( Recommended to enable advanced configuration and reset config )
@TempUser13 commented on GitHub (Oct 10, 2022):
A program has a handle on the file that was made. Make sure nothing is using the file. If it still happens, you need to find what application has a handle on the file by pressing the windows key + r, type in "resmon" and press enter. Go to the CPU tab, expand "associated handles" and type in the file name which is having an issue then it will tell you what process is using the file. You can then click "End Process" which will remove the handle on the file allowing onthespot to access and modify the file.
@bingo-66 commented on GitHub (Oct 10, 2022):
Hi,
Sure I am willing to try that binary built ...
Could you please tell me where I can download that built ?
rgds
Van: "Casu Al Snek" @.>
Aan: "casualsnek/onthespot" @.>
Verzonden: Maandag 10 oktober 2022 01:56:54
Onderwerp: Re: [casualsnek/onthespot] again ... Stuck at 99% (Issue #15)
Just to add to this, I'm also a windows user and I noticed that when it reaches 99% the audio file does show up for me in the selected directory, but it doesn't download another song until I restart onthespot.
I can give you binary built on current development branch, can you please try and see if it works ? ( Recommended to enable advanced configuration and reset config )
—
Reply to this email directly, [ https://github.com/casualsnek/onthespot/issues/15#issuecomment-1272657279 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A3QHHTDOEQ3QLO6QMCFBD7DWCNLUNANCNFSM6AAAAAARAMDIWU | unsubscribe ] .
You are receiving this because you authored the thread. Message ID: @.***>
@varun4 commented on GitHub (Oct 10, 2022):
Same issue:
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '.mp3'
@bingo-66 commented on GitHub (Oct 10, 2022):
Hi Varun4 - did you test an updated version ? (if so, where can I download this one ?)
@mistu01 commented on GitHub (Oct 10, 2022):
Here's another log from an another windows user:
I set the format to OGG and the file is downloaded but there's no album art (i guess there's our converting and stuck at 99% problem exists).
Also to mention that
AudioSegment Config: C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\ffmpeg.exe, C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\ffmpeg.exe, C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\ffprobe.exe<_> my ffmpeg is properly installed inC:/ffmpeg@casualsnek commented on GitHub (Oct 10, 2022):
I think i have found the issue for windows and am working on getting a build, build might take a little i will update my comment when it's done !
@Sarpar12 commented on GitHub (Oct 10, 2022):
@charityrolfson433 Which ffmpeg is set first in your PATH? I find that windows usually uses the first one that is detected
@mistu01 commented on GitHub (Oct 10, 2022):
@Sarpar12 I made sure that ffmpeg
C:/ffmpegstays top inPATHvariablesit won't detect that even though I uninstalled
Imagemagickand deleted all it's folder yet, this happens.@casualsnek commented on GitHub (Oct 10, 2022):
Here it is: https://ufile.io/5ps4aw9j
Can you please check if this binary downloads properly and provide a feedback !
@bingo-66 commented on GitHub (Oct 10, 2022):
Here my feedback after retry with the new version :
AudioSegment Config: C:\Users\gerdy\AppData\Local\Temp_MEI92402\bin\ffmpeg\ffmpeg.exe, C:\Users\gerdy\AppData\Local\Temp_MEI92402\bin\ffmpeg\ffmpeg.exe, C:\Users\gerdy\AppData\Local\Temp_MEI92402\bin\ffmpeg\ffprobe.exe
Starting application in 3...2....1
Initialising main window
Loading configurations..
Config filled to UI
Preparing session loader
Preparing parsing queue processor
Session loader has started !
Trying to create session for dera
Setting table item properties
Parsing queue processor is active !
Main window init completed !
logging in user 'dera****@.'
Session file exists for user, attempting to use it 'dera***@.'
Login successful for user 'dera***@*.'
Accounts table was populated !
Building downloader threads
Session pool not empty ! Reset not implemented
Spwaning 1 downloaders !
Spwaning DL WORKER 1 using session_index: 0
Download worker DL WORKER 1 is running
Exception in thread session-packet-receiver:
Traceback (most recent call last):
File "threading.py", line 1016, in _bootstrap_inner
File "threading.py", line 953, in run
File "librespot\core.py", line 1629, in run
File "librespot\crypto.py", line 58, in receive_encoded
File "librespot\core.py", line 1533, in read
ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine
URL download clicked with value https://open.spotify.com/album/1kGmtBH2FTYP90uO3Zg6Fc
Parsing url 'https://open.spotify.com/album/1kGmtBH2FTYP90uO3Zg6Fc'
Parse result for url 'https://open.spotify.com/album/1kGmtBH2FTYP90uO3Zg6Fc'-> album, 1kGmtBH2FTYP90uO3Zg6Fc
Get album info from album by id ''1kGmtBH2FTYP90uO3Zg6Fc'
Uncaught exception
Traceback (most recent call last):
File "onthespot.py", line 95, in run
File "spotutils.py", line 67, in get_album_name
File "librespot\core.py", line 1815, in get
File "librespot\core.py", line 1830, in get_token
File "librespot\mercury.py", line 183, in send_sync_json
File "librespot\mercury.py", line 171, in send_sync
File "librespot\mercury.py", line 158, in send
File "librespot\core.py", line 985, in send
File "librespot\core.py", line 1060, in __send_unchecked
File "librespot\crypto.py", line 45, in send_encoded
File "librespot\core.py", line 1522, in flush
ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
I hope this helps.
rgds
Van: "Casu Al Snek" @.>
Aan: "casualsnek/onthespot" @.>
Verzonden: Maandag 10 oktober 2022 20:12:17
Onderwerp: Re: [casualsnek/onthespot] again ... Stuck at 99% (Issue #15)
Hi, Sure I am willing to try that binary built ... Could you please tell me where I can download that built ? rgds Van: "Casu Al Snek" @ . > Aan: "casualsnek/onthespot" @ . > Verzonden: Maandag 10 oktober 2022 01:56:54 Onderwerp: Re: [casualsnek/onthespot] again ... Stuck at 99% (Issue [ https://github.com/casualsnek/onthespot/issues/15 | #15 ] ) Just to add to this, I'm also a windows user and I noticed that when it reaches 99% the audio file does show up for me in the selected directory, but it doesn't download another song until I restart onthespot. I can give you binary built on current development branch, can you please try and see if it works ? ( Recommended to enable advanced configuration and reset config ) — Reply to this email directly, [ [ https://github.com/casualsnek/onthespot/issues/15#issuecomment-1272657279 | #15 (comment) ] | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A3QHHTDOEQ3QLO6QMCFBD7DWCNLUNANCNFSM6AAAAAARAMDIWU | unsubscribe ] . You are receiving this because you authored the thread. Message ID: @ .***>
Here it is: [ https://ufile.io/5ps4aw9j | https://ufile.io/5ps4aw9j ]
Can you please check if this binary downloads properly and provide a feedback !
—
Reply to this email directly, [ https://github.com/casualsnek/onthespot/issues/15#issuecomment-1273660658 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A3QHHTAOB2IS6NYTLXXYJBLWCRMADANCNFSM6AAAAAARAMDIWU | unsubscribe ] .
You are receiving this because you authored the thread. Message ID: @.***>
@casualsnek commented on GitHub (Oct 10, 2022):
This looks like temporary connection error, can you try restarting application, try again and see if it works ?
@bingo-66 commented on GitHub (Oct 11, 2022):
Hi,
If I can help you to deliver some logging, let me know.
Really appreciate your effort.
Kindly regards,
gerdy
Van: "Casu Al Snek" @.>
Aan: "casualsnek/onthespot" @.>
Cc: "gerdy" @.>, "Author" @.>
Verzonden: Zondag 9 oktober 2022 00:04:46
Onderwerp: Re: [casualsnek/onthespot] again ... Stuck at 99% (Issue #15)
I am currently looking into this issue and try to fix it asap !
This issue is windows specific and i don't have access to windows system making me unable to debug it properly :(
—
Reply to this email directly, [ https://github.com/casualsnek/onthespot/issues/15#issuecomment-1272404425 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A3QHHTB5NJMBNAAXEQO5G5TWCHVX5ANCNFSM6AAAAAARAMDIWU | unsubscribe ] .
You are receiving this because you authored the thread. Message ID: @.***>
@bingo-66 commented on GitHub (Oct 11, 2022):
Hmmm - not good yet :
AudioSegment Config: C:\Users\gerdy\AppData\Local\Temp_MEI92402\bin\ffmpeg\ffmpeg.exe, C:\Users\gerdy\AppData\Local\Temp_MEI92402\bin\ffmpeg\ffmpeg.exe, C:\Users\gerdy\AppData\Local\Temp_MEI92402\bin\ffmpeg\ffprobe.exe
Starting application in 3...2....1
Initialising main window
Loading configurations..
Config filled to UI
Preparing session loader
Preparing parsing queue processor
Session loader has started !
Setting table item properties
Parsing queue processor is active !
Trying to create session for dera
Main window init completed !
logging in user 'dera****@.'
Session file exists for user, attempting to use it 'dera***@.'
Login successful for user 'dera***@*.'
Accounts table was populated !
Building downloader threads
Session pool not empty ! Reset not implemented
Spwaning 1 downloaders !
Spwaning DL WORKER 1 using session_index: 0
Download worker DL WORKER 1 is running
Search clicked with value son mieux
Get search result for term 'son mieux', max items '50'
Mass download for albums was clicked.. Here hangs up the applicationn
Uncaught exception
Traceback (most recent call last):
File "onthespot.py", line 193, in
File "onthespot.py", line 670, in __mass_action_dl
NameError: name 'rel_year' is not defined
Mass download for albums was clicked.. Here hangs up the applicationn
Uncaught exception
Traceback (most recent call last):
File "onthespot.py", line 193, in
File "onthespot.py", line 670, in __mass_action_dl
NameError: name 'rel_year' is not defined
Get album info from album by id ''4KqfItdGxHtbVqRe3rQ0zy'
Get tracks from album by id '4KqfItdGxHtbVqRe3rQ0zy'
PQP parsing album : Hiding:4KqfItdGxHtbVqRe3rQ0zy, track item: Hiding:7fIA6FdZdrNd8MWJJyax2d
Adding item to download queue -> media_type:track, media_id: 7fIA6FdZdrNd8MWJJyax2d, extra_path:Son Mieux/[2017] Hiding, prefix: False, Prefixvalue: ''
Processing download for track by id '7fIA6FdZdrNd8MWJJyax2d', Attempt: 0
Get track info for track by id '7fIA6FdZdrNd8MWJJyax2d'
Force raw is disabled for track by id '7fIA6FdZdrNd8MWJJyax2d', media converting and tagging will be done !
Converting audio media at 'C:/Users/gerdy\Son Mieux/[2017] Hiding\Son Mieux - Hiding - Hiding.mp3'
Uncaught exception
Traceback (most recent call last):
File "spotutils.py", line 312, in download_track
File "spotutils.py", line 100, in convert_audio_format
File "pydub\audio_segment.py", line 766, in from_file
File "subprocess.py", line 969, in init
File "subprocess.py", line 1438, in _execute_child
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "spotutils.py", line 405, in run
File "spotutils.py", line 340, in download_track
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:/Users/gerdy\Son Mieux/[2017] Hiding\Son Mieux - Hiding - Hiding.mp3'
Van: "Casu Al Snek" @.>
Aan: "casualsnek/onthespot" @.>
Cc: "gerdy" @.>, "Author" @.>
Verzonden: Maandag 10 oktober 2022 20:31:38
Onderwerp: Re: [casualsnek/onthespot] again ... Stuck at 99% (Issue #15)
Here my feedback after retry with the new version : AudioSegment Config: C:\Users\gerdy\AppData\Local\Temp_MEI92402\bin\ffmpeg\ffmpeg.exe, C:\Users\gerdy\AppData\Local\Temp_MEI92402\bin\ffmpeg\ffmpeg.exe, C:\Users\gerdy\AppData\Local\Temp_MEI92402\bin\ffmpeg\ffprobe.exe Starting application in 3...2....1 Initialising main window Loading configurations.. Config filled to UI Preparing session loader Preparing parsing queue processor Session loader has started ! Trying to create session for dera Setting table item properties Parsing queue processor is active ! Main window init completed ! logging in user 'dera****@ . ' Session file exists for user, attempting to use it 'dera ***@ . ' Login successful for user 'dera ***@ . ' Accounts table was populated ! Building downloader threads Session pool not empty ! Reset not implemented Spwaning 1 downloaders ! Spwaning DL WORKER 1 using session_index: 0 Download worker DL WORKER 1 is running Exception in thread session-packet-receiver: Traceback (most recent call last): File "threading.py", line 1016, in _bootstrap_inner File "threading.py", line 953, in run File "librespot\core.py", line 1629, in run File "librespot\crypto.py", line 58, in receive_encoded File "librespot\core.py", line 1533, in read ConnectionAbortedError: [WinError 10053] An established connection was aborted by the software in your host machine URL download clicked with value [ https://open.spotify.com/album/1kGmtBH2FTYP90uO3Zg6Fc | https://open.spotify.com/album/1kGmtBH2FTYP90uO3Zg6Fc ] Parsing url ' [ https://open.spotify.com/album/1kGmtBH2FTYP90uO3Zg6Fc | https://open.spotify.com/album/1kGmtBH2FTYP90uO3Zg6Fc ] ' Parse result for url ' [ https://open.spotify.com/album/1kGmtBH2FTYP90uO3Zg6Fc'-%3E | https://open.spotify.com/album/1kGmtBH2FTYP90uO3Zg6Fc'-> ] album, 1kGmtBH2FTYP90uO3Zg6Fc Get album info from album by id ''1kGmtBH2FTYP90uO3Zg6Fc' Uncaught exception Traceback (most recent call last): File "onthespot.py", line 95, in run File "spotutils.py", line 67, in get_album_name File "librespot\core.py", line 1815, in get File "librespot\core.py", line 1830, in get_token File "librespot\mercury.py", line 183, in send_sync_json File "librespot\mercury.py", line 171, in send_sync File "librespot\mercury.py", line 158, in send File "librespot\core.py", line 985, in send File "librespot\core.py", line 1060, in __send_unchecked File "librespot\crypto.py", line 45, in send_encoded File "librespot\core.py", line 1522, in flush ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host I hope this helps. rgds Van: "Casu Al Snek" @ . > Aan: "casualsnek/onthespot" @ . > Cc: "gerdy" @ . >, "Author" @ . > Verzonden: Maandag 10 oktober 2022 20:12:17 Onderwerp: Re: [casualsnek/onthespot] again ... Stuck at 99% (Issue [ https://github.com/casualsnek/onthespot/issues/15 | #15 ] ) Hi, Sure I am willing to try that binary built ... Could you please tell me where I can download that built ? rgds Van: "Casu Al Snek" @ . > Aan: "casualsnek/onthespot" @ . > Verzonden: Maandag 10 oktober 2022 01:56:54 Onderwerp: Re: [casualsnek/onthespot] again ... Stuck at 99% (Issue [ [ https://github.com/casualsnek/onthespot/issues/15 | #15 ] | [ https://github.com/casualsnek/onthespot/issues/15 | #15 ] ] ) Just to add to this, I'm also a windows user and I noticed that when it reaches 99% the audio file does show up for me in the selected directory, but it doesn't download another song until I restart onthespot. I can give you binary built on current development branch, can you please try and see if it works ? ( Recommended to enable advanced configuration and reset config ) — Reply to this email directly, [ [ [ https://github.com/casualsnek/onthespot/issues/15#issuecomment-1272657279 | #15 (comment) ] | [ https://github.com/casualsnek/onthespot/issues/15 | #15 ] (comment) ] | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A3QHHTDOEQ3QLO6QMCFBD7DWCNLUNANCNFSM6AAAAAARAMDIWU | unsubscribe ] . You are receiving this because you authored the thread. Message ID: @ . > Here it is: [ https://ufile.io/5ps4aw9j | https://ufile.io/5ps4aw9j ] Can you please check if this binary downloads properly and provide a feedback ! — Reply to this email directly, [ [ https://github.com/casualsnek/onthespot/issues/15#issuecomment-1273660658 | #15 (comment) ] | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A3QHHTAOB2IS6NYTLXXYJBLWCRMADANCNFSM6AAAAAARAMDIWU | unsubscribe ] . You are receiving this because you authored the thread. Message ID: @ . *>
This looks like temporary connection error, can you try restarting application, try again and see if it works ?
—
Reply to this email directly, [ https://github.com/casualsnek/onthespot/issues/15#issuecomment-1273676986 | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A3QHHTCHWMEGRK3BTZPO5JDWCROIVANCNFSM6AAAAAARAMDIWU | unsubscribe ] .
You are receiving this because you authored the thread. Message ID: @.***>
@casualsnek commented on GitHub (Oct 12, 2022):
There were a lot of changes on development branch, can you try this binary build: https://ufile.io/pv9bfvan ?
This build is based off latest commit commit in development branch !
@TarifaTheInsane commented on GitHub (Oct 13, 2022):
I've tried the newest build from there and can confirm everything works for me.