Fermium / datalogger

The Datalogger physicists deserve
0 stars 0 forks source link

error when trying to open with scidavis and acquisition is disable #81

Closed ddavidebor closed 6 years ago

ddavidebor commented 7 years ago

no acquisition, no new file, fresh app: if I click on the "open in scidavis" link the app throws the following error:

fs.js:584
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

TypeError: path must be a string or Buffer
    at Object.fs.openSync (fs.js:584:18)
    at Object.module.(anonymous function) [as openSync] (ELECTRON_ASAR.js:173:20)
    at Object.fs.readFileSync (fs.js:491:33)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:505:29)
    at scidavis (/Users/davide/Downloads/datalogger/app/processes/exports.js:39:30)
    at Object.<anonymous> (/Users/davide/Downloads/datalogger/app/processes/exports.js:56:3)
    at Object.<anonymous> (/Users/davide/Downloads/datalogger/app/processes/exports.js:59:3)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
SimoneTosato commented 6 years ago

Every export function is now disabled when not acquiring 6027972129a16eb5cf91524930b2ce6140008323