Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color issue login page #2428

Open
1 task done
gattolfo98 opened this issue Mar 7, 2025 · 0 comments
Open
1 task done

Color issue login page #2428

gattolfo98 opened this issue Mar 7, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@gattolfo98
Copy link

Is there an existing issue for this? (Please read the description)

  • I have searched the existing issues

Current Behavior

When i try to login with spotify, the page appear but is all blank (the webpage is present, but all element is white)
this on flathub version

Image

Expected Behavior

To have a readable website

Steps to reproduce

  1. opened the app
  2. click on login

Logs

Logs ``` r 1) Too many requests ^

#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1465)
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1332)
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:933)
#3 _parseJson (dart:convert-patch/convert_patch.dart:36)
#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:253)

#10 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


[2025-03-07 23:52:09.473508]---------------------
FormatException: Unexpected character (at character 1)
Too many requests
^

#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1465)
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1332)
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:933)
#3 _parseJson (dart:convert-patch/convert_patch.dart:36)
#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 CursorPages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:292)

#10 SinglePages.stream.handlePageAndGetNext (package:spotify/src/endpoints/endpoint_paging.dart:187)


er/spotify/album/releases.dart:50)

#12 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-03-07 23:52:09.474447]---------------------
FormatException: Unexpected character (at character 1)
Too many requests
^

#0 _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1465)
#1 _ChunkedJsonParser.parseNumber (dart:convert-patch/convert_patch.dart:1332)
#2 _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:933)
#3 _parseJson (dart:convert-patch/convert_patch.dart:36)
#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 Me.get (package:spotify/src/endpoints/me.dart:22)

#10 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-03-07 23:52:09.581392]---------------------
DioException [bad response]: This exception was thrown because the response has a status code of 401 and RequestOptions.validateStatus was configured to throw for this status code.
The status code of 401 has the following meaning: "Client error - the request contains bad syntax or cannot be fulfilled"
Read more about status codes at https://developer.mozilla.org/en-US/docs/Web/HTTP/Status
In order to resolve this exception you typically have either to verify and fix your request code or you have to fix the server code.

#0 DioMixin.fetch (package:dio/src/dio_mixin.dart:520)

#1 CustomSpotifyEndpoints.getFriendActivity (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:113)

#2 FutureHandlerProviderElementMixin.handleFuture.. (package:riverpod/src/async_notifier/base.dart:355)


[2025-03-07 23:52:12.638192]---------------------
PathNotFoundException: Cannot open file, path = '/var/home/gattolfo/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0 _checkForErrorResponse (dart:io/common.dart:55)
#1 _File.open. (dart:io/file_impl.dart:381)
#2 _rootRunUnary (dart:async/zone.dart:1407)

#3 _File.readAsBytes. (dart:io/file_impl.dart:562)

#4 GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)

#5 GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)

#6 DConfClient.read (package:gsettings/src/dconf_client.dart:82)

#7 GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)

#8 GSettings.get (package:gsettings/src/gsettings.dart:124)

#9 getTheme (package:titlebar_buttons/src/get_theme.dart:12)

#10 _RawDecoratedTitlebarButtonState.initState. (package:titlebar_buttons/src/decorated_button.dart:156)


</details>


### Operating System

Fedora silverblue

### Spotube version

v3.9.0  

### Installation source

Flathub (Flatpak)

### Additional information

_No response_

### Self grab

- [ ] I'm ready to work on this issue!
@gattolfo98 gattolfo98 added the bug Something isn't working label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant