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

[Bug]: [6388] Failed to execute script '__main__' due to unhandled exception! #115

Open
laji20220105outlook opened this issue Apr 16, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@laji20220105outlook
Copy link

enex2notion version

enex2notion 0.3.1

What OS are you using?

Windows

OS Version / Linux distribution

Windows 11

Bug description

tried a lot times, always crashed at 800.Note of my 1400 Notes to upload.

INFO: 'Evernote ENEX Import' page found
INFO: Processing notebook 'MyNotesPrivate'...
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 65, in upload_notebook
File "enex2notion\enex_parser.py", line 34, in iter_notes
File "enex2notion\enex_parser.py", line 34, in
File "enex2notion\enex_parser.py", line 60, in _process_note
File "enex2notion\enex_parser.py", line 70, in _parse_resources
File "enex2notion\enex_parser.py", line 70, in
File "enex2notion\enex_parser.py", line 115, in _convert_resource
AttributeError: 'NoneType' object has no attribute 'get'
[6388] Failed to execute script 'main' due to unhandled exception!

Log excerpt

Traceback (most recent call last):
  File "enex2notion\__main__.py", line 4, in <module>
  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 65, in upload_notebook
  File "enex2notion\enex_parser.py", line 34, in iter_notes
  File "enex2notion\enex_parser.py", line 34, in <genexpr>
  File "enex2notion\enex_parser.py", line 60, in _process_note
  File "enex2notion\enex_parser.py", line 70, in _parse_resources
  File "enex2notion\enex_parser.py", line 70, in <listcomp>
  File "enex2notion\enex_parser.py", line 115, in _convert_resource
AttributeError: 'NoneType' object has no attribute 'get'
[4176] Failed to execute script '__main__' due to unhandled exception!
@laji20220105outlook laji20220105outlook added the bug Something isn't working label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant