beaker icon indicating copy to clipboard operation
beaker copied to clipboard

Snapcraft Distribution

Open pfrazee opened this issue 4 years ago • 3 comments

We want to have a Snapcraft distribution for Beaker but I'm hitting some issues getting it to work.

Currently when starting the Snap from its installed location via the Ubuntu shell, the "init window" is just blank. Turning off the process-level sandbox by commenting out app.enableSandbox() appears to solve the blank window but initial setup doesn't proceed.

Running the installed snap from the CLI seems to solve the issues so the breakdown must have something to do with how it's being initialized when launched via Ubuntu's app launcher.

pfrazee avatar May 12 '20 22:05 pfrazee

Same issue exists when attempting to flatpak. White rectangle followed by a purple rectangle, and then it just hangs. In fact, disabling X11 permission causes the application not to launch at all with the error FUSE bindings are not available on this platform.

ghost avatar May 15 '20 15:05 ghost

The FUSE error should just cause FUSE not to run. I'm 99% sure this also relates to the issues we're having with AppImage

pfrazee avatar May 15 '20 15:05 pfrazee

@pfrazee the AppImage doesn’t include node. The Hyperspace daemon assumed it could find it from /usr/bin/env node. If it’s installed on the host runtime then the AppImage may work. All runtime dependencies are supposed to be bundled in the AppImage, however.

The Flatpak issue is similar. There is no node process in the PATH inside the “default” org.freedesktop.Sdk runtime environment. The org.freedesktop.Sdk.Extension.node14 SDK extension can be used to add it in.

I’m assuming this is the problem you’re having with the Snappy environment too, although I’ve not confirmed that.

da2x avatar Dec 03 '20 18:12 da2x