Creating snap fails

I am trying to create a snap from my ROS workspace based on the tutorial http://wiki.ros.org/ROS/Tutorials/Pac...

I have updated this- I believe I am farther but now snapcraft is crashing. I watched snapcraft work for a while grabbing things it needed- then crashed telling me my source: path was not a directory. It is indeed a directory and I have tried various keys and such but keep getting the same error. The output I get is below. When I 'view' the error, the last line tells me the path is not a directory. The source is located on my machine- I am not trying to get a git repo. I just want to build the snap from the workspace on my machine. Updated again- figured out how to get the yaml to display properly.......

Using 'snap/snapcraft.yaml': Project assets will be searched for from the 'snap' directory. Launching a VM. Using 'snap/snapcraft.yaml': Project assets will be searched for from the 'snap' directory. Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit http://packages.ros.org/ros/ubuntu bionic InRelease
Hit http://archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Fetched 177 kB in 0s (0 B/s)
Pulling workspace Sorry, an error occurred in Snapcraft. We would appreciate it if you anonymously reported this issue. No other data than the traceback and the version of snapcraft in use will be sent. Would you like to send this error data? (Yes/No/Always/View) [no]: no

name: my-project
base: core18
version: '1.2'
summary:  My Software
description: |
The Software

confinement: devmode

parts:
workspace:
plugin: catkin
source: /path/to/catkin_ws
source-space: src
source-type: local
catkin-packages: [my_package]

apps:
roscore:
command: roscore
plugs: [network, network-bind]


edit retag close merge delete