Closed sharonsylu closed 1 year ago
Seems like notion API changed, working on the fix now.
Should be fixed now. Check out the new version (0.2.25). Available via pypi and standalone binary for now. Homebrew will be updated in a few hours.
Thank you very much! I was just looking here because of the same problem and it's solved already. Great!
BTW, when I upload my files I get the advice "enex2notion: error: unrecognized arguments: -B -S -E -s -c", but didn't use any of these arguments. Could you please advise?
Thank you very much for this great software! I wish there was one like this for enex2onenote as well.
Greetings from Germany Thomas
@SchroedersKater Can you show me full command (excluding token) that you use to run enex2notion?
Sure, I used these 2 commands:
- ./enex2notion --token ed...14 "Entwicklung & Software-Notizen.enex"
- ./enex2notion --token ed...14 --mode PAGE --mode-webclips PDF --add-pdf-preview --add-meta --condense-lines-sparse "- INBOX.enex"
HTH
I don't see anything wrong here. What OS and command interpreter do you use?
Some more information what the terminal (macOS Ventura, Intel) looks like:
INFO: 'Evernote ENEX Import' page found
INFO: Processing notebook '- INBOX'...
ERROR: Failed to parse note 'Unbenannte Notiz'
INFO: Uploading note 2 out of 7 'Zu erledigende Dinge'
0%| | 0/2 [00:00<?, ?block/s]usage: enex2notion [-h] [--token TOKEN] [OPTION ...] FILE/DIR [FILE/DIR ...]
enex2notion: error: unrecognized arguments: -B -S -E -s -c
INFO: Uploading note 3 out of 7 'Von VHS-C und MiniDV kopierte Videos'
INFO: Uploading note 4 out of 7 'Spotify - Gutschein für 1 Jahr'
INFO: Uploading note 5 out of 7 'Fwd: VIP-Alarm: Black-Friday-Vorverkauf, mit bis zu 70% Rabatt!'
INFO: Uploading note 6 out of 7 'Merkblatt zu den förderfähigen Kosten Heizen mit Erneuerbaren Energien'
INFO: Uploading note 7 out of 7 'Baumarkt - Euro-Mehrfachsteckdose'
multiprocessing/resource_tracker.py:96: UserWarning: resource_tracker: process died unexpectedly, relaunching. Some resources might leak.
Thomas'iMac:Downloads entwicklung$ usage: enex2notion [-h] [--token TOKEN] [OPTION ...] FILE/DIR [FILE/DIR ...]
enex2notion: error: unrecognized arguments: -B -S -E -s -c
Additionally the program doesn't seem to stop after the last error message.
Python 3.9.6 (default, Sep 26 2022, 11:37:49) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
3,3 GHz 6-Core Intel Core i5 macOS Ventura 13.0.1 (22A400)
enex2notion doesn't use any multiprocessing stuff, but according to your log it tries to create a subprocess which gives you unrecognized arguments error. How do you install enex2notion?
I just downloaded the app and executed it from my download directory.
There is something wrong with standalone binary for Mac. I would suggest installing enex2notion using Homebrew for now.
I have rebuilt standalone binary for Mac. Please re-download it and tell me how it works for you now.
Looks very good now. Thank you!
One more question: Is there a way to increase the speed? My upload channel is barely used.
You can run multiple enex2notion instances in parallel, one per notebook for example.
Thanks, good idea.
Thank you for this latest fix! I had logged in here to submit this issue and found that you had already fixed it. Your software has been a lifesaver for my wholesale transfer of 1000s of Evernote notes to Notion after 12 years of using EV.
Have rerun, and can confirm the new release resolved the issue after Notion changed their API!
Thankyou for pushing out a fix so fast across all platforms. Could not believe you replied to me within 4 minutes of logging this issue, and got to work immediately to rebuild with an update in 5 hrs, wow!
I am so grateful to have stumbled across Enex2notion, could not bear to spend a whole year manually copy-pasting 1000s notes. This is an awesome tool with such clear documentation, thank you for sharing with the world Vlad!
macOS Ventura 13.0.1 (22A400) Darwin Kernel Version 22.1.0 2021 M1 Pro 16GB Cheers from Sydney :)
enex2notion version
enex2notion 0.2.24
What OS are you using?
MacOS
OS Version / Linux distribution
Ventura 13.0.1
Bug description
Hello,
This seems to be related to #67 - meaning, it starts with the same 400 error, but with a different error thrown at the end:
requests.exceptions.HTTPError: Unsaved transactions: SpaceShardRecordPointer have no space id
Things I have tried:
Very grateful for any suggestions you might have. Thank you for creating enex2notion!
Log excerpt