Skip to content
New issue

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

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

Already on GitHub? # to your account

Regression: no playback whatsoever on flatpak from flathub #816

Closed
1 task done
dimitris-personal opened this issue Oct 16, 2023 · 7 comments
Closed
1 task done
Labels
bug Something isn't working Linux Linux related issue

Comments

@dimitris-personal
Copy link

dimitris-personal commented Oct 16, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Pressing play does nothing. No sound output (verified no spotube stream under GNOME settings → Sound → Volume levels).

This stack trace appears in the logs multiple times:

============================== CATCHER 2 LOG ==============================
------- DEVICE INFO -------
name: GNOME
version: 44 (Flatpak runtime)
id: org.gnome.Platform
idLike: null
versionCodename: null
versionId: 44
prettyName: GNOME 44 (Flatpak runtime)
buildId: null
variant: null
variantId: null
machineId: f8acc9d32ed64189ad529cd6360db66a
------- APP INFO -------
environment: release
version: 3.2.0
appName: spotube
buildNumber: 25
packageName: spotube
---------- ERROR ----------
PathNotFoundException: Cannot open file, path = '/home/d/.var/app/com.github.KRTirtho.Spotube/config/dconf/user' (OS Error: No such file or directory, errno = 2)
------- STACK TRACE -------
#0      _checkForErrorResponse (dart:io/common.dart:55)
#1      _File.open.<anonymous closure> (dart:io/file_impl.dart:381)
<asynchronous suspension>
#2      GVariantDatabase._loadRootTable (package:gsettings/src/gvariant_database.dart:30)
<asynchronous suspension>
#3      GVariantDatabase.lookup (package:gsettings/src/gvariant_database.dart:20)
<asynchronous suspension>
#4      DConfClient.read (package:gsettings/src/dconf_client.dart:82)
<asynchronous suspension>
#5      GSettingsDConfBackend.get (package:gsettings/src/gsettings_dconf_backend.dart:23)
<asynchronous suspension>
#6      GSettings.get (package:gsettings/src/gsettings.dart:124)
<asynchronous suspension>
#7      getTheme (package:titlebar_buttons/src/get_theme.dart:12)
<asynchronous suspension>
------- CUSTOM INFO -------

Edit: also getting these:

============================== CATCHER 2 LOG ==============================
------- DEVICE INFO -------
name: GNOME
version: 44 (Flatpak runtime)
id: org.gnome.Platform
idLike: null
versionCodename: null
versionId: 44
prettyName: GNOME 44 (Flatpak runtime)
buildId: null
variant: null
variantId: null
machineId: f8acc9d32ed64189ad529cd6360db66a
------- APP INFO -------
environment: release
version: 3.2.0
appName: spotube
buildNumber: 25
packageName: spotube
---------- ERROR ----------
Error Code: 403
Forbidden.
------- STACK TRACE -------
#0      SpotifyApiBase.handleErrors (package:spotify/src/spotify_base.dart:238)
#1      SpotifyApiBase._requestWrapper (package:spotify/src/spotify_base.dart:212)
<asynchronous suspension>
#2      SpotifyApiBase._getImpl (package:spotify/src/spotify_base.dart:178)
<asynchronous suspension>
#3      Pages.getPage (package:spotify/src/endpoints/endpoint_paging.dart:236)
<asynchronous suspension>
------- CUSTOM INFO -------

Expected Behavior

Previous versions would start playing, at least on a freshly started application.

Steps to reproduce

  1. Started spotube
  2. Selected a playlist and pressed play

Operating System

Fedora 38, GNOME, Wayland

Spotube version

3.2.0

Installation source

Flathub (Flatpak)

Additional information

No response

@dimitris-personal dimitris-personal added the bug Something isn't working label Oct 16, 2023
@AndreiSva
Copy link

I am having the same issue

@0xFFFFFFFFFFFFFFFFFF
Copy link

You can workaround the issue by:

  1. Killing the process (I had to do it manually, since closing the window would not end the process)
  2. Granting unlimited access to the D-Bus session of your user (--socket=session-bus, see this reference). Easiest way to do so is by using Flatseal.

@KRTirtho
Copy link
Owner

I think the --own-name is not correct thus having this problem.

@steamboatslinky
Copy link

Please tell me there’s a way to fix this

@KRTirtho
Copy link
Owner

Fixed it already. Will be available soon

@xAlpharax
Copy link

You can workaround the issue by:

  1. Killing the process (I had to do it manually, since closing the window would not end the process)
  2. Granting unlimited access to the D-Bus session of your user (--socket=session-bus, see this reference). Easiest way to do so is by using Flatseal.

For me it was enough to launch it via command line with dbus-run-session:

dbus-run-session flatpak run com.github.KRTirtho.Spotube

@xAlpharax
Copy link

Fixed it already. Will be available soon

good.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working Linux Linux related issue
Projects
None yet
Development

No branches or pull requests

6 participants