-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deletes Highlights #31
Comments
Um sorry, but I need more context here. Do you have two clipping files on your device? Can you explain your device model and a general clipping of the books as such? |
That is the same issue as I am experiencing. |
Today I have added new highlights to one more book( The psychology of money ). I ran the scrip again. This time 'Complete Works of' got added again....now I have 2 of those and the new highlights of the book ' The psychology of money ' got added to 2nd Complete Works of', but they did not get updated in ' The psychology of money ' |
I have now tried to remove the additional Clippings file, no change. The deletion and replacement of highlights have not happened since yesterday but I still have an issue with the same books every time I try to add new highlights to the Notion Database. This is the output after I have deleted the pages from the Notion Database and successfully transferring my Notes and Highlights to Notion (whole output included in kindle2notion_output - empty database.txt):
Then I added a new note from Oathbringer to "My Clippings" file and ran your script (kindle2notion) again.
I have now deleted the Oathbringer page from Notion. It transfers all hightlights (including the new one) to Notion successfully now that there are no records for that book. I have tested with some other books also. When updating an already existing page for a specific book I get output like this:
For Halo Silentium I have added two highlights. I ran it again for laughs and I got this output:
It is the same Clippings file, no changes made to it since last time I ran the script. After deleting the page for the specific books that have new Highlights the issues are gone. Workaround: For now I will be deleting the Pages in Notion for the book I am currently reading everytime I want to update the Highlights/Notes on Notion. I hope this isn't to much or too little data :P |
I guess having a JSON structure to keep track of each book and the clippings under them would help. I'll need more time to think of other possible solutions and implement it. Will update this thread in the coming days. |
Thank you. :) |
Well, I have deleted the book( which I am currently reading ) from Notion. Then ran the script. The book got added with updated highlights without any hiccups. But 'The Complete Works of ' got added again. Every single time I run the script, the same book in my case 'The Complete Works of' is getting added. |
For me it helped to delete the troublesome Notion Pages. Have you tried to delete the Notion page for "The Complete Works of" and adding it to a fresh page? |
Yes as of now, that's the workaround. |
Thank you for raising the issue and providing so much information regarding it. @theneo13 Ditto to you too :) |
Hi. I have not experienced the issue where the script replaces Highlights from one book with highlights from another since I opened this issue. |
Hi.
I have experienced this issue multiple times today. When adding the latest highlights from my clippings file it somehow deleted existing clipping from "Warbreaker" Page and inserted "Oathbringer" highlights into the "Warbreaker" page.
It seems to have been solved by deleting all pages in "My Clipping" database and running the script on My Clippings file.
Do the script require "My Clippings" to not contain any existing Highlights?
The text was updated successfully, but these errors were encountered: