goodsoftworx / calaboka-issues

A place to get help and report issues with Calaboka.
https://snapcraft.io/calaboka
9 stars 0 forks source link

Calaboka won't install via Snap without enabling experimental feature #5

Open titaniumtux opened 5 months ago

titaniumtux commented 5 months ago

Description

Calaboka now requires enabling experimental feature in order to install Calaboka.

To reproduce

Steps to follow in order to reproduce the behavior:

  1. Terminal - sudo snap install calaboka
  2. Error: cannot install "calaboka": experimental feature disabled - test it by setting 'experimental.user-daemons' to true ...

Expected behavior

A clear and concise description of what you expected to happen - Calaboka is supposed to install and then start working with Spotify.

Logs

If applicable, attach (or paste) Calaboka logs. Instructions to collect logs are on the main page of this repo. Not applicable since it couldn't install.

Screenshots

If applicable, add screenshots to help explain the problem. Not applicable. All information copied from the terminal and included as text here.

Environment

Provide the following information about your environment:

snap --version; snap info snapd calaboka spotify; echo "Desktop: $XDG_CURRENT_DESKTOP";echo "Session: $XDG_SESSION_TYPE" snap 2.61.2 snapd 2.61.2 series 16 ubuntu 2023.4 kernel 6.8.1-060801-generic name: snapd summary: Daemon and tooling that enable snap packages publisher: Canonical✓ store-url: https://snapcraft.io/snapd contact: https://github.com/snapcore/snapd/issues license: GPL-3.0 description: | Install, configure, refresh and remove snap packages. Snaps are 'universal' packages that work across many different Linux systems, enabling secure distribution of the latest apps and utilities for cloud, servers, desktops and the internet of things.

Start with 'snap list' to see installed snaps. type: snapd snap-id: PMrrV4ml8uWuEUDBT8dSGnKUYbevVhc4 tracking: latest/stable refresh-date: Il y a 2 jours, à 18 h 38 HNR channels: latest/stable: 2.61.2 2024-03-06 (21184) 40MB - latest/candidate: 2.61.2 2024-02-29 (21184) 40MB - latest/beta: 2.62 2024-03-21 (21465) 40MB - latest/edge: 2.62+git2025.gfdc222f 2024-03-28 (21521) 40MB - installed: 2.61.2 (21184) 40MB snapd

name: calaboka summary: Ad silencer for Spotify publisher: goodsoftworx store-url: https://snapcraft.io/calaboka contact: https://github.com/goodsoftworx/calaboka-issues license: Proprietary description: | Calaboka connects to your Spotify player to silence ads played between tracks. Its background service discreetly monitors Spotify without getting in your way. When an ad starts to play, Spotify is muted immediately. When the next track begins, the volume is faded back in. You can open the Calaboka app to see what's going on, including how many ads you were spared from.

Disclaimer: Calaboka cannot mute ads built into a track (such as ads inside a podcast), skip ads, nor block visual ads. And it only works with the official Spotify app installed from the Snap Store or via the snap command.

Like Calaboka? Consider donating: https://www.paypal.com/donate?hosted_button_id=VVRR9R68YUWZ6 snap-id: AgGFU6YBGHumzmzhfs4tSXufDCVgD6rs channels: latest/stable: 1.6.4 2023-04-05 (211) 7MB - latest/candidate: ↑
latest/beta: ↑
latest/edge: 1.6.4 2023-04-04 (211) 7MB -

name: spotify summary: Music for everyone publisher: Spotify✓ store-url: https://snapcraft.io/spotify contact: https://community.spotify.com/t5/Desktop-Linux/bd-p/desktop_linux license: Proprietary description: | Love music? Play your favorite songs and albums free on Linux with Spotify.

Stream the tracks you love instantly, browse the charts or fire up readymade playlists in every genre and mood. Radio plays you great song after great song, based on your music taste. Discover new music too, with awesome playlists built just for you.

Stream Spotify free, with occasional ads, or go Premium.

Free: • Play any song, artist, album or playlist instantly • Browse hundreds of readymade playlists in every genre and mood • Stay on top of the Charts • Stream Radio • Enjoy podcasts, audiobooks and videos • Discover more music with personalized playlists

Premium: • Download tunes and play offline • Listen ad-free • Get even better sound quality • Try it free for 30 days, no strings attached

Like us on Facebook: http://www.facebook.com/spotify Follow us on Twitter: http://twitter.com/spotify

Note: Spotify for Linux is a labor of love from our engineers that wanted to listen to Spotify on their Linux development machines. They work on it in their spare time and it is currently not a platform that we actively support. The experience may differ from our other Spotify Desktop clients, such as Windows and Mac. snap-id: pOBIoZ2LrCB3rDohMxoYGnbN14EHOgD7 channels: latest/stable: 1.2.31.1205.g4d59ad7c 2024-02-23 (75) 186MB - latest/candidate: 1.2.31.1205.g4d59ad7c 2024-02-21 (75) 186MB - latest/beta: 1.2.31.1205.g4d59ad7c 2024-02-21 (75) 186MB - latest/edge: 1.2.31.1205.g4d59ad7c 2024-02-21 (75) 186MB - Desktop: Unicorn:XFCE Session: x11

Additional information

Add any other information about the problem here.

It's possible to enable the experimental feature by running the command snap set system experimental.user-daemons=true - source on Snapcraft forum. Last time I did that, I bricked my computer (got into bootloop) and reinstalled Linux.

goodsoftworx commented 5 months ago

Thanks for submitting this issue. Calaboka has always depended the User Daemons feature of snapd. This feature is still experimental, unfortunately (it has been for years). Calaboka used to install fine on multiple linux types, so something must've changed in snapd recently. I will have to look into it and see what I can do.

For now, please use this workaround:

sudo snap set system experimental.user-daemons=true
sudo snap install calaboka

I also added a note about this to the Calaboka snap's description.

titaniumtux commented 5 months ago

Thank you for this. I'm currently using Calaboka that was installed well before the need for the workaround on Kubuntu 22.04 on my primary computer. I tried installing it on Manjaro on my mini PC. I used the workaround before creating this report on Github, and upon rebooting the mini PC, I ended up stuck in boot. I since then reinstalled Linux on that Mini PC (this time installed Rhino Linux). I faced the same issue with Calaboka except this time I didn't proceed with the work-around so I didn't successfully install Calaboka on it. Given my experience and the low priority I have for installing Calaboka on the mini PC, I'm holding off for now. I'm hoping you can eventually reach a better solution for using the app.

Is there any way to get Calaboka through Flatpak or even distro repositories (APT, AUR, etc.)? Would be really nice.

goodsoftworx commented 5 months ago

I doubt the enabling of the user daemons snapd feature is the cause of your boot problems, but we would have to look at your logs to confirm. Calaboka is actually a bit of a complex daemon and app combination, so it wouldn't be trivial to offer and support it with Flatpak, APT, etc. I also just don't have the time. If the snapd developers can find a solution to improve the user daemons feature and maybe even make it non-experimental, this problem will go away. I posted a question on the snapcraft forum. If anything changes I will post an update here. Thanks.