SolidLabResearch / LDES-in-SOLID-Semantic-Observations-Replay

1 stars 2 forks source link

Path are hard coded for windows #1

Closed pbonte closed 1 year ago

pbonte commented 1 year ago

Path separators are currently hard coded for windows and wont work with linux/mac

023-02-01T13:18:19.846Z [WEB API] info: The Dataset that will be loaded: dataset_participant1.nt
node:events:505
      throw er; // Unhandled 'error' event
      ^

Error: ENOENT: no such file or directory, open '/Users/psbonte/Downloads/DAHCC\dataset_participant1.nt'
Emitted 'error' event on ReadStream instance at:
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/psbonte/Downloads/DAHCC\\dataset_participant1.nt'
}
svrstich commented 1 year ago

Has been fixed by Kush, merged pull request: 91a0600