canonical / tf-lite-examples-snap

Snap packaging of TensorFlow Lite examples for Raspberry Pi
Apache License 2.0
1 stars 0 forks source link

Ubuntu Frame stream example failing #19

Open jpm-canonical opened 2 months ago

jpm-canonical commented 2 months ago

https://github.com/canonical/tf-lite-examples-snap/blob/4e8629968845d5ae5e920997f32f12c172468ca8/ubuntu-frame/snap/snapcraft.yaml#L115

The stream example started failing with this errors:

PermissionError: [Errno 13] Permission denied: '/dev/shm/pym-69125-4wj6czg9'

Access to /dev/shm is limited to /dev/shm/<snap instance name>, so I do not know why this has worked before.

We can work around this by using https://github.com/sergiusens/snapcraft-preload