luxi78 / joplin2obsidian

Making the move from Joplin to Obsidian
122 stars 13 forks source link

Panic: file name too long #13

Open AdamIsrael opened 1 year ago

AdamIsrael commented 1 year ago

I've got a messy set of years-long notes I'm trying to move over (Evernote -> Joplin, Joplin -> Obsidian). One of the articles I clipped has an extremely long filename that throws a panic when trying to convert:

⠏ Saving Data (251/-, 140 it/s) panic: open /var/home/stone/Dropbox/Documents/Vaults/loci/Research/Prominent Scientists Declare ''All Non Human Animals... Are Conscious Beings.'' The Dalai Lama Protests Chicken Slaughter. An Orangutan Won Non-Human Rights Over Zoo Keeper. What Do the Teachers Say About Non-Human Compassion! - Buddha Weekly; Buddhist Prac.md: file name too long

The manual solution was to find note and shorten the title. That could be detected at run time and truncated to whatever the maximum length is.

monkeyxite commented 1 year ago

Same issue here... while directly export from joplin menu (eith MD, or MD with FrontMatters) has other issues ...