Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not satisfy length #1183

Open
mrusme opened this issue Apr 8, 2020 · 0 comments
Open

Error: Could not satisfy length #1183

mrusme opened this issue Apr 8, 2020 · 0 comments

Comments

@mrusme
Copy link

mrusme commented Apr 8, 2020

I am reporting: a bug

Bug Report

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

  • Operating system: Ubuntu 18.04.4 LTS
  • Node Version: v12.16.1
  • Dat Version: 13.13.1

Expected behavior

dat share -d ./folder runs and shares the dat archive.

Actual behavior

Sharing dat: (empty archive)

0 connections | Download 0 B/s Upload 0 B/s

Checking for file updates...


Ctrl+C to ExitError: Could not satisfy length
    at onread (/usr/lib/node_modules/dat/node_modules/random-access-file/index.js:76:36)
    at FSReqCallback.wrapper [as oncomplete] (fs.js:487:5)

Debug Logs

  dat Dat DEBUG mode engaged, enabling quiet mode +0ms
  dat dat 13.13.1 +8ms
  dat node v12.16.1 +1ms
  dat Sharing archive {
  _: [],
  utp: true,
  debug: false,
  quiet: true,
  sparse: false,
  import: true,
  ignoreHidden: true,
  'ignore-hidden': true,
  watch: true,
  d: 'xxx',
  dir: 'xxx',
  logspeed: 400
} +0ms
  dat-node archive ready. version: 411 +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,
  d: 'xxx',
  dir: 'xxx',
  logspeed: 400,
  ignore: [Function: ignore]
} +0ms
  dat listen EADDRINUSE: address already in use :::3282 trying random port +0ms
  dat-node IMPORT ignore: / +27ms
  dat-node IMPORT ignore: /.dat +2ms
  dat-node IMPORT ignore: /.dat/.dat +2ms
  dat-node IMPORT ignore: /.dat/.dat/content.bitfield +8ms
  dat-node IMPORT ignore: /.dat/.dat/content.key +2ms
  dat-node IMPORT ignore: /.dat/.dat/content.signatures +1ms
  dat-node IMPORT ignore: /.dat/.dat/content.tree +2ms
  dat-node IMPORT ignore: /.dat/.dat/metadata.bitfield +1ms
  dat-node IMPORT ignore: /.dat/.dat/metadata.data +2ms
  dat-node IMPORT ignore: /.dat/.dat/metadata.key +1ms
  dat-node IMPORT ignore: /.dat/.dat/metadata.ogd +1ms
  dat-node IMPORT ignore: /.dat/.dat/metadata.signatures +1ms
  dat-node IMPORT ignore: /.dat/.dat/metadata.tree +1ms
  dat-node IMPORT ignore: /.dat/content.bitfield +1ms
  dat-node IMPORT ignore: /.dat/content.key +1ms
  dat-node IMPORT ignore: /.dat/content.signatures +1ms
  dat-node IMPORT ignore: /.dat/content.tree +4ms
  dat-node IMPORT ignore: /.dat/metadata.bitfield +1ms
  dat-node IMPORT ignore: /.dat/metadata.data +1ms
  dat-node IMPORT ignore: /.dat/metadata.key +22ms
  dat-node IMPORT ignore: /.dat/metadata.latest +2ms
  dat-node IMPORT ignore: /.dat/metadata.ogd +8ms
  dat-node IMPORT ignore: /.dat/metadata.signatures +1ms
  dat-node IMPORT ignore: /.dat/metadata.tree +1ms
  dat-node IMPORT ignore: /xxx +1ms
  dat-node IMPORT put: /xxx/index.html +3ms
Error: Could not satisfy length
    at onread (/usr/lib/node_modules/dat/node_modules/random-access-file/index.js:76:36)
    at FSReqCallback.wrapper [as oncomplete] (fs.js:487:5)

This seems to be similar to #989 but nevertheless I'm reporting it to show it happens with different setups as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant