AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

Notion Import Freezing

Open jayx8 opened this issue 1 year ago • 10 comments

What happened?

When trying to import a zip file from Notion into Affine, I keep running into an issue where it freezes the app and is stuck on "Import" pop-up.

I followed the Affine Doc instructions for import and even waited a few hours thinking it was due to the size.. but after force closing and re-opening, I noticed that half the pages did not import.

Distribution version

macOS ARM 64 (Apple Silicon)

What browsers are you seeing the problem on if you're using web version?

No response

Are you self-hosting?

  • [ ] Yes

Relevant log output

No response

Anything else?

No response

jayx8 avatar Jun 04 '24 11:06 jayx8

Issue Status: 🆕 *Untriaged

*🆕 Untriaged

The team has not yet reviewed the issue. We usually do it within one business day. Docs: https://github.com/toeverything/AFFiNE/blob/canary/docs/issue-triaging.md

This is an automatic reply by the bot.

affine-issue-bot[bot] avatar Jun 04 '24 11:06 affine-issue-bot[bot]

i stumpled accros the same problem. i figured out it was because of errors in the export.

  • i had a draw.io integration which did resolve to a 404. i needed to remove this manually from the html files
  • i also saw a lot of cors issues when trying to fetch e.g. youtube videos. therefore i started chrome without cors security when importing

i was able to see the problem with the draw io integration after i looked which file was not uploaded (it only partically imported pages) and then tried it manually and saw the error in the developer console.

eikaramba avatar Jun 22 '24 11:06 eikaramba

@hwangdev97 how does the importing from notion work nowadays, I didn't test through it for a long time

forehalo avatar Aug 09 '24 10:08 forehalo

The import with Notion are currently not working very well.

The expected behavior is that when you click "Export" in Notion, it saves as a zip file. Then, in AFFiNE, you can use the import function, select thezip file, and proceed with the import.

Currently, AFFiNE can successfully import text as expected, but there are still many bugs with images and databases. We need some time to improve this part of the experience.

hwangdev97 avatar Aug 11 '24 04:08 hwangdev97

The similar situation I meet is when I try export Notion page to the local which is not a zip file but a folder, so I import it into Affine after zipping it .zip file. I also tried to import markdown file or html file exported from Notion, but bad formatting of content includes table still happened. It is a painful thing if there are too many things to import in one page .

most-silence avatar Aug 16 '24 06:08 most-silence

For me, it doesn't import at all. No documents get created even after waiting some time and trying out with different pages. No warnings or alerts are displayed.

unitythemaker avatar Aug 17 '24 09:08 unitythemaker

I just inspected the devtools of my browser and saw this error:

 Error: Importing markdown files from Notion is deprecated. Please export your Notion pages as HTML.

However, I agree @most-silence that importing HTML pages results in bad formatting, would be great to both have correct formatting as Markdown but also import all images and files without manual work. It would save me a lot of time to migrate.

unitythemaker avatar Aug 17 '24 09:08 unitythemaker

Not sure how

Magken91 avatar Aug 17 '24 10:08 Magken91

@unitythemaker I find a Notion like application which has nice import way. Hope AFFiNE can do this. image

most-silence avatar Aug 23 '24 05:08 most-silence

I think importing .md files through multiple selections is a feasible workaround

👉 https://x.com/AFFiNEOfficial/status/1828343435138662579

hwangdev97 avatar Aug 27 '24 10:08 hwangdev97

i import html by notion ,but don't have the full markdown.

Image notion and local markdown is full , but affine have something problem

Image

thanks

emptystack1024 avatar May 02 '25 08:05 emptystack1024

Hey, AFFiNE has made a significant update to Notion Import, when importing Notion we recommend using HTML+Subpage, this will maximize the content of your files. To do this: When exporting via Notion, select HTML+Subpage and then import via Notion Import in AFFiNE.

Image

https://x.com/AFFiNEOfficial/status/1856985799906267636

IveTian avatar May 06 '25 02:05 IveTian

Hey, AFFiNE has made a significant update to Notion Import, when importing Notion we recommend using HTML+Subpage, this will maximize the content of your files.嘿,AFFiNE 对 Notion Import 进行了重大更新,导入 Notion 时我们建议使用 HTML+Subpage,这将最大化文件的内容。 To do this:  要做到这一点: When exporting via Notion, select HTML+Subpage and then import via Notion Import in AFFiNE.通过 Notion 导出时,选择 HTML+Subpage,然后通过 AFFiNE 中的 Notion Import 导入。

Image

https://x.com/AFFiNEOfficial/status/1856985799906267636

i use this way and the local files is full,but when i import this files into affine,it's have something lose.

emptystack1024 avatar May 06 '25 02:05 emptystack1024