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

Connot update settings #2361

Open
1 of 2 tasks
FBanitz opened this issue Feb 28, 2025 · 1 comment
Open
1 of 2 tasks

Connot update settings #2361

FBanitz opened this issue Feb 28, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@FBanitz
Copy link

FBanitz commented Feb 28, 2025

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

  • I have searched the existing issues

Current Behavior

I cannot change any settings in the settings page. Dropdowns don't take their new values, toggles don't moves, directory selection don't work, etc.

Image

Expected Behavior

Settings should be updated by the user and feedback should be provided to them as they do.

Steps to reproduce

  1. Open app.

  2. Navigate to settings page using the gear icon net to the profile card.

  3. Try to change any setting.

Logs

Logs
[2025-02-28 16:10:17.196588]---------------------
Null check operator used on a null value
#0      UserPreferencesNotifier._getDefaultDownloadDirectory.<anonymous closure> (package:spotube/provider/user_preferences/user_preferences_provider.dart:79)
#1      _rootRunUnary (dart:async/zone.dart:1407)
<asynchronous suspension>
#2      UserPreferencesNotifier.build.<anonymous closure> (package:spotube/provider/user_preferences/user_preferences_provider.dart:33)
<asynchronous suspension>

----------------------------------------
[2025-02-28 16:10:18.099565]---------------------
NoSuchMethodError: The method '[]' was called on null.
Receiver: null
Tried calling: []("__typename")
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38)
#1      _objectNoSuchMethod (dart:core-patch/object_patch.dart:85)
#2      transformSectionItemTypeJsonMap (package:spotube/models/spotify/home_feed.dart:174)
#3      transformSectionItemJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:220)
#4      MappedIterable.elementAt (dart:_internal/iterable.dart:385)
#5      ListIterator.moveNext (dart:_internal/iterable.dart:354)
#6      WhereIterator.moveNext (dart:_internal/iterable.dart:450)
#7      new _GrowableList._ofOther (dart:core-patch/growable_array.dart:202)
#8      new _GrowableList.of (dart:core-patch/growable_array.dart:152)
#9      new List.of (dart:core-patch/array_patch.dart:39)
#10     Iterable.toList (dart:core/iterable.dart:498)
#11     transformSectionItemJsonMap (package:spotube/models/spotify/home_feed.dart:229)
#12     transformHomeFeedJsonMap.<anonymous closure> (package:spotube/models/spotify/home_feed.dart:241)
#13     MappedIterable.elementAt (dart:_internal/iterable.dart:385)
#14     ListIterator.moveNext (dart:_internal/iterable.dart:354)
#15     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:189)
#16     new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17     new List.of (dart:core-patch/array_patch.dart:39)
#18     ListIterable.toList (dart:_internal/iterable.dart:224)
#19     transformHomeFeedJsonMap (package:spotube/models/spotify/home_feed.dart:244)
#20     CustomSpotifyEndpoints.getHomeFeed (package:spotube/services/custom_spotify_endpoints/spotify_endpoints.dart:164)
<asynchronous suspension>
#21     FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------

Operating System

Windows x64

Spotube version

v3.9.0

Installation source

GitHub Releases (Binary)

Additional information

No response

Self grab

  • I'm ready to work on this issue!
@FBanitz FBanitz added the bug Something isn't working label Feb 28, 2025
@FBanitz
Copy link
Author

FBanitz commented Feb 28, 2025

This issue may be produced by the [UserPreferencesNotifier] crashing on build because of an error while getting the default downloads folder using _getDefaultDownloadDirectory().

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