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

Namespace/Username? #9

Open
slimkhouja opened this issue Oct 26, 2021 · 7 comments
Open

Namespace/Username? #9

slimkhouja opened this issue Oct 26, 2021 · 7 comments

Comments

@slimkhouja
Copy link

slimkhouja commented Oct 26, 2021

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
Copy link
Author

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
Copy link
Owner

9dogs commented Oct 27, 2021

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
Copy link
Author

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

@9dogs
Copy link
Owner

9dogs commented Nov 1, 2021

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
Copy link
Author

@rahulbagai
Copy link

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
Copy link

fugohan commented Jun 10, 2023

I got it to work with the email address.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants