Open julienmueller opened 1 year ago
Did you execute it from the root of your Kindle?
The program looks for files in ./documents/My Clippings.txt
, or you can set a CLIPPINGS_LOCATION
env variable to tell it where to look:
https://github.com/mrtolkien/kindle_to_notion/blob/8758bc0f5715284386903cec6afb8fc864f3ec92/src/main.rs#L13
Doesn't work either with or without variable present in .env file
Could you show me what your My Clippings.txt
file looks like?
It actually looks like the file was properly read but the parse_clips
function did not find anything:
https://github.com/mrtolkien/kindle_to_notion/blob/8758bc0f5715284386903cec6afb8fc864f3ec92/src/clippings.rs#L49
I based the parsing off my own file but maybe there's some discrepencies?
I figured it out! It has to do with my kindle being set to a language other than English!
I attached the "My Clippings.txt" for that. My Clippings_DE+US.txt
It was read correctly only after removing all remains of German bookmarks.
So, as of now, your tool basically for now only works with Kindles set to ENGLISH
Guess you could either have the user enter the local for their country (FR / DE / US) manually or have the tool read the first line of "My Clippings.txt" and identify the country thanks to the first string. Example: "- Ihre Notiz bei Position" = DE
Or you have each entry in "My Clippings" checked for a different language. But I guess this would slow down processing and also wouldn't have many cases, that this would be needed (e.g. user changing screen languages often).
So, I guess for now I just keep the kindle in English then and use your tool.
If I can help with anything, let me know.
Same problem here: "Found 0 books with new clips" Kindle set in the English language. "My Clippings.txt", stored in the ./documents/ folder, is a 19 MB file with Italian/English books highlights. It's impossible to delete all the Italian records. Any other ideas?
Using CMD and opening kindle_to_notion only gives me "Found 0 books with new clips" . My Clippings.txt holds about 100 books and definitely isn't empty. Any idea or workaround to pinpoint the problem? Thank you.