{"action":"created","issue":{"url":"https://api.github.com/repos/mathandy/svgpathtools/issues/71","repository_url":"https://api.github.com/repos/mathandy/svgpathtools","labels_url":"https://api.github.com/repos/mathandy/svgpathtools/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/mathandy/svgpathtools/issues/71/comments","events_url":"https://api.github.com/repos/mathandy/svgpathtools/issues/71/events","html_url":"https://github.com/mathandy/svgpathtools/issues/71","id":359158002,"node_id":"MDU6SXNzdWUzNTkxNTgwMDI=","number":71,"title":"unable to read some svg files","user":{"login":"TuBui","id":5722345,"node_id":"MDQ6VXNlcjU3MjIzNDU=","avatar_url":"https://avatars0.githubusercontent.com/u/5722345?v=4","gravatar_id":"","url":"https://api.github.com/users/TuBui","html_url":"https://github.com/TuBui","followers_url":"https://api.github.com/users/TuBui/followers","following_url":"https://api.github.com/users/TuBui/following{/other_user}","gists_url":"https://api.github.com/users/TuBui/gists{/gist_id}","starred_url":"https://api.github.com/users/TuBui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TuBui/subscriptions","organizations_url":"https://api.github.com/users/TuBui/orgs","repos_url":"https://api.github.com/users/TuBui/repos","events_url":"https://api.github.com/users/TuBui/events{/privacy}","received_events_url":"https://api.github.com/users/TuBui/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-09-11T18:03:42Z","updated_at":"2018-09-20T19:53:56Z","closed_at":null,"author_association":"NONE","body":"Function parse_path seems unable to parse some d_strings. The errors I got are \"could not convert string to float: L\" and \"list index out of range\".\r\n\r\nTo reproduce the problem, I enclose two example svg files:\r\nhttps://www.dropbox.com/s/tilysgce9rzo6mj/n01791625_1116-5.svg?dl=0\r\nhttps://www.dropbox.com/s/15ejoawdrq3lcou/n02439033_628-5.svg?dl=0\r\n\r\nRead these files using svg2paths() throws the above error."},"comment":{"url":"https://api.github.com/repos/mathandy/svgpathtools/issues/comments/423311651","html_url":"https://github.com/mathandy/svgpathtools/issues/71#issuecomment-423311651","issue_url":"https://api.github.com/repos/mathandy/svgpathtools/issues/71","id":423311651,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzMxMTY1MQ==","user":{"login":"tatarize","id":3302478,"node_id":"MDQ6VXNlcjMzMDI0Nzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3302478?v=4","gravatar_id":"","url":"https://api.github.com/users/tatarize","html_url":"https://github.com/tatarize","followers_url":"https://api.github.com/users/tatarize/followers","following_url":"https://api.github.com/users/tatarize/following{/other_user}","gists_url":"https://api.github.com/users/tatarize/gists{/gist_id}","starred_url":"https://api.github.com/users/tatarize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tatarize/subscriptions","organizations_url":"https://api.github.com/users/tatarize/orgs","repos_url":"https://api.github.com/users/tatarize/repos","events_url":"https://api.github.com/users/tatarize/events{/privacy}","received_events_url":"https://api.github.com/users/tatarize/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T19:53:56Z","updated_at":"2018-09-20T19:53:56Z","author_association":"NONE","body":"The SVG Specifications allows that type of path to exist. They are somewhat pointless as they are a closed-move-position, but they do not run afoul of the spec. They are absolutely permitted. This is a bug in svgpathtools. Its one that was also, fixed in svg.path from which this is derived. The files are valid, the parsing is valid too, the actual core paths has a bug and does not account for this weird acceptable path and wrongly crashes."}}
{"actor":{"display_login":"tatarize"}}