{"action":"opened","issue":{"url":"https://api.github.com/repos/gdsestimating/dxf-parser/issues/7","labels_url":"https://api.github.com/repos/gdsestimating/dxf-parser/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/gdsestimating/dxf-parser/issues/7/comments","events_url":"https://api.github.com/repos/gdsestimating/dxf-parser/issues/7/events","html_url":"https://github.com/gdsestimating/dxf-parser/issues/7","id":115167953,"number":7,"title":"Exception when parsing","user":{"login":"jmdavid","id":1364785,"avatar_url":"https://avatars.githubusercontent.com/u/1364785?v=3","gravatar_id":"","url":"https://api.github.com/users/jmdavid","html_url":"https://github.com/jmdavid","followers_url":"https://api.github.com/users/jmdavid/followers","following_url":"https://api.github.com/users/jmdavid/following{/other_user}","gists_url":"https://api.github.com/users/jmdavid/gists{/gist_id}","starred_url":"https://api.github.com/users/jmdavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmdavid/subscriptions","organizations_url":"https://api.github.com/users/jmdavid/orgs","repos_url":"https://api.github.com/users/jmdavid/repos","events_url":"https://api.github.com/users/jmdavid/events{/privacy}","received_events_url":"https://api.github.com/users/jmdavid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-04T22:52:51Z","updated_at":"2015-11-04T22:52:51Z","closed_at":null,"body":"I integrated the parser in a node.js app and I get this error on a fairly complex cad:\r\n\r\nError: Expected code for point value to be 50 but got 41.\r\n    at parsePoint (.\\dev\\dxf-parser\\tools\\dxf-parser.js:1217:11)\r\n    at parsePolylinePoints (.\\dev\\dxf-parser\\tools\\dxf-parser.js:1236:13)\r\n    at parseLWPOLYLINE (.\\dev\\dxf-parser\\tools\\dxf-parser.js:1443:24)\r\n    at parseEntities (.\\dev\\dxf-parser\\tools\\dxf-parser.js:987:15)\r\n    at parseBlock (.\\dev\\dxf-parser\\tools\\dxf-parser.js:621:23)\r\n    at parseBlocks (.\\dev\\dxf-parser\\tools\\dxf-parser.js:552:13)\r\n    at parseAll (.\\dev\\dxf-parser\\tools\\dxf-parser.js:470:19)\r\n    at DxfParser._parse (.\\dev\\dxf-parser\\tools\\dxf-parser.js:1735:2)\r\n    at ReadStream.onEnd (.\\dev\\dxf-parser\\tools\\dxf-parser.js:432:19)\r\n   ..."}}