00:40
afuentes has quit [Ping timeout: 250 seconds]
00:56
rolig has quit [Ping timeout: 260 seconds]
00:57
rolig has joined #sandstorm
01:11
_citruspi has quit [Ping timeout: 245 seconds]
01:34
DanC_ has joined #sandstorm
01:43
<
russruss >
Hey guys, I’m debugging getting the Mac OS X finder webdavfs client working with davros in sandstorm
01:44
<
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
01:44
<
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
02:07
<
ocdtrekkie >
I just found out how stubborn Cloudflare is about not supporting standard two-factor authentication. :/
02:12
<
russruss >
anybody know how to connect to a vagrant-spk dev environment from a different computer?
03:03
<
DanC_ >
Destination (in-package) path must not start with '/': /nix/store/6fix3zqpnahyml8zp2sxi2rwan55rgb8-glibc-2.24
03:04
<
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.
03:23
<
DanC_ >
$ spk verify spk1.spk
03:23
<
DanC_ >
*** spk1.spk: SPK contains no manifest file.
03:25
<
DanC_ >
*** Uncaught exception
***
03:25
<
DanC_ >
sandstorm/fuse.c++:369: failed: read(/dev/fuse): Input/output error
03:25
<
DanC_ >
App is now available from Sandstorm server. Ctrl+C to disconnect.
03:28
<
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?
03:33
losingkeys has quit [Quit: losingkeys]
03:33
<
mokomull >
I wonder if Seth will be at Linux Plumbers ... I'll have to mention it if I see them
03:35
<
DanC_ >
yes, Ubuntu 16.04. I'm hitting the EIO bug again?!
03:35
<
DanC_ >
oh... right... when I try to spk dev
03:36
<
mokomull >
yeah, it's just dev that gets broken
03:36
<
DanC_ >
meanwhile, any ideas about the "no manifest" failure?
03:36
<
mokomull >
Not off the top of my head; I speak kernel better than I speak Sandstorm.
03:36
<
DanC_ >
why would spk pack produce something that spk validate won't validate?!
03:37
<
kentonv >
DanC_: that is strange. I didn't think it was possible to produce an spk without a manifest...
03:37
<
DanC_ >
is a .spk file a .zip file?
03:38
<
kentonv >
it's a big capnp structure, xz'd, then signed...
03:38
<
kentonv >
you can try `spk unpack` to see what's inside it
03:39
<
DanC_ >
`spk unpack` printed an id. now it says "output directory already exists"
03:39
<
DanC_ >
where is the output directory?
03:40
<
kentonv >
spk has great help text
03:40
<
kentonv >
spk help unpack
03:40
<
DanC_ >
not great error messages.
03:40
<
DanC_ >
"If <outdir> is not specified, it will be chosen by removing
03:40
<
DanC_ >
the suffix ".spk" from the input file name."
03:41
<
DanC_ >
spk1$ ls spk1
03:41
<
DanC_ >
dev nix proc tmp var
03:41
<
DanC_ >
indeed, nothing that looks like a manifest.
03:41
<
DanC_ >
I can't imagine why not.
03:43
<
kentonv >
I guess if you didn't successfully run `spk dev` then you probably don't have a complete sandstorm-files.list
03:44
<
kentonv >
and if sandstorm-manifest isn't listed in there it won't be included in the pack
03:44
<
kentonv >
normally the list is generated during dev mode
03:44
<
kentonv >
based on what files are actually opened
03:45
<
DanC_ >
I'm not using `spk dev`; I'm using nix to list the relevant files
03:45
<
DanC_ >
find $(nix-store --query --requisites `readlink result`) | sed -e 's,^/,,' >sandstorm-files.list
03:45
<
kentonv >
then you'll want to add sandstorm-manifest to the list manually
03:45
<
kentonv >
also sandstorm-http-bridge and sandstorm-http-bridge-config if you use http-bridge
03:46
<
DanC_ >
I should add sandstorm-manifest to alwaysInclude or the like? even though I don't see any such file?
03:46
<
DanC_ >
how does it get created?
03:46
<
kentonv >
these files are special-cased in the spk tool
03:47
<
kentonv >
I'm not sure if adding it to alwaysInclude will do the right thing... probably?
03:47
<
kentonv >
but adding them to sandstorm-files.list will definitely do the right thing
03:48
<
DanC_ >
winning now:
03:48
<
kentonv >
we generally assume you used "spk dev" to create a file list, or you alwaysInclude "." which implies all the magic files.
03:48
<
DanC_ >
spk1$ spk verify spk1.spk
03:48
<
DanC_ >
"title": {"defaultText": "Dan Sandstorm Pkg 1"},
03:48
<
DanC_ >
"packageId": "731c099c7a6d251941887323b3d18e45",
03:48
<
DanC_ >
{ "appId": "kxtqtg41d4smvxrahyss5221uhqahun1a4ukm03fep6prs6j9zr0",
03:49
<
DanC_ >
the docs suggest "spk dev" but in a way that suggests it's kinda iffy.
03:49
<
kentonv >
feel free to file a bug to improve the tool and/or the docs for this case
03:50
<
kentonv >
I'm wondering away now. ttyl
03:50
<
DanC_ >
`spk pack` takes a while... 10 or 20 seconds. Is that as expected?
03:50
<
kentonv >
xz compression can be pretty slow
03:51
<
DanC_ >
this .spk is 31M. :-/
03:51
<
kentonv >
yes, that sounds about right
03:54
nyrk has quit [Ping timeout: 260 seconds]
03:54
nyrk has joined #sandstorm
04:13
neynah has joined #sandstorm
04:46
<
DanC_ >
VICTORY IS MINE! "Hello World" from spk built using nix.
04:53
<
DanC_ >
`capnp decode spk1/sandstorm-manifest` doesn't do what I hoped/expected.
04:54
<
DanC_ >
oh. needs schema.
04:55
<
DanC_ >
$ capnp decode sandstorm-pkgdef.capnp Manifest < spk1/sandstorm-manifest
04:55
<
DanC_ >
capnp decode: Manifest: no such type
05:23
<
DanC_ >
wow... I started with `spk init` 22 months ago.
05:48
ThePurgingPanda has joined #sandstorm
05:49
wew has quit [Ping timeout: 260 seconds]
06:35
niekie has quit [Quit: No Ping reply in 180 seconds.]
06:37
niekie has joined #sandstorm
08:35
tg has quit [Quit: Leaving]
08:46
tg has joined #sandstorm
09:38
tg has quit [Quit: Leaving]
09:39
tg has joined #sandstorm
10:25
afuentes has joined #sandstorm
10:55
xet7 has quit [Quit: Leaving]
11:10
Telesight has joined #sandstorm
12:36
xet7 has joined #sandstorm
13:24
pie_ has joined #sandstorm
13:59
<
russruss >
kentonv: yeah, perhaps there’s something diffferent about running davros inside sandstorm vs outside that’s causing it to gzip encode
13:59
<
russruss >
I’m going to spend some time looking into it today
15:19
jemc has joined #sandstorm
16:56
Lionel_Debroux has quit [Ping timeout: 256 seconds]
17:02
jemc has quit [Ping timeout: 256 seconds]
17:31
jemc has joined #sandstorm
17:33
wew has joined #sandstorm
17:34
ThePurgingPanda has quit [Ping timeout: 256 seconds]
17:35
jemc has quit [Ping timeout: 244 seconds]
17:50
TC02 has quit [Remote host closed the connection]
17:52
TC02 has joined #sandstorm
17:57
Lionel_Debroux has joined #sandstorm
18:39
isd has quit [Remote host closed the connection]
18:39
guido has quit [Ping timeout: 268 seconds]
19:47
ThePurgingPanda has joined #sandstorm
19:48
wew has quit [Ping timeout: 244 seconds]
20:46
Telesight has quit [Quit: Leaving.]
20:56
guido has joined #sandstorm
21:25
afuentes has quit [Ping timeout: 260 seconds]
22:35
gambatte has quit [Ping timeout: 256 seconds]
22:36
jemc has joined #sandstorm
22:37
jemc has quit [Client Quit]
22:37
jemc has joined #sandstorm
22:59
gambatte has joined #sandstorm
23:01
gambatte has quit [Read error: Connection reset by peer]
23:01
gambatte has joined #sandstorm
23:35
isd has joined #sandstorm