{"url":"https://api.github.com/repos/dogsheep/evernote-to-sqlite/issues/9","repository_url":"https://api.github.com/repos/dogsheep/evernote-to-sqlite","labels_url":"https://api.github.com/repos/dogsheep/evernote-to-sqlite/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/dogsheep/evernote-to-sqlite/issues/9/comments","events_url":"https://api.github.com/repos/dogsheep/evernote-to-sqlite/issues/9/events","html_url":"https://github.com/dogsheep/evernote-to-sqlite/issues/9","id":748372469,"node_id":"MDU6SXNzdWU3NDgzNzI0Njk=","number":9,"title":"ParseError: undefined entity &scaron;","user":{"login":"mkorosec","id":4028322,"node_id":"MDQ6VXNlcjQwMjgzMjI=","avatar_url":"https://avatars.githubusercontent.com/u/4028322?v=4","gravatar_id":"","url":"https://api.github.com/users/mkorosec","html_url":"https://github.com/mkorosec","followers_url":"https://api.github.com/users/mkorosec/followers","following_url":"https://api.github.com/users/mkorosec/following{/other_user}","gists_url":"https://api.github.com/users/mkorosec/gists{/gist_id}","starred_url":"https://api.github.com/users/mkorosec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkorosec/subscriptions","organizations_url":"https://api.github.com/users/mkorosec/orgs","repos_url":"https://api.github.com/users/mkorosec/repos","events_url":"https://api.github.com/users/mkorosec/events{/privacy}","received_events_url":"https://api.github.com/users/mkorosec/received_events","type":"User","user_view_type":"public","site_admin":false},"labels":[{"id":2418058306,"node_id":"MDU6TGFiZWwyNDE4MDU4MzA2","url":"https://api.github.com/repos/dogsheep/evernote-to-sqlite/labels/bug","name":"bug","color":"d73a4a","default":true,"description":"Something isn't working"}],"state":"closed","locked":false,"assignees":[],"milestone":null,"comments":1,"created_at":"2020-11-22T23:04:35Z","updated_at":"2021-02-11T22:10:55Z","closed_at":"2021-02-11T22:10:55Z","assignee":null,"author_association":"CONTRIBUTOR","type":null,"active_lock_reason":null,"sub_issues_summary":{"total":0,"completed":0,"percent_completed":0},"issue_dependencies_summary":{"blocked_by":0,"total_blocked_by":0,"blocking":0,"total_blocking":0},"body":"I encountered a parse error if the enex file contained &scaron; or &nbsp; \r\n\r\nRun command: \r\nevernote-to-sqlite enex evernote.db evernote.enex\r\n\r\n```\r\nTraceback (most recent call last):\r\n...\r\n  File \"evernote_to_sqlite/cli.py\", line 31, in enex\r\n    save_note(db, note)\r\n  File \"evernote_to_sqlite/utils.py\", line 35, in save_note\r\n    content = ET.tostring(ET.fromstring(content_xml)).decode(\"utf-8\")\r\n  File \"/usr/lib/python3.8/xml/etree/ElementTree.py\", line 1320, in XML\r\n    parser.feed(text)\r\nxml.etree.ElementTree.ParseError: undefined entity &scaron;: line 3, column 35\r\n```\r\n\r\nWorkaround:\r\n```\r\nsed -i 's/&scaron;//g' evernote.enex\r\nsed -i 's/&nbsp;//g' evernote.enex\r\n```","closed_by":{"login":"simonw","id":9599,"node_id":"MDQ6VXNlcjk1OTk=","avatar_url":"https://avatars.githubusercontent.com/u/9599?v=4","gravatar_id":"","url":"https://api.github.com/users/simonw","html_url":"https://github.com/simonw","followers_url":"https://api.github.com/users/simonw/followers","following_url":"https://api.github.com/users/simonw/following{/other_user}","gists_url":"https://api.github.com/users/simonw/gists{/gist_id}","starred_url":"https://api.github.com/users/simonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonw/subscriptions","organizations_url":"https://api.github.com/users/simonw/orgs","repos_url":"https://api.github.com/users/simonw/repos","events_url":"https://api.github.com/users/simonw/events{/privacy}","received_events_url":"https://api.github.com/users/simonw/received_events","type":"User","user_view_type":"public","site_admin":false},"reactions":{"url":"https://api.github.com/repos/dogsheep/evernote-to-sqlite/issues/9/reactions","total_count":0,"+1":0,"-1":0,"laugh":0,"hooray":0,"confused":0,"heart":0,"rocket":0,"eyes":0},"timeline_url":"https://api.github.com/repos/dogsheep/evernote-to-sqlite/issues/9/timeline","performed_via_github_app":null,"state_reason":"completed","pinned_comment":null}