dat-ecosystem / dat

:floppy_disk: peer-to-peer sharing & live syncronization of files via command line
https://dat.foundation
BSD 3-Clause "New" or "Revised" License
8.24k stars 449 forks source link

Dat sync errror #989

Open markziemann opened 6 years ago

markziemann commented 6 years ago

I am reporting:

Bug Report

Please give us details about your installation to assist you. Run dat -v to see the version of Dat you are using.

Expected behavior

Dat sync

Actual behavior

Error: Could not satisfy length at onread (/usr/local/lib/node_modules/dat/node_modules/random-access-file/index.js:75:36) at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)

Debug Logs

$ DEBUG=dat* dat sync dat Dat DEBUG mode engaged, enabling quiet mode +0ms dat dat 13.10.0 +12ms dat node v8.11.1 +0ms dat dat sync +0ms dat-node archive ready. version: 307 +0ms dat-node importFiles() { watch: true, dereference: true, count: true, indexing: true, _: [], utp: true, debug: false, quiet: true, sparse: false, import: true, ignoreHidden: true, 'ignore-hidden': true, 'show-key': false, k: false, logspeed: 400, port: 3282, selectFromFile: '.datdownload', 'select-from-file': '.datdownload', select: false, key: null, dir: '/scratch/mziemann/dee2/mx', showKey: false, createIfMissing: false, exit: false, selectedFiles: null, ignore: [Function: ignore] } +0ms dat-node IMPORT ignore: / +75ms dat-node IMPORT ignore: /.dat +2ms dat-node IMPORT ignore: /.dat/content.bitfield +8ms dat-node IMPORT ignore: /.dat/content.key +2ms dat-node IMPORT ignore: /.dat/content.signatures +1ms dat-node IMPORT ignore: /.dat/content.tree +1ms dat-node IMPORT ignore: /.dat/metadata.bitfield +1ms dat-node IMPORT ignore: /.dat/metadata.data +0ms dat-node IMPORT ignore: /.dat/metadata.key +1ms dat-node IMPORT ignore: /.dat/metadata.ogd +1ms dat-node IMPORT ignore: /.dat/metadata.signatures +0ms dat-node IMPORT ignore: /.dat/metadata.tree +1ms dat-node IMPORT put: /athaliana_ke.tsv.bz2 +3ms Error: Could not satisfy length at onread (/usr/local/lib/node_modules/dat/node_modules/random-access-file/index.js:75:36) at FSReqWrap.wrapper [as oncomplete] (fs.js:658:17)

evmiguel commented 5 years ago

Is there a fix for this?