nymea / nymea-app

A nymea frontend app
GNU General Public License v3.0
28 stars 21 forks source link

Snap crashes on startup #310

Closed bhdouglass closed 4 years ago

bhdouglass commented 4 years ago

App platform: snap (Ubuntu 18.04) App version: 1.0.177

Here is the output when running the nymea-app command from the terminal: log.txt

Installing the deb from the repo does not have this same issue. Please let me know if there is any more information that you need!

mzanetti commented 4 years ago

Hmm... so this is because avahi fails to connect, likely due to apparmor.

I would have thought you maybe need to snap connect nymea-app:avahi-observe however I cannot reproduce your crash even without having it connected explicitly...

bhdouglass commented 4 years ago

As we discussed on telegram, running that connection works, not sure why it doesn't happen automatically.

mzanetti commented 4 years ago

Ok, this is now fixed properly. Canonical granted us those auto-connect permissions:

nymea:app:

nymea:core:

See this thread for full details: https://forum.snapcraft.io/t/request-for-auto-connects-for-nymea/15237