02-07-2020, 08:25 AM | #361 |
Grand Sorcerer
Posts: 6,497
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
For plugins that are no longer supported by the original developer, such as this one, volunteers may contribute changes as needed. Typically someone who relies on the plugin will step in. You could do so if you want and are able.
Discussion of ongoing plugin porting efforts are in the thread: Attn plugin devs: porting to python 3. Plugin porting status is in the thread: List of PIs to be ported to Python 3 |
02-07-2020, 09:48 PM | #362 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Beta - Translatable and Python 3
Here is a beta of the plugin that should be Python 3 compatible. It isn't one of the plugins I usually use, but, I'd started the basic Python 3 work to remove errors when testing other plugins. I haven't done much testing, but, it seems to get ISBNs from the PDFs and ePubs in my test library.
While doing this, I have also done the work to make the plugin translatable. The attached file "default.po.txt" should be renamed to "default.po" and used for the translations. I recommend using a tool such as POEdit to do the editing. If anyone does, please post the translated .po file or PM it to me. If anyone tries this, please report any issues here. And success as well. Last edited by BetterRed; 06-21-2020 at 05:47 AM. Reason: Remove attachments - now in the release |
Advert | |
|
02-10-2020, 12:14 AM | #363 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2020
Device: None
|
Seems to be working. Thanks!
Are you hosting your fork somewhere? |
02-10-2020, 01:25 AM | #364 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Thanks for the report.
Quote:
|
|
02-10-2020, 01:48 PM | #365 | |
Connoisseur
Posts: 99
Karma: 10
Join Date: Jun 2014
Location: Poland, Żory
Device: Prestigio PER3464B, Onyx Lynx, Lenovo S5000 i Tab4-8"
|
Quote:
Best regards bravosx Last edited by BetterRed; 06-21-2020 at 06:35 PM. Reason: Remove attachments - now in the release |
|
Advert | |
|
02-10-2020, 11:41 PM | #366 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
02-17-2020, 12:12 AM | #367 |
Enthusiast
Posts: 28
Karma: 10
Join Date: Jan 2019
Device: none
|
Here is an update of the python 3 beta to include the ability to use OCR to get the ISBN from scanned PDF files. I've tested it on Windows and Linux. It requires Tesseract to be installed for the OCR to work. If it is not installed the plugin will work the same as before.
Windows binaries of Tesseract are here. You will need to add it to your PATH as the Windows Tesseract installer does not do this. |
05-02-2020, 10:06 AM | #368 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2016
Location: Germany
Device: Tolino Vision 3 HD
|
Hi,
here´s a german translation... Last edited by BetterRed; 06-21-2020 at 06:33 PM. Reason: removed the translation, in latest plugin |
05-03-2020, 11:53 AM | #369 |
Zealot
Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Nice new function with the ocr support.
You beta doesn't work on my Calibre 3.48. Still on Windows 7, that why i am on 3.48 Will stay with the old version of this plugin. Thomas Last edited by Thomas_AR; 05-03-2020 at 12:03 PM. |
05-03-2020, 09:29 PM | #370 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
|
05-03-2020, 09:31 PM | #371 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Did only @qwertyuio beta fail, or mine as well? These both have Python 3 support, and I did test my changes with calibre 3. This isn't a plugin I really use, so I could easily have missed something.
|
05-04-2020, 11:06 AM | #372 | |
Zealot
Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Quote:
Working well on my "old" calibre. Updating the plugin without uninstalling version 1.44 The beta version of @qwertyuio doesn't even show up in the right-click menu Happy user |
|
05-04-2020, 09:37 PM | #373 | |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2020
Device: none
|
Quote:
RE_ISBN = re.compile( r'97[89]{1}(?:-?\d){10}|\d{9}[0-9X]{1}|' r'[-0-9X]{10,16}', re.I | re.M | re.S) I try modifying and zipping it again with this change. But the new zip gives me an error when I import it. Could this fix be applied? |
|
06-21-2020, 03:16 AM | #374 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
And my apologies for not responding to this earlier. I've just realised I had a few beta's out there that I should actually released, and had forgotten about this. |
|
06-21-2020, 03:52 AM | #375 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I can see that this should be a good idea. But, I'm very much against hardcoding external dependencies like this. And especially then requiring they are in the path. It would be much better to make the executable a configurable. And maybe have an option to turn it on and off. But, maybe I am over thinking this. In any case, as I said above, this isn't a plugin I use. I mainly did the Python 3 changes because it was installed and the errors when starting calibre was hiding other things. As there weren't many changes, I made them, and added the translations. Both needed relatively minor changes. And beyond some basic testing, I haven't used it. So, I'm going to release my Python 3 compatible and then step back. I'll let people who do use the plugin decide the future of it. And yes, that means I'm chickening out |
|
|
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 |