You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I just publish my avalonia UI application and run the app from desktop on linux the file picker work as expected,
When I package the application into a .deb package as documented here the file picker dosn't work after it's been installed
App installation Location: /opt/
Using Avalonia 11.2.0 release and dotnet 8.0
Error when file picker is opened:
Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.AccessDenied: Portal operation not allowed: Unable to open /proc/3799/root
at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource1.System.Threading.Tasks.Sources.IValueTaskSource<T>.GetResult(Int16 token) at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync[T](MessageBuffer message, MessageValueReader1 valueReader, Object state)
at Tmds.DBus.Protocol.Connection.CallMethodAsync[T](MessageBuffer message, MessageValueReader`1 reader, Object readerState)
at Avalonia.FreeDesktop.DBusSystemDialog.OpenFilePickerAsync(FilePickerOpenOptions options)
at Avalonia.Platform.Storage.FallbackStorageProvider.OpenFilePickerAsync(FilePickerOpenOptions options)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I just publish my avalonia UI application and run the app from desktop on linux the file picker work as expected,
When I package the application into a .deb package as documented here the file picker dosn't work after it's been installed
App installation Location: /opt/
Using Avalonia 11.2.0 release and dotnet 8.0
Error when file picker is opened:
Tmds.DBus.Protocol.DBusException: org.freedesktop.DBus.Error.AccessDenied: Portal operation not allowed: Unable to open /proc/3799/root
at Tmds.DBus.Protocol.DBusConnection.MyValueTaskSource
1.System.Threading.Tasks.Sources.IValueTaskSource<T>.GetResult(Int16 token) at Tmds.DBus.Protocol.DBusConnection.CallMethodAsync[T](MessageBuffer message, MessageValueReader1 valueReader, Object state)at Tmds.DBus.Protocol.Connection.CallMethodAsync[T](MessageBuffer message, MessageValueReader`1 reader, Object readerState)
at Avalonia.FreeDesktop.DBusSystemDialog.OpenFilePickerAsync(FilePickerOpenOptions options)
at Avalonia.Platform.Storage.FallbackStorageProvider.OpenFilePickerAsync(FilePickerOpenOptions options)
Any idea what's happening?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions