asheesh changed the topic of #sandstorm to: Welcome to #sandstorm: home of all things sandstorm.io. Say hi! | Channel glossary: "i,i" means "I have no point, I just want to say". b == thumbs up. | Public logs at https://botbot.me/freenode/sandstorm/ & http://logbot.g0v.tw/channel/sandstorm/today
afuentes has quit [Ping timeout: 250 seconds]
rolig has quit [Ping timeout: 260 seconds]
rolig has joined #sandstorm
_citruspi has quit [Ping timeout: 245 seconds]
DanC_ has joined #sandstorm
<russruss> Hey guys, I’m debugging getting the Mac OS X finder webdavfs client working with davros in sandstorm
<russruss> I *think* I’ve got it narrowed down to the fact that sandstorm is gzip encoding even though the client did not send an Accept-Encoding header
<russruss> is this expected? I thought if identity encoding was meaningful and there’s no Accept-Encoding on the request, Content-Encoding should be identity
<ocdtrekkie> I just found out how stubborn Cloudflare is about not supporting standard two-factor authentication. :/
<russruss> anybody know how to connect to a vagrant-spk dev environment from a different computer?
<DanC_> Destination (in-package) path must not start with '/': /nix/store/6fix3zqpnahyml8zp2sxi2rwan55rgb8-glibc-2.24
<DanC_> russruss, I fumbled thru getting an alternative webdav client to work... I don't recall the details just now, but I think I checked them in somewhere. This was a program though.
<DanC_> $ spk verify spk1.spk
<DanC_> *** spk1.spk: SPK contains no manifest file.
<DanC_> $ spk dev
<DanC_> *** Uncaught exception ***
<DanC_> sandstorm/fuse.c++:369: failed: read(/dev/fuse): Input/output error
<DanC_> App is now available from Sandstorm server. Ctrl+C to disconnect.
<kentonv> russruss: I don't think Sandstorm should be adding gzip if it wasn't in Accept-Encoding. But the app can return whatever encoding it wants, so maybe this is a Davros bug?
<mokomull> DanC_: Is that on Ubuntu 16.04? That EIO is a bug in a Canonical-specific patch; I filed https://github.com/sandstorm-io/sandstorm/issues/2526 but I don't know if it's been reported to Canonical yet.
losingkeys has quit [Quit: losingkeys]
<mokomull> I wonder if Seth will be at Linux Plumbers ... I'll have to mention it if I see them
<DanC_> yes, Ubuntu 16.04. I'm hitting the EIO bug again?!
<DanC_> oh... right... when I try to spk dev
<mokomull> yeah, it's just dev that gets broken
<DanC_> meanwhile, any ideas about the "no manifest" failure?
<mokomull> Not off the top of my head; I speak kernel better than I speak Sandstorm.
<DanC_> why would spk pack produce something that spk validate won't validate?!
<kentonv> DanC_: that is strange. I didn't think it was possible to produce an spk without a manifest...
<DanC_> is a .spk file a .zip file?
<kentonv> no
<kentonv> it's a big capnp structure, xz'd, then signed...
<kentonv> you can try `spk unpack` to see what's inside it
<DanC_> `spk unpack` printed an id. now it says "output directory already exists"
<DanC_> where is the output directory?
<kentonv> spk has great help text
<kentonv> spk help unpack
<DanC_> not great error messages.
<DanC_> "If <outdir> is not specified, it will be chosen by removing
<DanC_> the suffix ".spk" from the input file name."
<DanC_> spk1$ ls spk1
<DanC_> dev nix proc tmp var
<DanC_> indeed, nothing that looks like a manifest.
<kentonv> weird
<DanC_> I can't imagine why not.
<kentonv> oh huh
<kentonv> I guess if you didn't successfully run `spk dev` then you probably don't have a complete sandstorm-files.list
<kentonv> and if sandstorm-manifest isn't listed in there it won't be included in the pack
<kentonv> normally the list is generated during dev mode
<kentonv> based on what files are actually opened
<DanC_> I'm not using `spk dev`; I'm using nix to list the relevant files
<DanC_> find $(nix-store --query --requisites `readlink result`) | sed -e 's,^/,,' >sandstorm-files.list
<kentonv> then you'll want to add sandstorm-manifest to the list manually
<kentonv> also sandstorm-http-bridge and sandstorm-http-bridge-config if you use http-bridge
<DanC_> I should add sandstorm-manifest to alwaysInclude or the like? even though I don't see any such file?
<DanC_> how does it get created?
<kentonv> these files are special-cased in the spk tool
<kentonv> I'm not sure if adding it to alwaysInclude will do the right thing... probably?
<kentonv> but adding them to sandstorm-files.list will definitely do the right thing
<DanC_> have I neglected some documentation? I read https://docs.sandstorm.io/en/latest/developing/raw-packaging-guide/
<DanC_> winning now:
<kentonv> we generally assume you used "spk dev" to create a file list, or you alwaysInclude "." which implies all the magic files.
<DanC_> spk1$ spk verify spk1.spk
<DanC_> "title": {"defaultText": "Dan Sandstorm Pkg 1"},
<DanC_> "packageId": "731c099c7a6d251941887323b3d18e45",
<DanC_> { "appId": "kxtqtg41d4smvxrahyss5221uhqahun1a4ukm03fep6prs6j9zr0",
<DanC_> ...
<DanC_> the docs suggest "spk dev" but in a way that suggests it's kinda iffy.
<kentonv> feel free to file a bug to improve the tool and/or the docs for this case
<DanC_> roger
<kentonv> I'm wondering away now. ttyl
<DanC_> `spk pack` takes a while... 10 or 20 seconds. Is that as expected?
<DanC_> hasta
<kentonv> xz compression can be pretty slow
<DanC_> this .spk is 31M. :-/
<kentonv> yes, that sounds about right
nyrk has quit [Ping timeout: 260 seconds]
nyrk has joined #sandstorm
neynah has joined #sandstorm
<DanC_> VICTORY IS MINE! "Hello World" from spk built using nix.
<DanC_> `capnp decode spk1/sandstorm-manifest` doesn't do what I hoped/expected.
<DanC_> oh. needs schema.
<DanC_> $ capnp decode sandstorm-pkgdef.capnp Manifest < spk1/sandstorm-manifest
<DanC_> capnp decode: Manifest: no such type
<DanC_> boring.
<DanC_> wow... I started with `spk init` 22 months ago.
neynah has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
ThePurgingPanda has joined #sandstorm
wew has quit [Ping timeout: 260 seconds]
niekie has quit [Quit: No Ping reply in 180 seconds.]
niekie has joined #sandstorm
tg has quit [Quit: Leaving]
tg has joined #sandstorm
tg has quit [Quit: Leaving]
tg has joined #sandstorm
afuentes has joined #sandstorm
xet7 has quit [Quit: Leaving]
Telesight has joined #sandstorm
xet7 has joined #sandstorm
pie_ has joined #sandstorm
<russruss> kentonv: yeah, perhaps there’s something diffferent about running davros inside sandstorm vs outside that’s causing it to gzip encode
<russruss> I’m going to spend some time looking into it today
jemc has joined #sandstorm
Lionel_Debroux has quit [Ping timeout: 256 seconds]
jemc has quit [Ping timeout: 256 seconds]
jemc has joined #sandstorm
wew has joined #sandstorm
ThePurgingPanda has quit [Ping timeout: 256 seconds]
jemc has quit [Ping timeout: 244 seconds]
TC02 has quit [Remote host closed the connection]
TC02 has joined #sandstorm
Lionel_Debroux has joined #sandstorm
isd has quit [Remote host closed the connection]
guido has quit [Ping timeout: 268 seconds]
ThePurgingPanda has joined #sandstorm
wew has quit [Ping timeout: 244 seconds]
Telesight has quit [Quit: Leaving.]
guido has joined #sandstorm
afuentes has quit [Ping timeout: 260 seconds]
gambatte has quit [Ping timeout: 256 seconds]
jemc has joined #sandstorm
jemc has quit [Client Quit]
jemc has joined #sandstorm
gambatte has joined #sandstorm
gambatte has quit [Read error: Connection reset by peer]
gambatte has joined #sandstorm
isd has joined #sandstorm