Comments (12)
I probably could add more hints to the error, but it basically means that the portal is rejecting the background permission request (or xdp-desktop-portal
is not even installed).
Speaking technically, ff no error is print in CLI then it means that the portal simply returned a false
for the request or an Gio.IOErrorEnum.CANCELLED
error was raised (in this context it means that the user cancelled the request).
Could you try going to GNOME Settings > Applications > Forge Sparks and see if the background permission is active? If is disabled enabled it and try again in the app.
from forge-sparks.
=> sudo apt install xdg-desktop-portal
[sudo] password for fausto:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
xdg-desktop-portal is already the newest version (1.18.0-1).
xdg-desktop-portal set to manually installed.
It was installed, it seems.
Looks like the permission was enabled:
from forge-sparks.
Hmm, seems odd. I can reproduce the failure If I disable Run in Background
in GNOME Settings and it works again after re-enabling.
If it fails for you, then something strange is happening. You could try using Flatseal and use its reset permission button in Forge Sparks to fix any possible weirdness.
from forge-sparks.
I installed Flatseal and reset the permissions for Forge Sparks, and then gave it back the Background permission. The problem persists.
Happy to provide more technical info, but I don't know where to look to for logs.
from forge-sparks.
Thanks, seems a hard thing to debug 😅.
Can you give me info about your system setup? So I can try to setup a virtual machine and see if the problem is reproducible from there.
from forge-sparks.
Debian sid:
=> uname -a
Linux melian 6.5.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.5.3-1 (2023-09-13) x86_64 GNU/Linux
=> cat /etc/apt/sources.list
deb http://deb.debian.org/debian/ sid main non-free-firmware contrib
deb-src http://deb.debian.org/debian/ sid main non-free-firmware contrib
I installed Flatpak/Flathub like so:
sudo apt install -y flatpak gnome-software-plugin-flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
from forge-sparks.
Forgot about this:
=> echo $XDG_SESSION_TYPE
x11
from forge-sparks.
I'm sure you already have this in mind, but just to be on the same page:
Lines 40 to 75 in 5e36767
Perhaps e.code === Gio.IOErrorEnum.CANCELLED
but the message is still interesting.
from forge-sparks.
Well, installed Debian, flatpak and Forge Sparks and everything worked fine.
The only likely difference with your setup is that I updated to sid after testing because I totally forgot 😅. But things still worked.
So this is really weird... Do you have xdg-desktop-portal-gnome
installed right? I'm out of ideas. Have you tried uninstalling and installing it back removing ~/.var/app/com.mardojai.ForgeSparks
in the process?
from forge-sparks.
Btw, also tried in the X11 session and all was fine.
from forge-sparks.
Okay! Installing xdg-desktop-portal-gnome
and restarting my computer fixed it!
To confirm, I uninstalled the package and rebooted again, and Forge Sparks was broken.
Now I'm wondering why this package wasn't part of my installation from the beginning. This computer's Gnome was installed using the system installer that ships with Debian...
from forge-sparks.
Thank you for helping me figure this out.
from forge-sparks.
Related Issues (20)
- Stuck at Loading HOT 10
- GH access token needs additional permissions for private repos HOT 10
- Error when adding Gitea account with access token that lacks `read:user` permission HOT 6
- [feat] Implement interacting with each notification separately HOT 2
- Document supported notification types
- [Flatpak] Can't add account / access secrets store
- Jira support
- some github notifications have incorrect links HOT 2
- [ Feature request ] Codeberg HOT 7
- [feat] Notification tools by using Github notification_referrer_id HOT 1
- Allow notification filtering based on org/project
- Cannot add GitHub and Codeberg profile HOT 8
- Option to keep read notifications HOT 3
- TypeScript HOT 2
- Display GitHub Status HOT 1
- Too many notification fill up the whole screen at launch HOT 2
- `Ctrl+a` keyboard shortcut overrides selecting all text in a text field HOT 2
- It's possible to open many Accounts windows HOT 1
- Memory leaks
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from forge-sparks.