Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 10-23-2017, 02:29 AM   #436
dsestero
Enthusiast
dsestero began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Aug 2017
Location: Aosta (Italy)
Device: Kindle Voyage
Furthermore, you cannot annotate Amazon sample books, so I wouldn't bother.
Ciao
Dario
dsestero is offline   Reply With Quote
Old 10-23-2017, 03:35 AM   #437
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 843
Karma: 3335974
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by dsestero View Post
Furthermore, you cannot annotate Amazon sample books, so I wouldn't bother.
I know. I was thinking of adding an extra condition in Kindle.py:


Code:
                    if template == "*.kfx":
                        if "_sample" in path:
                            self._log("    Skipping sample=%s" % (path))
                            continue
To @kovidgoyal:
Bypassing samples should also be added to the kindle driver:
Code:
Traceback (most recent call last):
  File "site-packages\calibre\devices\kindle\driver.py", line 101, in metadata_from_path
  File "site-packages\calibre\startup.py", line 116, in local_open
IOError: [Errno 2] No such file or directory: u'J:\\documents\\Chroniques lunaires - livre 4, Winter (Pocket Jeunesse) (French Editi
on)_B01DWTQFP4_sample.sdr\\assets\\metadata.kfx'

Last edited by BeckyEbook; 10-23-2017 at 04:05 AM. Reason: additional notes
BeckyEbook is offline   Reply With Quote
Old 10-23-2017, 08:17 AM   #438
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by BeckyEbook View Post
I know. I was thinking of adding an extra condition in Kindle.py:


Code:
                    if template == "*.kfx":
                        if "_sample" in path:
                            self._log("    Skipping sample=%s" % (path))
                            continue
Thanks, but I don't really want to add an exception like this. I don't think it actually going to affect anything and there is a small risk that someone could put that in the name of a book.
davidfor is offline   Reply With Quote
Old 10-23-2017, 08:21 AM   #439
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by BeckyEbook View Post
In file common_utils.py (line 1119):
Code:
msg = _("Annotations updated to new appearance settings for {0} {1}.</p>").formt(len(annotation_map), book_word)
should be format.
Whoops. Fixed.
Quote:
---

Why mismatch for title and author?
It isn't obvious why in the screenshot. Can you post a debug log? Hopefully that will show what is happening.
davidfor is offline   Reply With Quote
Old 10-23-2017, 10:29 AM   #440
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 843
Karma: 3335974
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by davidfor View Post
Can you post a debug log? Hopefully that will show what is happening.
I attach a zip file with three files:
1. Log
2. My Clippings.txt
3. File ParseKindleMyClippingsTxt.py with added unofficial Polish Kindle translation to handle file My Clippings.txt with Polish texts
Attached Files
File Type: zip becky_annotations1.zip (13.2 KB, 381 views)
BeckyEbook is offline   Reply With Quote
Old 10-23-2017, 10:31 PM   #441
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by BeckyEbook View Post
I attach a zip file with three files:
1. Log
2. My Clippings.txt
3. File ParseKindleMyClippingsTxt.py with added unofficial Polish Kindle translation to handle file My Clippings.txt with Polish texts
I'll look at the logs properly tonight. But, it does look like it should match. Something that might help is to see the metadata that calibre has for the book. Can you send me the OPF file from the calibre library directory the book is in?

And thanks for the Polish strings. I'll add them.
davidfor is offline   Reply With Quote
Old 10-24-2017, 02:04 AM   #442
BeckyEbook
Guru
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 843
Karma: 3335974
Join Date: Jan 2017
Location: Poland
Device: Various
Quote:
Originally Posted by davidfor View Post
Can you send me the OPF file from the calibre library directory the book is in?
Sure.
Attached Files
File Type: opf metadata.opf (30.1 KB, 515 views)
BeckyEbook is offline   Reply With Quote
Old 10-24-2017, 09:30 AM   #443
LadyScott
Junior Member
LadyScott began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2013
Device: Kobo Touch, Kindle Paperwhite 3, BQ Edison 3
Hi, I'm having a really weird problem with this plugin. It was working great but suddenly the option to fetch annotations disappeared from the context menu. I tried reinstalling it and trying different versions but it doesn't work.

Edit: apparently it only happens with a Kindle, I tried using a Kobo Touch and the option is there.

Last edited by LadyScott; 10-24-2017 at 09:35 AM.
LadyScott is offline   Reply With Quote
Old 10-24-2017, 04:01 PM   #444
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by LadyScott View Post
Hi, I'm having a really weird problem with this plugin. It was working great but suddenly the option to fetch annotations disappeared from the context menu. I tried reinstalling it and trying different versions but it doesn't work.

Edit: apparently it only happens with a Kindle, I tried using a Kobo Touch and the option is there.
Just to check: When the Kobo Touch is plugged in, the menu has "Fetch Annotations from Kobo Touch" but when the Kindle is plugged in, it doesn't have the option for the Kindle?

Are you running the released version of the plugin or one of the recent beta versions? And does calibre show the books on the Kindle?
davidfor is offline   Reply With Quote
Old 10-24-2017, 08:00 PM   #445
LadyScott
Junior Member
LadyScott began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2013
Device: Kobo Touch, Kindle Paperwhite 3, BQ Edison 3
Quote:
Originally Posted by davidfor View Post
Just to check: When the Kobo Touch is plugged in, the menu has "Fetch Annotations from Kobo Touch" but when the Kindle is plugged in, it doesn't have the option for the Kindle?

Are you running the released version of the plugin or one of the recent beta versions? And does calibre show the books on the Kindle?
Yes, that's exactly what happens. Calibre shows all the books and everything else seems fine. What's weird is that I use this plugin with my Kindle all the time and the option was there just a few days ago.

I was using the last beta you posted but I tried the released version and it has the same issue.
LadyScott is offline   Reply With Quote
Old 10-24-2017, 08:42 PM   #446
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by LadyScott View Post
Yes, that's exactly what happens. Calibre shows all the books and everything else seems fine. What's weird is that I use this plugin with my Kindle all the time and the option was there just a few days ago.

I was using the last beta you posted but I tried the released version and it has the same issue.
I can't think of a reason for this. I haven't touched the code for detecting the device and I can't think of any changes in calibre that would affect this.

Can you run calibre in debug mode and post the log? If you connect the Kindle and let the connection jobs run and open the menu, it will hopefully show what is go wrong.
davidfor is offline   Reply With Quote
Old 10-25-2017, 09:49 AM   #447
LadyScott
Junior Member
LadyScott began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2013
Device: Kobo Touch, Kindle Paperwhite 3, BQ Edison 3
Quote:
Originally Posted by davidfor View Post
I can't think of a reason for this. I haven't touched the code for detecting the device and I can't think of any changes in calibre that would affect this.

Can you run calibre in debug mode and post the log? If you connect the Kindle and let the connection jobs run and open the menu, it will hopefully show what is go wrong.
Okay, I ran debug mode and found the problem. I started using KindleXRay instead of the normal driver. Switching back fixed it. Thank you!
LadyScott is offline   Reply With Quote
Old 10-25-2017, 07:46 PM   #448
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by LadyScott View Post
Okay, I ran debug mode and found the problem. I started using KindleXRay instead of the normal driver. Switching back fixed it. Thank you!
As KindleXRay subclasses the main Kindle driver, it should be possible to allow it to work. I'll have a look.
davidfor is offline   Reply With Quote
Old 10-30-2017, 09:08 PM   #449
arooni
Addict
arooni began at the beginning.
 
Posts: 315
Karma: 26
Join Date: Jul 2012
Device: Kindle Paperwhite 4 (2018)
Thanks for the great plugin!

Questions:
1) Does this plugin handle the case that there are two different versions (lets say theres a .mobi and a az3w)... will it aggregate the annotations from the same title (across both versions)?
2) How do I get annotations from My Kindle Fire (I normally read on the PW2) .. ?

I thought that Kindle Personal documents wont sync the highlights I make on Personal Documents, so I'd have to hook up the kindle fire to calibre to grab its annotations? Would they combine with my regular kindle's annotations without a problem?

Thanks in advance!
arooni is offline   Reply With Quote
Old 10-30-2017, 09:25 PM   #450
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by arooni View Post
Thanks for the great plugin!

Questions:
1) Does this plugin handle the case that there are two different versions (lets say theres a .mobi and a az3w)... will it aggregate the annotations from the same title (across both versions)?
I think so. The annotations are coming from clippings file. I can't see anything that distinguishes the format. As long as they have the same title and author, the should get aggregated.
Quote:
2) How do I get annotations from My Kindle Fire (I normally read on the PW2) .. ?

I thought that Kindle Personal documents wont sync the highlights I make on Personal Documents, so I'd have to hook up the kindle fire to calibre to grab its annotations? Would they combine with my regular kindle's annotations without a problem?
The plugin doesn't have an function for the Fire. And I don't think it will see annotations added on the Fire and synced to the PW2. Unless they get put into the clippings file during the sync process. Hopefully someone who uses both can confirm.

I don't know if support for the Kindle Fire can be added. I don't know how the annotations are stored on the device. This would need someone with a Kindle Fire to investigate and write the handler. I am happy to help, but writing and debugging the code without the device is impractical.
davidfor is offline   Reply With Quote
Reply

Tags
sampleexportingapp


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Annotations (closed) GRiker Plugins 68 06-17-2014 06:11 AM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 02:48 PM.


MobileRead.com is a privately owned, operated and funded community.