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

RangeError('Trying to access beyond buffer length') #9

Open
handloomweaver opened this issue Feb 5, 2015 · 0 comments
Open

RangeError('Trying to access beyond buffer length') #9

handloomweaver opened this issue Feb 5, 2015 · 0 comments

Comments

@handloomweaver
Copy link

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)

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