Joe Hand

Results 148 comments of Joe Hand

I created https://github.com/joehand/dat-json. I think the only thing missing there is also an option to write to the file system and integrating it here/cli/desktop.

Haven't quite had chance to dig into this. But error is something with [toiletdb](https://github.com/maxogden/toiletdb) writing the temp file: https://github.com/maxogden/toiletdb/blob/master/index.js#L27

Oh this may be happening if `dat.json` file already exists. And since toiletdb writes multiple times that would cause the missing properties.

Should be fixed in Toiletdb, `1.4.1`. If someone with windows can reinstall Dat and test, that'd be great =). I'll try to add a test to this before we close...

> Hi @joehand same error on Dat 13.10.0 on a Windows 10 installation. Seems like dat-json needs to upgrade to toiletdb v1.4.1 and then updgrade dat repo Cool, I can...

Hmm is it still the same EPERM error? A few other things that may help: * Does it happen every time? * Does it happen if you have a `dat.json`...

Hmmm, thanks @samuelmaddock. Looks like I need to dig into what exactly causes this a bit more.

Ya, I've [seen this before](https://github.com/datproject/dat/blob/master/src/lib/download.js#L38). I think this happens when [metadata isn't downloaded](https://github.com/mafintosh/hyperdrive/blob/master/index.js#L109), returning a length of 0. But when I saw it before, it wasn't clear if that was...

Thanks for pinging this one. Definitely a good idea. Note to self on implementation from mafintosh: > we need a .verifyData method in hypercore that checks that data in it's...

Thanks, I'll check it out. It may be not exiting if you run pull and nothing has changed. But it should tell you that and exit regardless.