openPlanB
openPlanB copied to clipboard
RangeError('Trying to access beyond buffer length')
I am trying to run openPlanB on the ÖBB offline files. But I get:
convert: /Users/a/Desktop/openPlanB/data/plan_files/planatr 964348
buffer.js:582
throw new RangeError('Trying to access beyond buffer length');
^
RangeError: Trying to access beyond buffer length
at checkOffset (buffer.js:582:11)
at Buffer.readUInt8 (buffer.js:588:5)
at _readByte (/Users/a/Desktop/openPlanB/node.js/plan_modules/plan_utils.js:84:21)
at me.readInteger (/Users/a/Desktop/openPlanB/node.js/plan_modules/plan_utils.js:15:20)
at Object.exports.decodePlan (/Users/a/Desktop/openPlanB/node.js/plan_modules/planatr.js:60:19)
at decodeFile (/Users/a/Desktop/openPlanB/node.js/plan_modules/plan_decode.js:100:11)
at /Users/a/Desktop/openPlanB/node.js/plan_modules/plan_decode.js:84:3
at Array.each (/Users/a/Desktop/openPlanB/node.js/plan_modules/plan_decode.js:109:16)
at Object.decodeFiles (/Users/a/Desktop/openPlanB/node.js/plan_modules/plan_decode.js:83:8)
at Object.