HamburgChimps / apple-notes-liberator

Free your Apple Notes data from Notes.app
MIT License
968 stars 20 forks source link

SQL Error #55

Open tlcaputi opened 1 month ago

tlcaputi commented 1 month ago

I downloaded via jbang and tried to export my notes but I don't see a "markdown" directory and get this error:

> jbang app install --force apple-notes-liberator@hamburgchimps

[jbang] Command installed: apple-notes-liberator

> apple-notes-liberator --version

2.2.4

> apple-notes-liberator --json               

A problem occurred in the SQL executor : Error advancing (next) ResultSet position [[SQLITE_CORRUPT] The database disk image is malformed (database disk image is malformed)] 

System: Mac M1 Pro Chip, Sonoma 14.5, zsh shell

What I expect: I expect a new directory called "liberated-notes" with "notes.sqlite" and sub-directory "markdown"

What I got: A new directory called "liberated-notes" with "notes.sqlite" but no sub-directory "markdown"

I'm not a Java programmer so I don't know if I'm doing something wrong.

UPDATE: I removed my "Quick Notes" and now I get this error instead. Still, no "markdown" sub-directory.

Cannot invoke "java.lang.Integer.intValue()" because "rowIndex" is null