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: index out of range #10

Open
freakyvat opened this issue Jul 9, 2015 · 0 comments
Open

RangeError: index out of range #10

freakyvat opened this issue Jul 9, 2015 · 0 comments

Comments

@freakyvat
Copy link

Hi,
When running decode.js on OBB data (summer 2015) I get following RangeError:

C:\Users\vanassct\Downloads\vienna\openPlanB-master\node.js>node decode.js
convert: C:\Users\vanassct\Downloads\vienna\openPlanB-master\node.js\data
\plan_files/planatr 1479072
C:\Users\vanassct\Downloads\vienna\openPlanB-master\node.js\plan_modules\plan_ut
ils.js:0

^
RangeError: index out of range
at checkOffset (buffer.js:506:11)
at Buffer.readUInt16LE (buffer.js:552:5)
at _readWord (C:\Users\vanassct\Downloads\vienna\openPlanB-master\node.js\pl
an_modules\plan_utils.js:74:21)
at me.readInteger (C:\Users\vanassct\Downloads\vienna\openPlanB-master\node.
js\plan_modules\plan_utils.js:17:20)
at Object.exports.decodePlan (C:\Users\vanassct\Downloads\vienna\openPlanB-m
aster\node.js\plan_modules\planatr.js:100:20)
at decodeFile (C:\Users\vanassct\Downloads\vienna\openPlanB-master\node.js\p
lan_modules\plan_decode.js:100:11)
at C:\Users\vanassct\Downloads\vienna\openPlanB-master\node.js\plan_modules
plan_decode.js:84:3
at Array.each (C:\Users\vanassct\Downloads\vienna\openPlanB-master\node.js\p
lan_modules\plan_decode.js:109:16)
at Object.decodeFiles (C:\Users\vanassct\Downloads\vienna\openPlanB-master\n
ode.js\plan_modules\plan_decode.js:83:8)
at Object. (C:\Users\vanassct\Downloads\vienna\openPlanB-master\n
ode.js\decode.js:14:12)

Regards
VAT

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