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

Songs not playing on flatpak version #2604

Open
1 of 2 tasks
MarekChyra opened this issue Mar 26, 2025 · 0 comments
Open
1 of 2 tasks

Songs not playing on flatpak version #2604

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

Comments

@MarekChyra
Copy link

MarekChyra commented Mar 26, 2025

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

  • I have searched the existing issues

Current Behavior

When I try to play a song or playlist, it doesn't queue up or start playing.

Expected Behavior

It should play the song/playlist.

Steps to reproduce

  1. Open app
  2. Click play on any song or playlist
  3. Wait for a little bit
  4. Stops the loading animation and nothing happens

Logs

Logs
[2025-03-26 17:45:25.056948]---------------------
org.freedesktop.DBus.Error.ServiceUnknown: org.freedesktop.DBus.Error.ServiceUnknown
#0      DBusClient._callMethod (package:dbus/src/dbus_client.dart:1120)
<asynchronous suspension>
#1      DBusClient.callMethod (package:dbus/src/dbus_client.dart:621)
<asynchronous suspension>
#2      DBusRemoteObjectManager.getManagedObjects (package:dbus/src/dbus_remote_object_manager.dart:80)
<asynchronous suspension>
#3      NetworkManagerClient.connect (package:nm/src/network_manager_client.dart:2351)
<asynchronous suspension>
#4      ConnectivityPlusLinuxPlugin._startListenConnectivity (package:connectivity_plus/src/connectivity_plus_linux.dart:73)
<asynchronous suspension>

----------------------------------------
[2025-03-26 17:45:25.149927]---------------------
PathNotFoundException: Cannot open file, path = '/home/marek/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:58)
#1      _File.open.<anonymous closure> (dart:io/file_impl.dart:441)
#2      _rootRunUnary (dart:async/zone.dart:1538)
<asynchronous suspension>
#3      _File.readAsBytes.<anonymous closure> (dart:io/file_impl.dart:648)
<asynchronous suspension>
#4      GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)
<asynchronous suspension>
#5      GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)
<asynchronous suspension>
#6      DConfClient.read (package:gsettings/src/dconf_client.dart:82)
<asynchronous suspension>
#7      GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)
<asynchronous suspension>
#8      GSettings.get (package:gsettings/src/gsettings.dart:124)
<asynchronous suspension>
#9      getTheme (package:titlebar_buttons/src/get_theme.dart:12)
<asynchronous suspension>
#10     _RawDecoratedTitlebarButtonState.initState.<anonymous closure> (package:titlebar_buttons/src/decorated_button.dart:156)
<asynchronous suspension>

----------------------------------------
[2025-03-26 17:45:26.470388]---------------------
PathNotFoundException: Cannot open file, path = '/home/marek/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:58)
#1      _File.open.<anonymous closure> (dart:io/file_impl.dart:441)
#2      _rootRunUnary (dart:async/zone.dart:1538)
<asynchronous suspension>
#3      _File.readAsBytes.<anonymous closure> (dart:io/file_impl.dart:648)
<asynchronous suspension>
#4      GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)
<asynchronous suspension>
#5      GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)
<asynchronous suspension>
#6      DConfClient.read (package:gsettings/src/dconf_client.dart:82)
<asynchronous suspension>
#7      GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)
<asynchronous suspension>
#8      GSettings.get (package:gsettings/src/gsettings.dart:124)
<asynchronous suspension>
#9      getTheme (package:titlebar_buttons/src/get_theme.dart:12)
<asynchronous suspension>
#10     _RawDecoratedTitlebarButtonState.initState.<anonymous closure> (package:titlebar_buttons/src/decorated_button.dart:156)
<asynchronous suspension>

----------------------------------------
[2025-03-26 17:45:41.886884]---------------------
Bad state: No element
#0      List.first (dart:core-patch/growable_array.dart:348)
#1      YoutubeSourcedTrack.toSourceMap (package:spotube/services/sourced_track/sources/youtube.dart:142)
#2      YoutubeSourcedTrack.toSiblingType (package:spotube/services/sourced_track/sources/youtube.dart:165)
<asynchronous suspension>
#3      YoutubeSourcedTrack.fetchSiblings (package:spotube/services/sourced_track/sources/youtube.dart:252)
<asynchronous suspension>
#4      YoutubeSourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sources/youtube.dart:81)
<asynchronous suspension>
#5      SourcedTrack.fetchFromTrack (package:spotube/services/sourced_track/sourced_track.dart:126)
<asynchronous suspension>
#6      SourcedTrackNotifier.build (package:spotube/provider/server/sourced_track.dart:27)
<asynchronous suspension>
#7      FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

----------------------------------------
[2025-03-26 17:45:47.629044]---------------------
PathNotFoundException: Cannot open file, path = '/home/marek/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
#0      _checkForErrorResponse (dart:io/common.dart:58)
#1      _File.open.<anonymous closure> (dart:io/file_impl.dart:441)
#2      _rootRunUnary (dart:async/zone.dart:1538)
<asynchronous suspension>
#3      _File.readAsBytes.<anonymous closure> (dart:io/file_impl.dart:648)
<asynchronous suspension>
#4      GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)
<asynchronous suspension>
#5      GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)
<asynchronous suspension>
#6      DConfClient.read (package:gsettings/src/dconf_client.dart:82)
<asynchronous suspension>
#7      GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)
<asynchronous suspension>
#8      GSettings.get (package:gsettings/src/gsettings.dart:124)
<asynchronous suspension>
#9      getTheme (package:titlebar_buttons/src/get_theme.dart:12)
<asynchronous suspension>
#10     _RawDecoratedTitlebarButtonState.initState.<anonymous closure> (package:titlebar_buttons/src/decorated_button.dart:156)
<asynchronous suspension>

----------------------------------------
[2025-03-26 17:45:47.871407]---------------------
type 'Null' is not a subtype of type 'String' in type cast
#0      _$$InvidiousMonitorImplFromJson (package:invidious/src/models/model.g.dart:477)
#1      new _$InvidiousMonitorImpl.fromJson (package:invidious/src/models/model.freezed.dart:5728)
#2      _$InvidiousMonitorFromJson (package:invidious/src/models/model.freezed.dart:5309)
#3      new InvidiousMonitor.fromJson (package:invidious/src/models/responses/instance.dart:128)
#4      _$$InvidiousInstanceDetailsImplFromJson (package:invidious/src/models/model.g.dart:361)
#5      new _$InvidiousInstanceDetailsImpl.fromJson (package:invidious/src/models/model.freezed.dart:4092)
#6      _$InvidiousInstanceDetailsFromJson (package:invidious/src/models/model.freezed.dart:3858)
#7      new InvidiousInstanceDetails.fromJson (package:invidious/src/models/responses/instance.dart:28)
#8      _$$InvidiousInstanceResponseImplFromJson (package:invidious/src/models/model.g.dart:336)
#9      new _$InvidiousInstanceResponseImpl.fromJson (package:invidious/src/models/model.freezed.dart:3792)
#10     _$InvidiousInstanceResponseFromJson (package:invidious/src/models/model.freezed.dart:3668)
#11     new InvidiousInstanceResponse.fromJson (package:invidious/src/models/responses/instance.dart:11)
#12     InstancesEndpoint.instances.<anonymous closure> (package:invidious/src/endpoints/instances.dart:13)
#13     MappedIterable.elementAt (dart:_internal/iterable.dart:402)
#14     ListIterator.moveNext (dart:_internal/iterable.dart:371)
#15     new _GrowableList._ofEfficientLengthIterable (dart:core-patch/growable_array.dart:190)
#16     new _GrowableList.of (dart:core-patch/growable_array.dart:150)
#17     new List.of (dart:core-patch/array_patch.dart:40)
#18     ListIterable.toList (dart:_internal/iterable.dart:224)
#19     InstancesEndpoint.instances (package:invidious/src/endpoints/instances.dart:17)
<asynchronous suspension>
#20     invidiousInstancesProvider.<anonymous closure> (package:spotube/provider/audio_player/sources/invidious_instances_provider.dart:7)
<asynchronous suspension>
#21     FutureHandlerProviderElementMixin.handleFuture.<anonymous closure>.<anonymous closure> (package:riverpod/src/async_notifier/base.dart:355)
<asynchronous suspension>

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

Operating System

Fedora Linux 40, Linux 6.11.4-201.fsync.fc40.x86_64, KDE Plasma 6.3.3, Wayland

Spotube version

v4.0.2

Installation source

Flathub (Flatpak)

Additional information

I tried installing the .rpm package (it was a pain in the a** because I was missing the libmpv dependency or something, even though I have mpv and mpv-devel installed, and I had to use some workarounds from the issues) and it worked, playing songs and playlists normally. I didn't touch any flatpak permissions or anything.

Self grab

  • I'm ready to work on this issue!
@MarekChyra MarekChyra added the bug Something isn't working label Mar 26, 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