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.55k stars 1.26k forks source link

App doesn't load the content #1357

Open 77asadian opened 7 months ago

77asadian commented 7 months ago

Is there an existing issue for this?

Current Behavior

Hay. Spotube won't work on my system. I'm currently using Windows 11 version 23H2 and the latest version of the Spotube. App stucks on loading the contents and nothing loads. There's just a spinning circle in the bottom left. I tested the app with and without a VPN but the issue exists. What should I do?

Expected Behavior

I want the contents to be loaded.

Steps to reproduce

  1. I opened the app and it didn't work.

Operating System

Windows 11

Spotube version

23H2

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

rubikJ commented 7 months ago

I have the same problem Windows 11 also

Stauber382 commented 7 months ago

I have the same issue on Linux Tumbleweed. After installation it works one time, after restarting issue as published above. Would be great to have a solution for this :-) Love your software.

Peperehobbits01 commented 7 months ago

You put the version of Windows 11 not the version of Spotube in Spotube version because there is no 23H2 version, it's 3.5.0 or 3.4.1 for exemple, look in the settings in the about section.

Peperehobbits01 commented 7 months ago

@Stauber382 did you made a update of the linux core between the two launch?

Stauber382 commented 7 months ago

Hi, no, I didn´t make any update inbeetween. When I deinstall it and do a reinstall the first time the content loads on every page. After closing the app or a system restart the content does not load (see attached file). And it is not possible to click on play. I can only start the last song which was played when closed. Do you need some further infos? Thanks for your efforts! Screenshot_20240403_104217

Peperehobbits01 commented 7 months ago

That's realy weird, to help finding what is causing this issues could you send the latest log you have of the app please.

Stauber382 commented 7 months ago

Hey,

I can send you following logs (4 different kind of errors logged): I don't use gnome, actually I use KDE Plasma 6.0.3. I can just see that one directory/file seems to be missing and was not created in my user folder. Maybe I could try to install it out of package and not from flatpak.

Greetings,

Stefan

============================== CATCHER 2 LOG ============================== ------- DEVICE INFO ------- name: GNOME version: 45 (Flatpak runtime) id: org.gnome.Platform idLike: null versionCodename: null versionId: 45 prettyName: GNOME 45 (Flatpak runtime) buildId: null variant: null variantId: null machineId: ffbffd065fcd44948e26eb7ac8ea30d4 ------- APP INFO ------- environment: release version: 3.5.0 appName: spotube buildNumber: 29 packageName: spotube ---------- ERROR ---------- PathNotFoundException: Cannot open file, path = '/home/stefan/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: Datei oder Verzeichnis nicht gefunden, errno = 2) ------- STACK TRACE -------

0 _checkForErrorResponse (dart:io/common.dart:55)

1 _File.open. (dart:io/file_impl.dart:381)

#2 _File.readAsBytes. (dart:io/file_impl.dart:562) #3 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30) #4 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20) #5 DConfClient.read (package:gsettings/src/dconf_client.dart:82) #6 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23) #7 GSettings.get (package:gsettings/src/gsettings.dart:124) #8 getTheme (package:titlebar_buttons/src/get_theme.dart:12) #9 _RawDecoratedTitlebarButtonState.initState. (package:titlebar_buttons/src/decorated_button.dart:156) ------- CUSTOM INFO ------- ============================== CATCHER 2 LOG ============================== ------- DEVICE INFO ------- name: GNOME version: 45 (Flatpak runtime) id: org.gnome.Platform idLike: null versionCodename: null versionId: 45 prettyName: GNOME 45 (Flatpak runtime) buildId: null variant: null variantId: null machineId: ffbffd065fcd44948e26eb7ac8ea30d4 ------- APP INFO ------- environment: release version: 3.5.0 appName: spotube buildNumber: 29 packageName: spotube ---------- ERROR ---------- Error Code: 403 Forbidden. ------- STACK TRACE ------- #0 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:282) #1 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256) #2 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210) #3 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:236) #4 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:171) ------- CUSTOM INFO ------- ============================ ============================== CATCHER 2 LOG ============================== ------- DEVICE INFO ------- name: GNOME version: 45 (Flatpak runtime) id: org.gnome.Platform idLike: null versionCodename: null versionId: 45 prettyName: GNOME 45 (Flatpak runtime) buildId: null variant: null variantId: null machineId: ffbffd065fcd44948e26eb7ac8ea30d4 ------- APP INFO ------- environment: release version: 3.5.0 appName: spotube buildNumber: 29 packageName: spotube ---------- ERROR ---------- FormatException: Unexpected character (at character 1) Too many requests ^ ------- STACK TRACE ------- #0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1376) #1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1243) #2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:908) #3 _parseJson (dart:convert-patch/convert_patch.dart:35) #4 JsonDecoder.convert (dart:convert/json.dart:610) #5 JsonCodec.decode (dart:convert/json.dart:216) #6 SpotifyApiBase.handleResponseWithBody (package:spotify/src/spotify_base.dart:276) #7 SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:256) #8 SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:210) #9 Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:236) #10 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:171) ------- CUSTOM INFO ------- ============================== CATCHER 2 LOG ============================== ------- DEVICE INFO ------- name: GNOME version: 45 (Flatpak runtime) id: org.gnome.Platform idLike: null versionCodename: null versionId: 45 prettyName: GNOME 45 (Flatpak runtime) buildId: null variant: null variantId: null machineId: ffbffd065fcd44948e26eb7ac8ea30d4 ------- APP INFO ------- environment: release version: 3.5.0 appName: spotube buildNumber: 29 packageName: spotube ---------- ERROR ---------- PathNotFoundException: Cannot retrieve length of file, path = 'imageUrl' (OS Error: Datei oder Verzeichnis nicht gefunden, errno = 2) ------- STACK TRACE ------- #0 _checkForErrorResponse (dart:io/common.dart:55) #1 _File.length. (dart:io/file_impl.dart:389) #2 FileImage._loadAsync (package:flutter/src/painting/image_provider.dart:1484) #3 MultiFrameImageStreamCompleter._handleCodecReady (package:flutter/src/painting/image_stream.dart:985) ------- CUSTOM INFO ------- Am Mittwoch, dem 03.04.2024 um 01:51 -0700 schrieb Peperehobbit01: > That's realy weird, to help finding what is causing this issues could you send the latest log you > have of the app please. > — > Reply to this email directly, view it on GitHub [1], or unsubscribe [2]. > You are receiving this because you were mentioned.Message ID: > ***@***.***> [1] view it on GitHub https://github.com/KRTirtho/spotube/issues/1357#issuecomment-2033951812 [2] unsubscribe https://github.com/notifications/unsubscribe-auth/AYS5EQAR2OXLCFY6U4LZBZDY3O7HVAVCNFSM6AAAAABFIMQXN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZTHE2TCOBRGI
Peperehobbits01 commented 7 months ago

If you use KDE plasma they yes try the packages version for the distro you are using.

77asadian commented 7 months ago

You put the version of Windows 11 not the version of Spotube in Spotube version because there is no 23H2 version, it's 3.5.0 or 3.4.1 for exemple, look in the settings in the about section.

I installed the latest version of spotube 3.5.0

77asadian commented 7 months ago

Screenshot 2024-04-03 125125 Here is an image of the app when I open it.

Stauber382 commented 7 months ago

If you use KDE plasma they yes try the packages version for the distro you are using.

Sadly I am unable to install because the dependency jsoncpp is not fullfilled. I cannot find it anywhere to install it and the library (libjsoncpp25) was not sufficient to fullfill this dependency. Can you tell me what package is needed for that? Thanks in advance. Anyway, the screen on windows looks the same like mine.

Stauber382 commented 7 months ago

BTW: I installed it on my Debian-based system and I am encountering the same issues, no matter if I install it from flatpak or by .deb package :-(

Peperehobbits01 commented 7 months ago

Screenshot 2024-04-03 125125 Here is an image of the app when I open it.

Did you got a error message that popup?

Peperehobbits01 commented 7 months ago

If you use KDE plasma they yes try the packages version for the distro you are using.

Sadly I am unable to install because the dependency jsoncpp is not fullfilled. I cannot find it anywhere to install it and the library (libjsoncpp25) was not sufficient to fullfill this dependency. Can you tell me what package is needed for that? Thanks in advance. Anyway, the screen on windows looks the same like mine.

I tried installing the .deb version myself a couple of weeks ago and found the same issues, but because the flatpak version was working I had not changed anything but now, next day, when I will be at my home whit my computer that is on Linux Mint, and not the laptop that I am using right now because it's on Windows xD. I will look to find a solution to this, and open a issues in the repos, so other devs can maybe work on fixing the issues themselves I guess and also it that way I am not gonna put my discovery for that other problem in this issues to avoid a giant mess xD.

Stauber382 commented 7 months ago

Sounds great. Thanks for your effort- Hope it will fix the problems because I like your work!

Peperehobbits01 commented 7 months ago

OK so i opened a issues the other day for the problem, and well the reason is that version older than 22.04 of Ubuntu and the one based of Ubuntu that are using lower version than 22.04 of Ubuntu as based are not supported. Here is the issues by the way #1373 . So look on the internet for your distro if you are using Ubuntu 22.04 or higher if yes well create a issues because it's a bug, if not, well it's normal and for the before problem, I have not advance on that yet but we still no that it hapends on flatpak and Windows tho, but it may not be for the same reason. So next step is to look into that, but it's gonna take me more time tho.