Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap store snap crashing in strict confinement #98

Closed
Middyeasy opened this issue Sep 20, 2019 · 9 comments
Closed

Snap store snap crashing in strict confinement #98

Middyeasy opened this issue Sep 20, 2019 · 9 comments

Comments

@Middyeasy
Copy link

New to snap and this package so please forgive me but im getting this error whenever i try and run the snap version dev and regular.
process[sync_slam_toolbox_node-1]: started with pid [3374]
[ INFO] [1568987315.882619235]: Node using stack size 40000000
[FATAL] [1568987316.062751959]: Failed to create solver_plugins::CeresSolver, is it registered and built? Exception: Failed to load library /snap/slam-toolbox-melodic/3/opt/ros/melodic/lib/libceres_solver_plugin.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = liblapack.so.3: cannot open shared object file: No such file or directory).
[sync_slam_toolbox_node-1] process has died [pid 3374, exit code 1, cmd /snap/slam-toolbox-melodic/3/opt/ros/melodic/lib/slam_toolbox/sync_slam_toolbox_node __name:=sync_slam_toolbox_node __log:=/root/snap/slam-toolbox-melodic/3/ros/log/bddb5af8-dbab-11e9-9058-00155d011907/sync_slam_toolbox_node-1.log].
log file: /root/snap/slam-toolbox-melodic/3/ros/log/bddb5af8-dbab-11e9-9058-00155d011907/sync_slam_toolbox_node-1*.log
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete

any help would be great as i expected the snap to just work and im not sure how to even get in there and mess with it.

@SteveMacenski
Copy link
Owner

SteveMacenski commented Sep 20, 2019

You're right, there's a bad link there. I thought I'd fixed that, I'll look into it today.

Sorry about that. The 16->18 transition on snapcraft was challenging and looks like I missed it

@SteveMacenski
Copy link
Owner

SteveMacenski commented Sep 20, 2019

#99

will resolve, thanks for the patience. Sorry about that, a new snap will be pushed this afternoon, if you refresh you should see the changes reflected

@Middyeasy
Copy link
Author

Middyeasy commented Sep 20, 2019 via email

@SteveMacenski
Copy link
Owner

New version is 1.1.3, should be up momentarily

@SteveMacenski
Copy link
Owner

SteveMacenski commented Sep 20, 2019

ugh, Canonical... ok I can't release it to the snap store due to their internal auto-rejection buffer. Its going to take awhile to work around them. In the meantime, you can compile the working snap yourself with the generate_snap script

Progress for snap store release here: https://forum.snapcraft.io/t/request-for-classic-confinement-slam-toolbox-melodic/13334

@SteveMacenski SteveMacenski reopened this Sep 20, 2019
@Middyeasy
Copy link
Author

Middyeasy commented Sep 20, 2019 via email

@SteveMacenski SteveMacenski changed the title Snap running issue plugin Snap store snap crashing in strict confinement Sep 20, 2019
@SteveMacenski
Copy link
Owner

For clarity: the issue was that canonical changed a bunch of stuff from core to core18 and now the strict confinement doesn't give pluginlib access to the libraries it needs, so it needs to be used as a devmode or classic confinement snap, and snap store requires strict confinement for the stable release channels also starting this year... so I have to apply for an exception for technical grounds, I can release to the beta/edge channels but then you have to install via alot of flags that look dangerous but are actually safe.

@SteveMacenski
Copy link
Owner

SteveMacenski commented Oct 17, 2019

I am (for the moment) dropping support for snapstore, snaps are still fully supported but will require building yourself so devmode or classic confinement (./snap/generate_snap will do this for you). I've taken all the snaps down from the snap store so installation is now impossible via that method from this problem.

This is now released to the ROS build farm, so you should be able to apt-get install this package as an alternative method of installation in light of recent issues with snap.

@Middyeasy
Copy link
Author

Middyeasy commented Oct 17, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants