9dogs / notion-anki-sync

Sync Notion toggle lists to Anki cards.
GNU General Public License v3.0
55 stars 8 forks source link

Namespace/Username? #9

Open slimkhouja opened 3 years ago

slimkhouja commented 3 years ago

Hi,

Silly question: What is the Namespace/Username I have to input in "notion_namespace" supposed to be? I use my email address to log in into Notion...

Bildschirmfoto 2021-10-26 um 12 12 49 Bildschirmfoto 2021-10-26 um 12 16 37

The question is: Should "My Workspace", "mydomain00", "My Name" or my email address go into notion_namespace?

{ "anki_target_deck": "Notion sync", "debug": false, "notion_namespace": "???", "notion_pages": [ { "page_id": "", "recursive": false } ], "notion_token": "", "sync_every_minutes": 30 }

Thnaks in advance!!!

slimkhouja commented 3 years ago

Also I have to add that I tried every one of the options above but I still get no synchronisation to my Notion page. Nothing seems to happen at all and I don't even get an error message....

9dogs commented 3 years ago

The only purpose of notion_namespace is to compose "backlinks" in the source field, e.g. https://www.notion.so/{{notion_namespace}}/Algorithms-7b8cf537391a4df0be4be33f02d1cab5.

As for synchronization issues, could you provide a log file?

  1. Set "debug": true in the plugin config
  2. Trigger sync from the top menu
  3. Go to %AppData%\Anki2\addons21\1940767534 (Win), ~/Library/Application Support/Anki2/addons21/1940767534 (Mac) or ~/.local/share/Anki2/addons21/1940767534 (Linux) and upload the content of the log.txt file to https://gist.github.com/.
slimkhouja commented 3 years ago

Thanks for you response :) I uploaded the content of the log file in the link you provided.

9dogs commented 3 years ago

Hey. For me to see the log, please use the "Create public gist" button (see pic) and then copy-paste the link from the address page here. image

slimkhouja commented 3 years ago

Done! https://gist.github.com/slimkhouja

rahulbagai commented 1 year ago

Hello, If you're having trouble with a finding namespace in Anki, you might need to use the domain name instead of the workspace name from Notion to get things working properly. You can find the domain name in your Notion settings under "Public Settings" and "Domain." Keep in mind that if you change the domain, the page IDs will also change, so you'll need to update those in Anki as well. This should help resolve any issues you're experiencing.

fugohan commented 1 year ago

I got it to work with the email address.