-
Notifications
You must be signed in to change notification settings - Fork 13
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
Does not work with Kobo Clara HD #4
Comments
Hey, I'm looking into taking over this plugin, as I love my Kobo. Do you mind opening the console and see what error you get there, so I can try and fix it in https://github.com/OGKevin/obsidian-kobo-highlights-import. |
@OGKevin new Kobo owner (Kobo Libra 2) with the same issue. Getting this error:
If you need some more details or debugging info, lemme know. I'm happy to look at this more in depth |
@DonnieWest is it also broken on this release: https://github.com/OGKevin/obsidian-kobo-highlights-import/releases/tag/1.0.2? |
@OGKevin updated to the most recent version ( 1.1.1 ) and still failing to import highlights. Here's the new error
|
Oh boy. I had a look at the code, and it seems that the data retrieval from the database yields no results. Do you mind sharing your DB with me? If so, you can do this via discord. If you join the obsidian discord, you would be able to send me a DM. Same username as my GitHub. I'll update the code to return a human-readable error when there is no data 👍🏾 |
I did some investigation yesterday. And, I can say with confidence that this is related with #5 #2. The current query is not correct, I've managed to come up with one that is accurate. Some logic is needed however to properly parse the data, and it's a multi query job rather than a single query. Once I've had time to implement my discovery, this and the mentioned issues should be resolved 🎊 |
I've managed to solve the issue in OGKevin#5. On my own database, I've managed to extract highlights that I was not aware that were missing from the export. The database layouts seems to be the same, it was just the query that was using an incorrect assumption. I'll clean up the code, add some tests and find a way to programmatically check that indeed all highlights have been exported. |
@OGKevin That looks as you find the problem! I am looking forward to use it. If you pre-release it, I will test it. |
@MichaelLepori Nice to hear! You can download the main.js file from https://github.com/OGKevin/obsidian-kobo-highlights-import/releases/tag/1.2.0-beta.1 and replace Remember to have obsidian closed when you replace the file. Or restart obsidian if you had it open :) |
@og Kevin. I tried it and it's working greatly. Thank you fixing it. I tried also to import the highlights again. And it overwrites the existing files. |
@MichaelLepori Good to hear that it works. I'll add notes support later.
|
The feature to export notes can be tracked via OGKevin#6 |
This fixes issues: - bitwiseops#4 - bitwiseops#5 - bitwiseops#2
1.2.0 has been released with this fix! @bitwiseops do you mind closing this issue 🙏🏾 |
Found /Volumes/KOBOeReader/.kobo/BookReader.sqlite
"Extract" button turns green in importer.
On pressing extract, a message pops up: "Something went wrong... Cannot read properties of undefined (reading 'values').
The text was updated successfully, but these errors were encountered: