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
Notion import error "Folder already exists" #83
Comments
I've removed the requirement for detecting the notion ID from the zip file - that should fix this part. |
@Sinled Would it be possible to message me a |
@joshuatazrein There are a lot of personal data, so i can't send it. I've tried to make smaller reproduction but for smaller export notion won't make nested archive. After that i've tried to make smaller archive with test data, but i cant find way to make archive nested directly in archive - mac os don't allow it, running |
Understandable! Yeah I'm having trouble finding nested zips because I'm on a Mac. |
I think the |
I believe this has been fixed by the change in createFolders. |
Closed via 1.5.5 |
Hi, there is an error with import plugin trying create folder that already exist, without any meaningful stack trace.
I've downloaded and built plugin from code, and it seems problem is here in
format-importer.ts
getAbstractFileByPath
returnsnull
if folder exist but have different case in name.and when
createFolder
is trying to create folder but with different case - obsidian throws error.I've replaced locally
getAbstractFileByPath
withgetAbstractFileByPathInsensitive
and after that it seems import works fine, but i'm not sure if this might break in some other place.Also there is another bug - import won't do anything if notion export archive has nested archive with
*-Part-1.zip
in it.In such case only one attachement folder with "part" archive in it created
The text was updated successfully, but these errors were encountered: