Notion-2-Obsidan
Notion-2-Obsidan copied to clipboard
FileNotFoundError with long Cyrilic (potentially ASCII, too) filenames
It appears that N2O throws FileNotFound when any of the files has a very long name (no specific limit found for now).
It leads to the situation where it's practically impossible to migrate large workspaces
Will update the issue as I'll be manually moving Notion export to N2O-acceptabke way
The error looks as follows
Traceback (most recent call last):
File "C:\Users\vlasi\Desktop\N2O test\Notion-2-Obsidan-master\N2O.py", line 132, in <module>
with open(newfilepath, append_write, encoding='utf-8') as tempFile:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\vlasi\\AppData\\Local\\Temp\\tmpyfr6_amn\\ZettelKasten\\Сюжетная идея для игры долго борются с большим и сложным противником, а потом вдруг противник повержен, и нет четкого врага. В этот момент, предложить много ситуаций, где много насилия и использования всей накопленной силы по инерции обернется плохими последствиями.md'
PS C:\Users\vlasi\Desktop\N2O test\Notion-2-Obsidan-master>
I'm receiving this error as well:
Traceback (most recent call last):
File "C:\Users\TronD\Documents\Notion-2-Obsidan\N2O.py", line 132, in