casualsnek / onthespot

qt based music downloader written in python
GNU General Public License v2.0
745 stars 54 forks source link

again ... Stuck at 99% #15

Open bingo-66 opened 1 year ago

bingo-66 commented 1 year ago

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 downloadtrack PermissionError: [WinError 32] The process cannot access the file because it is being used by another process:

Could someone help please ?

casualsnek commented 1 year ago

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 1 year ago

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 1 year ago

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 )

TempUser13 commented 1 year ago

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 1 year ago

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 1 year ago

Same issue: PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: '.mp3'

bingo-66 commented 1 year ago

Hi Varun4 - did you test an updated version ? (if so, where can I download this one ?)

mistu01 commented 1 year ago

Here's another log from an another windows user:

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
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 r.s.
Setting table item properties
Parsing queue processor is active !
Main window init completed !
logging in user 'r.s.****@****.***'
Session file exists for user, attempting to use it 'r.s.****@****.***'
Login successful for user 'r.s.****@****.***'
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
Config updated !
URL download clicked with value https://open.spotify.com/track/57pPm9XA43MHndDkyz0Btw?si=e9580fa6e39e4e01
Parsing url 'https://open.spotify.com/track/57pPm9XA43MHndDkyz0Btw?si=e9580fa6e39e4e01'
Parse result for url 'https://open.spotify.com/track/57pPm9XA43MHndDkyz0Btw?si=e9580fa6e39e4e01'-> track, 57pPm9XA43MHndDkyz0Btw
Get track info for track by id '57pPm9XA43MHndDkyz0Btw'
PQP parsinf track : Tomake Chai Female Version:57pPm9XA43MHndDkyz0Btw
Adding item to download queue -> media_type:track, media_id: 57pPm9XA43MHndDkyz0Btw, extra_path:, prefix: True, Prefixvalue: ''
Processing download for track by id '57pPm9XA43MHndDkyz0Btw', Attempt: 0
Get track info for track by id '57pPm9XA43MHndDkyz0Btw'
Force raw is disabled for track by id '57pPm9XA43MHndDkyz0Btw', media converting and tagging will be done !
Converting audio media at 'C:/Users/Admin/Desktop\Madhubanti Bagchi/[2016] Gangster\Madhubanti Bagchi - Gangster - Tomake Chai Female Version.ogg'
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/Admin/Desktop\\Madhubanti Bagchi/[2016] Gangster\\Madhubanti Bagchi - Gangster - Tomake Chai Female Version.ogg'

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 in C:/ffmpeg

casualsnek commented 1 year ago

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 1 year ago

@charityrolfson433 Which ffmpeg is set first in your PATH? I find that windows usually uses the first one that is detected

mistu01 commented 1 year ago

@Sarpar12 I made sure that ffmpeg C:/ffmpeg stays top in PATH variables it won't detect that even though I uninstalled Imagemagick and deleted all it's folder yet, this happens.

casualsnek commented 1 year ago

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, [ #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 Can you please check if this binary downloads properly and provide a feedback !

bingo-66 commented 1 year ago

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 1 year ago

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" @.> Cc: "gerdy" @.>, "Author" @.> 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 [ #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, [ [ #15 (comment) | #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, [ #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 ?

bingo-66 commented 1 year ago

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 1 year ago

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 1 year ago

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 [ #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 [ [ #15 | #15 ] | [ #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, [ [ [ #15 (comment) | #15 (comment) ] | [ #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, [ [ #15 (comment) | #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, [ #15 (comment) | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A3QHHTCHWMEGRK3BTZPO5JDWCROIVANCNFSM6AAAAAARAMDIWU | unsubscribe ] . You are receiving this because you authored the thread. Message ID: **@.***>

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 1 year ago

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 downloadtrack 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\TempMEI92402\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 sendencoded 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 [ #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 [ [ #15 | #15 ] | [ #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, [ [ [ #15 (comment) | #15 (comment) ] | [ #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, [ [ #15 (comment) | #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, [ #15 (comment) | view it on GitHub ] , or [ https://github.com/notifications/unsubscribe-auth/A3QHHTCHWMEGRK3BTZPO5JDWCROIVANCNFSM6AAAAAARAMDIWU | unsubscribe ] . You are receiving this because you authored the thread. Message ID: @._**>

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 !

I've tried the newest build from there and can confirm everything works for me.