flet icon indicating copy to clipboard operation
flet copied to clipboard

Failed to read XDG desktop portal settings

Open JittoJoseph opened this issue 1 year ago • 8 comments

Getting this error when i try to run a gui application i found i github i am running Ubuntu 20 with gnome desktop

** (flet:28502): CRITICAL **: 18:02:42.072: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found

** (flet:28502): CRITICAL **: 18:02:42.075: Failed to read XDG desktop portal settings: GDBus.Error:org.freedesktop.portal.Error.NotFound: Requested setting not found Screenshot from 2023-03-03 18-02-46

JittoJoseph avatar Mar 04 '23 00:03 JittoJoseph

This might very well be an issue with the application and not with Flet, especially since it seems to assume a Windows environment (as indicated by the .pyw extension). It would help if you could link the application here.

iron3oxide avatar Mar 04 '23 08:03 iron3oxide

@iron3oxide Hello,

The app he mentioned is here that I'm the author of it. I created this mainly for Windows but I have tested it on Ubuntu and it worked fine.

farshadz1997 avatar Mar 13 '23 22:03 farshadz1997

@iron3oxide Hello,

The app he mentioned is here that I'm the author of it. I created this mainly for Windows but I have tested it on Ubuntu and it worked fine.

which version of ubuntu did you test it on ? also which desktop enviornment did you use, maybe it will work if i install the same DE

JittoJoseph avatar Mar 14 '23 08:03 JittoJoseph

@iron3oxide Hello,

The app he mentioned is here that I'm the author of it. I created this mainly for Windows but I have tested it on Ubuntu and it worked fine.

which version of ubuntu did you test it on ? also which desktop enviornment did you use, maybe it will work if i install the same DE

Ubuntu 22.04, Windows 10, 11

farshadz1997 avatar Mar 14 '23 09:03 farshadz1997

Happens on my ARM ubuntu 20.04 VM as well, with a minimum flet app that opens an UI and adds some buttons and texts. The application seems to be behaving fine, would like either more information on the CRITICAL logging about what sort of problem this points to or figuring out if this value from XDG desktop portal settings is truly needed by flet.

xylix avatar Apr 11 '23 07:04 xylix

happens on Ubuntu 20.04 image

sanmiyom avatar Sep 15 '23 13:09 sanmiyom

I have the same issue with a minimal flet code: hello world. My system is Endeavours OS with Cinnamon desktop and I use Flet 0.20.2. However, when I run in web mode it doesn't print any errors on console. So this issue is specific to a linux desktop?

rocandante avatar Mar 05 '24 01:03 rocandante

No tambem tem o mesmo erro.mas algo em relacao a media. uso linux mint 20.3 Captura de tela de 2024-04-07 21-28-55

affarilinux avatar Apr 08 '24 00:04 affarilinux