Trouble using sox in a snap.

Nathan Haines nhaines at ubuntu.com
Fri Jun 17 07:57:44 UTC 2016


Hello all,

I'm having trouble running sox in a snap.  I thought this one would be 
straightfoward now that we have a pulseaudio interface, but it turns out 
I'm pretty wrong.  :)

I was asked to file a bug, then encouraged to bring it up on the mailing 
list.  The details are all in the bug, but basically I'm trying to run 
sox and generate whitenoise.  The script works perfectly on a 16.04 LTS 
desktop install after running 'sudo apt install sox', but fails in a 
snap generated with the snapcraft.yaml file whether I use 
stage-packages: sox or various combinations of the additional packages 
in the snapcraft.yaml file.

It doesn't work with --devmode, either.  I attached a snap to the bug 
report, but one of the very happy features of snapcraft is that the 
snapcraft.yaml file and the "spacedrive" script should be enough to 
reproduce it.

I suppose the only other thing of possible note is that I'm running 
snapcraft inside a xenial LXC container.

Any help would be appreciated!  I hope to upload this into the store 
eventually.  It's *great* with headphones for getting work done!

https://bugs.launchpad.net/bugs/1593558

-- 
Nathan Haines
Ubuntu - http://www.ubuntu.com/




More information about the Snapcraft mailing list