KRTirtho / spotube

🎧 Open source Spotify client that doesn't require Premium nor uses Electron! Available for both desktop & mobile!
https://spotube.krtirtho.dev/
Other
30.01k stars 1.24k forks source link

[Windows] App Refuses to Open #1786

Open Joni8829 opened 2 months ago

Joni8829 commented 2 months ago

Is there an existing issue for this?

Current Behavior

When I open the app Windows loads for a second, then nothing happens

Expected Behavior

The app should open like normal and let me play music.

Steps to reproduce

  1. I opened the app.
  2. Nothing happened after that.

Operating System

Windows

Spotube version

3.8.0+33

Installation source

Website (spotube.krtirtho.dev)

Additional information

No response

Self grab

Joni8829 commented 2 months ago

vivaldi_JvU3Ry2SDq Here is a GIF that shows what happens when I open the app, in task manager

Joni8829 commented 2 months ago

I have also tried downloading from Winget, GitHub as well as launching the program as Administrator, nothing worked.

KRTirtho commented 2 months ago

I guess it's a caching issue that is causing the issue. Can you try deleting/renaming the C:/Users/<Your User>/AppData/Roaming/oss.krtirtho/spotube folder? Then run the app

KRTirtho commented 2 months ago

If it still doesn't work, can you run the following in Powershell?

& C:/Program Files/Spotube/spotube.exe --verbose | echo

Can you provide me the logs it shows?

Joni8829 commented 2 months ago

If it still doesn't work, can you run the following in Powershell?

& C:/Program Files/Spotube/spotube.exe --verbose | echo

Can you provide me the logs it shows?

C:\Windows\System32>& C:/Program Files/Spotube/spotube.exe --verbose | echo & was unexpected at this time.

C:\Windows\System32>C:/Program Files/Spotube/spotube.exe --verbose | echo 'C:' is not recognized as an internal or external command, operable program or batch file.

C:\Windows\System32>

And the first thing didn't work

Joni8829 commented 2 months ago

PS C:> & Program Files\Spotube\spotube.exe --verbose | echo & : The term 'Program' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:3

Joni8829 commented 2 months ago

spotubelog.txt Uhh, here are my logs

Joni8829 commented 2 months ago

I see a lot of these in my error log, which seems to be a null check operator issue according to ChatGPT, how do I fix it? `[2024-08-11 19:02:51.762572]--------------------- FormatException: Unexpected end of input (at character 1)

^`

Clerynka commented 2 months ago

Same Issue, spotube 3.8.0+33 but also earlier version. 3.7.1 (tried to clean cache as you sugested) but didnt work 3.6.0 works for me ok.

image

from CMD:

image but where log file should be stored? Report.txt

Attached file from report.wer (renamed as txt) which is createing after spotube crash

Bowarc commented 2 months ago

I have the same issue on windows 10.0.19045 x64 It opens with 2 child processes, spotube.exe and WerFault.exe, then closes instantly

TimaProgrammist commented 2 months ago

I've faced the same issue as well

Finite-Code commented 2 months ago

Any fixes? I don't wanna use Spotify :(

Clerynka commented 2 months ago

Any fixes? I don't wanna use Spotify :(

You can uninstall 3.8 and download/install Spotube 3.6 it's latest version that works for me

dave9123 commented 1 month ago

Any fixes? I don't wanna use Spotify :(

https://github.com/SpotX-Official/SpotX

Hi-Phile commented 1 month ago

I normally run Arch Linux and spotube 3.8.0 works great, but I was setting up an old HP Folio 13 for a friend. I encountered this exact issue on Tiny 11 23h2.

Workaround is install 3.6.0:

At the Admin Powershell:

PS C:\Users\Tiny11> winget uninstall spotube
Found Spotube version 3.8.0+33 [KRTirtho.Spotube]
Starting package uninstall...
Successfully uninstalled

PS C:\Users\Tiny11> winget install spotube --version 3.6.0
Found Spotube [KRTirtho.Spotube] Version 3.6.0
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://github.com/KRTirtho/spotube/releases/download/v3.6.0/Spotube-windows-x86_64-setup.exe
  ██████████████████████████████  23.9 MB / 23.9 MB
Successfully verified installer hash
Starting package install...
Successfully installed
Finite-Code commented 1 month ago

Any fixes? I don't wanna use Spotify :(

You can uninstall 3.8 and download/install Spotube 3.6 it's latest version that works for me

yeah seems to be the only temporary fix right now!

Bowarc commented 2 weeks ago

Any news ?

Have you tried with the latest (3.8.2) version ?

If it still doesn't work:

KRTirtho commented 2 weeks ago

@Joni8829 seeing your logfile looks like the app can't access certain endpoints. All the requests are failing. Did you allow it outbound access that Windows Firewall showed when first opened the app?

Clerynka commented 2 weeks ago

well there is / was no Windows Firewall popup.

1 im installing 3.8.2 - it's dead on run 2 uninstalling 3.8.2 and installing 3.6.x worked ok (technically but since few days it also stopped to playback)