gskinnerTeam / flutter-folio

A platform adaptive Flutter app for desktop, mobile and web.
MIT License
3.85k stars 787 forks source link

error on snap store install on ubuntu 20.04 #67

Open kpwebb opened 2 years ago

kpwebb commented 2 years ago

Hi, I just tried installing Flutter Folio from the snap store on Ubuntu 20.04 and got this message after trying to launch from the command line:

** (flutter_folio:670521): WARNING **: 09:43:36.454: Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.869" is not allowed to own the service "com.gskinner.flutter_folio" due to AppArmor policy

jirigracik commented 2 years ago

Same issue on Ubuntu 21.04:

sudo snap install flutter-folio
flutter-folio 

** (flutter_folio:74650): WARNING **: 10:32:58.648: Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.1021" is not allowed to own the service "com.gskinner.flutter_folio" due to AppArmor policy
bjorn commented 2 years ago

Same issue on Ubuntu 21.10.

Not looking great for Flutter desktop, when the main showcase application linked from https://flutter.dev/multi-platform/desktop fails to launch...

enricod commented 2 years ago

same error on 22.04

nettsite commented 2 years ago

same error also 22.04:

** (flutter_folio:15184): WARNING **: 09:13:04.119: Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.217" is not allowed to own the service "com.gskinner.flutter_folio" due to AppArmor policy

raphaelyancey commented 1 year ago

Same here. Just downloaded the example app and got this error. Doesn't really makes me want to start with Flutter :sweat_smile:

abdulhadad commented 1 year ago

Do this according to post on lxc forum [1] , ubuntu need make this smoother

sudo ln -s /var/lib/snapd/apparmor/profiles/snap.flutter-folio.flutter-folio /etc/apparmor.d/
sudo apt install apparmor-utils
sudo aa-complain snap.flutter-folio.flutter-folio
flutter-folio 

[1] https://discuss.linuxcontainers.org/t/gdbus-error-org-freedesktop-dbus-error-accessdenied-failed-to-query-apparmor-policy-permission-denied-tasksel-apt-get-failed-100/10154/6

nettsite commented 1 year ago

That worked.

fatriff commented 12 months ago

Do this according to post on lxc forum [1] , ubuntu need make this smoother

sudo ln -s /var/lib/snapd/apparmor/profiles/snap.flutter-folio.flutter-folio /etc/apparmor.d/
sudo apt install apparmor-utils
sudo aa-complain snap.flutter-folio.flutter-folio
flutter-folio 

[1] https://discuss.linuxcontainers.org/t/gdbus-error-org-freedesktop-dbus-error-accessdenied-failed-to-query-apparmor-policy-permission-denied-tasksel-apt-get-failed-100/10154/6

All I get after following this then trying to run flutter-folio is this..

image

co-stig commented 1 month ago

Same BadAlloc error here, 10 month later.