vzhd1701 / enex2notion

Import Evernote ENEX files to Notion
MIT License
425 stars 35 forks source link

[Bug]: enex_parser_xml exception #34

Closed torx25 closed 2 years ago

torx25 commented 2 years ago

enex2notion version

0.2.13

What OS are you using?

Windows

OS Version / Linux distribution

Windows 10 21H2 Home 19044.1706

Bug description

While uploading a file (.enex) I get an error:

Traceback (most recent call last): File "enex2notion__main.py", line 4, in File "enex2notion\cli.py", line 47, in main File "enex2notion\cli.py", line 32, in cli File "enex2notion\cli.py", line 42, in _process_input File "enex2notion\cli_upload.py", line 53, in upload_notebook File "enex2notion\enex_parser.py", line 23, in count_notes File "enex2notion\enex_parser_xml.py", line 23, in iter_process_xml_elements File "xml\etree\ElementTree.py", line 1227, in iterator File "xml\etree\ElementTree.py", line 1302, in read_events File "xml\etree\ElementTree.py", line 1274, in feed xml.etree.ElementTree.ParseError: undefined entity  : line 7144081, column 174 [16176] Failed to execute script 'main__' due to unhandled exception!

Log excerpt

No response

vzhd1701 commented 2 years ago

Could you please share the enex file that caused this error?

torx25 commented 2 years ago

1.zip It happens to all my .enex files I'm trying to upload.

vzhd1701 commented 2 years ago

Is it an exact same error every time?

torx25 commented 2 years ago

Yes it is.

2022-05-26 22_28_02-C__Windows_System32_cmd exe .

vzhd1701 commented 2 years ago

This error is different from the one you had with the first notebook.

There was a Notion server-side glitch. Please try again, "403 Client Error" crash should be resolved now.

torx25 commented 2 years ago

Temporarily resolved by downgrading to v. 0.2.12.