05-10-2022, 07:58 AM | #1 |
Zealot
Posts: 122
Karma: 10
Join Date: Nov 2014
Device: Kindle Oasis 3, K4NT, Kobo Mini
|
Export highlights doesn't work
Something is no okay with the new export highlights plugin. I set it up with html and/or text output, then clicked on the "Export all notes in this book" . The "Exporting may take several seconds" message appeared then disappeared, but nothing was exported, or at least I couldn't find anything anywhere. (My first guess was the usual folder "koreader/clipboard", but it was not there.)
I tried on an android smartphone, on Onyx Boox Nova 3 and on Kindle Oasis 3. No luck on either of them. (build 63) |
05-10-2022, 09:39 AM | #2 |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
TBH all my tests were done on the emulator .
It should behave at least there |
Advert | |
|
05-10-2022, 09:54 AM | #3 |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
Actually everything looks pretty good, so I have no idea of the root of your problem.
The directory where exports files are placed is "clipboard" under KO data dir (the same dir where ko is installed in most e-ink devices, /sdcard/koreader in android) If you want to figure out where those files end on your device you can add a little change Code:
diff --git a/plugins/exporter.koplugin/main.lua b/plugins/exporter.koplugin/main.lua index 94b08b58..62c739c7 100644 --- a/plugins/exporter.koplugin/main.lua +++ b/plugins/exporter.koplugin/main.lua @@ -172,6 +172,9 @@ function Exporter:exportClippings(clippings) for k, v in pairs(self.targets) do if v:isEnabled() then v.timestamp = timestamp + if not v.is_remote then + logger.info("exporting to", v:getFilePath(exportables)) + end v:export(exportables) v.timestamp = nil end Code:
05/10/22-15:48:01 WARN exporting to ./clipboard/2022-05-10 15:48:01-all-books.json 05/10/22-15:48:01 WARN exporting to ./clipboard/2022-05-10 15:48:01-all-books.txt 05/10/22-15:48:01 WARN exporting to ./clipboard/2022-05-10 15:48:01-all-books.html |
05-11-2022, 06:15 AM | #4 |
Zealot
Posts: 122
Karma: 10
Join Date: Nov 2014
Device: Kindle Oasis 3, K4NT, Kobo Mini
|
Jeez, I wish I could do that...
|
05-21-2022, 05:25 PM | #5 |
Connoisseur
Posts: 51
Karma: 198
Join Date: Feb 2022
Device: Kindle PW5/11th Gen
|
I'm actually having this issue as well -- I can't get any highlights or notes to export on my PW5. It just shows the "Exporting may take several seconds" message, and then nothing happens. I've searched all the Kindle's folders in Explorer via USB, and there's no new exported highlights HTMLs to be found.
OP, did you ever get this fixed? |
Advert | |
|
05-23-2022, 10:29 PM | #6 |
Member
Posts: 10
Karma: 194
Join Date: Apr 2022
Location: Dhaka, Bangladesh
Device: Likebook P78, Boox Poke Pro
|
A fix has been made in this PR and will be merged soon.
https://github.com/koreader/koreader/pull/9076 |
05-24-2022, 08:36 PM | #7 | |
Connoisseur
Posts: 51
Karma: 198
Join Date: Feb 2022
Device: Kindle PW5/11th Gen
|
Quote:
|
|
05-25-2022, 03:21 AM | #8 |
Ignorant of many things
Posts: 63
Karma: 9304
Join Date: Feb 2011
Device: Kobo Libra 2
|
I too noticed this issue recently. I was also pleased upon reading that a fix is on the way. Thank a lot everyone for sharing your experiences and insights on this.
|
05-29-2022, 11:52 AM | #9 |
Member
Posts: 10
Karma: 194
Join Date: Apr 2022
Location: Dhaka, Bangladesh
Device: Likebook P78, Boox Poke Pro
|
The fix has been merged.
You can either update from development channel or wait for next stable release. |
05-30-2022, 06:03 AM | #10 | |
Ignorant of many things
Posts: 63
Karma: 9304
Join Date: Feb 2011
Device: Kobo Libra 2
|
Quote:
Meaning it's already on the nightly builds? If yes, that's awesome! Edit: it is! I've already installed the latest build, and it works perfectly. Thanks so much, everyone. Last edited by henriquemaia; 05-30-2022 at 09:41 AM. Reason: Added an important update. |
|
05-30-2022, 04:22 PM | #11 | |
Connoisseur
Posts: 51
Karma: 198
Join Date: Feb 2022
Device: Kindle PW5/11th Gen
|
Quote:
Related question -- does anyone know if it's possible to automatically export highlights from a book when you finish it? |
|
06-01-2022, 05:12 AM | #12 | |
Ignorant of many things
Posts: 63
Karma: 9304
Join Date: Feb 2011
Device: Kobo Libra 2
|
Quote:
That would be wonderful! Not absolutely necessary, but a practical automation, for sure. |
|
06-01-2022, 12:50 PM | #13 |
Connoisseur
Posts: 51
Karma: 198
Join Date: Feb 2022
Device: Kindle PW5/11th Gen
|
|
06-01-2022, 01:00 PM | #14 |
cosiñeiro
Posts: 1,271
Karma: 2200049
Join Date: Apr 2014
Device: BQ Cervantes 4
|
The "export at end-of-document" is a BIG NOPE for the time being.
Adding [Document] gestures for "export all notes in this book" and [General] gestures for "export all notes in history" sounds like a good idea. ie: you will be able to export all history from everywhere and a specific document from the document itself using the gesture of your choice. |
06-29-2022, 04:37 AM | #15 |
Enthusiast
Posts: 25
Karma: 36
Join Date: Feb 2013
Device: Kindle 4
|
How can I change the default destination directory for export?
@pazos
I am glad that the export is now working again. But how can I change the default destination directory for the exported notes? I thought I had already figured it out and could simply change this line in the base.lua file Code:
clipping_dir = require("datastorage"):getDataDir() .. "/clipboard" Code:
clipping_dir = "/mnt/ext1/MYFOLDER/" Can you give me please some advice? Thanks a lot! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Troubleshooting Social sharing of highlights and notes from Personal Documents doesn't work | LastSilmaril | Amazon Kindle | 4 | 12-12-2015 11:10 AM |
How to export Highlights | ereaderundecided | PocketBook | 17 | 10-03-2012 12:10 PM |
How to export Highlights | ereaderundecided | Sony Reader | 12 | 09-05-2012 10:20 PM |
Export Highlights | musemj6 | Amazon Kindle | 1 | 12-09-2008 10:11 PM |