openPlanB icon indicating copy to clipboard operation
openPlanB copied to clipboard

RangeError('Trying to access beyond buffer length')

Open handloomweaver opened this issue 10 years ago • 0 comments

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. (/Users/a/Desktop/openPlanB/node.js/decode.js:14:12) at Module._compile (module.js:456:26) at Object.Module._extensions..js (module.js:474:10)

handloomweaver avatar Feb 05 '15 01:02 handloomweaver