Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-06-2024, 01:24 PM   #526
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,397
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Comfy.n View Post
brazilian portuguese was 85 until 2018 from what I gathered, then it's been replaced by 65, from what I learned just now that you asked!
for the reply. 0 and 1 are all I can read
theducks is offline   Reply With Quote
Old 04-06-2024, 01:43 PM   #527
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 453
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by kiwidude View Post
Wiggo - if you do something constructive (like follow the instructions I gave above and provide the debug and plugin logs) then maybe I can try to help. However the *fact* is that I can't replicate the issue - the plugin works perfectly fine for me and clearly the vast majority of users or else there would be far more posts about it. As for why no response before from me - in 2021 I wasn't maintaining this plugin at that time, davidfor was so I never saw that post.

There has been a bug where it reports a string formatting error rather than the real underlying error. So the actual "final" error that people have posted is useless from a debugging perspective. Until I see debug logs to say otherwise I believe the problem will lie in trying to run pdftohtml or pdfinfo executables on your system. Which are calibre provided executables and nothing I have control over. As I said in the post above if they are failing to execute then the first step is to find out why that is - perhaps you have antivirus interfering for instance. You could try running the command line it is executing manually to see if that works.

But only *you* can do anything about this when I can't replicate the issue.
In my defence, I have to say that until now it didn't really seem as if you were interested in the problem.
The second last mention of this problem with cross-reference was only 4 posts before your reappearance in this thread.

The fact that pdfinfo.exe is the culprit has also been mentioned there, hence the workaround with replacement of the same.
Wiggo is offline   Reply With Quote
Advert
Old 04-06-2024, 05:43 PM   #528
Shet
Junior Member
Shet began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2024
Device: pc
Quote:
Originally Posted by kiwidude View Post
@shet - thx for trying and posting that. Now we can see the actual underlying problem - for whatever reason the calibre pdfinfo.exe is returning no data for your pdf on your system, whereas it works perfectly fine on mine. This falls into the “a question for Kovid” domain - as I said above the pdfinfo and pdftohtml executables are not part of this plugin, they are supplied with calibre. Perhaps he may have an explanation as to what might be the problem here.
For info: the best way is for me to bulk convert pdfs to epubs, run ExISBN, than bulk delete epubs. accetable workaround for me
Shet is offline   Reply With Quote
Old 04-06-2024, 08:21 PM   #529
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,678
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Shet - glad you have a workaround in the meantime. Perhaps Kovid may have a suggestion, or perhaps he like me cannot replicate issues with pdfinfo.

Last edited by kiwidude; 04-06-2024 at 08:53 PM.
kiwidude is offline   Reply With Quote
Old 04-06-2024, 11:19 PM   #530
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,381
Karma: 23766374
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by kiwidude View Post
Shet - glad you have a workaround in the meantime. Perhaps Kovid may have a suggestion, or perhaps he like me cannot replicate issues with pdfinfo.
Works for me as well. pdfinfo.exe is built from poppler in a pretty standard way, see my bypy repository in github for the script used to build it. This will be something interfering on the affected computers. Note that nowadays, you shouldnt need to use pdfinfo for most things, you can use the podofo bindings for getting metadata for example, this avoids needing a separate process and so should be faster and possibly more robust, though I suspect podofo will fail on more malformed PDFs than pdfinfo, so you could fallback to pdfinfo. See podofo/__init__.py for the various python wrapper functions that can be used.
kovidgoyal is offline   Reply With Quote
Advert
Old 04-07-2024, 12:37 AM   #531
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,678
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Thanks very much Kovid for the confirmation and the suggestion of an alternative. I will take a look.

@Comfy.N - pdfinfo is only used to get page count metadata. After that it is a separate pdftohtml executable which is responsible for producing the book content that is parsed for ISBNs. So you will see zero difference between different pdfinfo versions in how many isbns get reported. Other than of course if the calibre bundled pdfinfo doesn't work for you at all.
kiwidude is offline   Reply With Quote
Old 04-07-2024, 01:10 AM   #532
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,678
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Extract ISBN v1.6.2

Release Notes
https://github.com/kiwidude68/calibr...ct_isbn-v1.6.2

This now uses podofo as per Kovid's suggestion. @Shet please let me know how you get on with this one.

To anyone who had tried using the zip I had attached yesterday of a test build - please make sure you replace that version with this one (it had the same version number so you will have to force install it).
kiwidude is offline   Reply With Quote
Old 04-07-2024, 11:01 AM   #533
Shet
Junior Member
Shet began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Apr 2024
Device: pc
Quote:
Originally Posted by kiwidude View Post
Release Notes
https://github.com/kiwidude68/calibr...ct_isbn-v1.6.2

This now uses podofo as per Kovid's suggestion. @Shet please let me know how you get on with this one.

To anyone who had tried using the zip I had attached yesterday of a test build - please make sure you replace that version with this one (it had the same version number so you will have to force install it).
This one works perfectly with pdfs for me. Maybe this is the right way as Kovid said. THX
Shet is offline   Reply With Quote
Old 05-24-2024, 05:21 AM   #534
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,678
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Extract ISBN v1.6.3

Release Notes
https://github.com/kiwidude68/calibr...ct_isbn-v1.6.3

Thaks to Paul Harden for the contribution which may help for those scanning PDFs.
kiwidude is offline   Reply With Quote
Old 08-03-2024, 12:24 PM   #535
davidjoseph1
Connoisseur
davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.davidjoseph1 can tell if an avocado is ripe without touching it.
 
Posts: 53
Karma: 130472
Join Date: May 2011
Device: Onyx Boox M90, M92 (*3),M96, N96,I86ml,C67ml,Kepler,Poke,Poke2,Nova3
Can Extract ISBN also grep for LCCN?

I don't know how out of bounds my asking about this is, but LCCNs - Library of Congress Control Numbers - are very useful for grabbing metadata. They're described at Wikidata.

Books with cataloguing in publication data have it on the copyright page.
davidjoseph1 is offline   Reply With Quote
Old 09-04-2024, 09:38 PM   #536
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,678
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Extract ISBN v1.6.4

Release Notes:
https://github.com/kiwidude68/calibr...ct_isbn-v1.6.4

Handles edge cases where valid matches were being rejected because the book listed them as "ISBN-13 xxx" and it would test "-13 xxx" rather than "xxx"
kiwidude is offline   Reply With Quote
Old 09-06-2024, 01:18 AM   #537
Bertrand
Zealot
Bertrand began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
Hi there,

Since the last update (I think), I have a problem with the plugin.
Every time I run it on one or more books, the plugin systematically deletes the “Title” field of the book.

I don't see anything in the options to correct this behavior.
Did I miss something ?


Before :



After : title = "Inconnu" (Unknown)


Thank you for your help.
Bertrand is offline   Reply With Quote
Old 09-08-2024, 03:08 AM   #538
Robert78
Member
Robert78 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: May 2017
Device: none
Hi there,

Like Bertand, I have a problem with the plugin since I upgraded to 1.6.4.

Title column is replaced with an "unknown" value.

I have downgraded to the previous version and the problem has disappeared.
Robert78 is offline   Reply With Quote
Old 09-08-2024, 06:07 AM   #539
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,678
Karma: 2162246
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Nothing has changed in this version of the plugin as far as how metadata is updated. If you are seeing a different behaviour I believe it is because (a) you are now seeing an ISBN being extracted where it was being missed previously (due to the change I made), and/or (b) you are also using a different calibre version.

I don't see this behaviour myself, and it is impossible to guess if you don't actually include log file output, calibre version and do some basic testing yourself - does it happen for all books, is whether they currently have an ISBN relevant, is it epubs or PDFs or both etc.
kiwidude is offline   Reply With Quote
Old 09-08-2024, 06:14 AM   #540
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 9,332
Karma: 63265021
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I'm unable to replicate in Calibre 7.17.100.
ownedbycats is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Extract ISBN from PDF? mdroberts Calibre 14 12-16-2016 07:32 AM
[Old Thread] Extract ISBN from file name ChristianQ Calibre 59 12-09-2015 05:08 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM
[Old Thread] Auto Extract ISBN-Feature request UnraisedArc Calibre 60 03-23-2011 09:31 AM
Displaying ISBN column in the main GUI tilleydog Library Management 26 02-25-2011 04:08 AM


All times are GMT -4. The time now is 04:33 PM.


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