visualcurrent / Notion-2-Obsidan

Conversion routines to convert all Notion .md exports to full Obsidian compatibility
262 stars 47 forks source link

Error 2 #2

Closed austkel closed 4 years ago

austkel commented 4 years ago

E:\Desktop Data\Downloads\Notion-2-Obsidan-master>python N2O.py Traceback (most recent call last): File "N2O.py", line 138, in with open(newfilepath, 'wb') as f: FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\owner\AppData\Local\Temp\tmppg9672w4\Untitled\Lime\Write Ups.html'

When I try to open my export zip seems to hit an error

visualcurrent commented 4 years ago

According to your error, it appears that you are trying to open Write Ups.html which is not a .zip file. Can you double check the integrity and location of your downloaded zip file?

neon-ewok commented 4 years ago

I'm having the same issue. I double-checked the zip for errors and the location as well.

C:\Users\kayla\Downloads\Notion-2-Obsidan-master>py N2O.py
Traceback (most recent call last):
  File "N2O.py", line 98, in <module>
    with open(newfilepath, append_write) as tempFile:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\kayla\\AppData\\Local\\Temp\\tmp9n3jerfu\\Untitled\\ultimate db.md'
visualcurrent commented 4 years ago

Hmm? It's just not enough information for me to work with. And my Notion exports aren't creating that error. @kgilbert89 or @austkel would it be possible to PM me the zip file for me to troubleshoot with? If so, gabe@visualcurrent.com Feel free to prune your zip file down so it doesn't include any sensitive info. Just make sure it still throws the error before sending to me.

visualcurrent commented 4 years ago

Attention @kgilbert89 and @austkel Would you mind trying the latest code on your Notion exports and let me know if the changes work for you? I'll close the issue if it works. Thanks