![]() |
#136 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 256
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
I get this error:
Code:
calibre, version 6.14.0 ERROR: Unhandled exception: <b>AttributeError</b>:type object 'TextEditWithTooltip' has no attribute 'NoWrap' |
![]() |
![]() |
![]() |
#137 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Good news. The new version 1.6.0 should be compatible with calibre 6 (probably not with older calibre versions though). There may still be some issues, please report any remaining problem.
Sorry for the long delay. I just needed some quality time to upgrade the OS in my computer, and I didn't get it until the Easter break. |
![]() |
![]() |
![]() |
#138 |
Zealot
![]() Posts: 106
Karma: 10
Join Date: Jun 2014
Location: Poland, Żory
Device: Prestigio PER3464B, Onyx Lynx, Lenovo S5000 i Tab4-8"
|
I've been waiting patiently and it's finally here.
@Jellby Many thanks for your time and work. ![]() |
![]() |
![]() |
![]() |
#139 | |
Enthusiast
![]() Posts: 41
Karma: 12
Join Date: Jul 2009
Device: ppc
|
Quote:
|
|
![]() |
![]() |
![]() |
#140 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
@Jellby
Hi! This is just a heads up, as I think I found something that interferes with this plugin's conversions: in Calibre 6.22 it fails converting some books with long titles like The Trained Memory (Newly Revised Edition With Commentary by Anthony Metivier) or Vegetable Diet: As Sanctioned by Medical Men, and by Experience in All Ages / Including a System of Vegetable Cookery If I temporarily set the title to something shorter, it then succeeds. Thanks for this awesome plugin! |
![]() |
![]() |
![]() |
#141 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I'll try to have a look. Could it be that's not the length, but the presence of some special characters, like : or / ? (On which OS, by the way?)
|
![]() |
![]() |
![]() |
#142 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
yes, I forgot to mention, this is on Windows (10...ugh). I reckon this plugin is more tailored to Unixes. And I also had thought, at first, it could be related to some special characters, but that would need further investigation.
Last edited by Comfy.n; 07-04-2023 at 03:08 PM. |
![]() |
![]() |
![]() |
#143 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Hi, I did some tests today and have attached a bunch of logs. The message is always the same: "error: can't open output file: No such file or directory"
The reason I said this issue could be related to long titles, instead of special characters like : and /, is because I had tried just removing those from the titles, but even then conversion would fail. In doing the tests I found a simple workaround to make the conversion succeed. I'd just clear the title sort field in the metadata edit dialog, and then any of the troublesome ebooks would convert fine. Clearing the author sort field also seems to work. Then, after converting, I'd just revert that change. I wasn't able to find a primary culprit, but I have some suspicions: - sometimes, titles starting with "The" get that error - titles with multiple authors sometimes wouldn't convert (I've used author:#=1 to filter those) - maybe some titles with multiple commas, colons and parentheses can be troublesome Anyway, using the workaround I'll be fine with Prince. BTW, it would be perfect if there was a way to run it with a single-click action, once the desired CSS is already selected! Is this possible within Calibre GUI? Last edited by Comfy.n; 11-12-2023 at 09:17 AM. |
![]() |
![]() |
![]() |
#144 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
If I remember correctly, the output should be using the "Save to disk" template. What happens if you just save to disk from calibre? Does it work? Does it save it with the same path that failed with prince or is it somehow truncated/modified? Could you run with "calibre-debug --gui" (https://manual.calibre-ebook.com/gen...bre-debug.html) and see if there's more information?
|
![]() |
![]() |
![]() |
#145 | |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Quote:
EPUB format was saved to: C:\tesssst\Burgos, Edgar Baro & Moreno, David\poder del ayuno_ Guia practica para bajar de aumentar tu bienestar (Spanish Edition), El\poder del ayuno_ Guia practica para bajar de peso, dition), El - Edgar Barrionuevo Burgos & David Moreno.epub After clearing the Title Sort in MDE, and converting it with Prince, I tried the Save only PDF format to disk, and it was saved to: "C:\tesssst\Burgos, Edgar Barrionuevo & Moreno, David\Unknown\Unknown - Edgar Barrionuevo Burgos & David Moreno.pdf" edit: the conversion recorded in the log file did not succeed, maybe I should clarify. The PDF saving test was done after doing the workaround metadata edit Last edited by Comfy.n; 07-09-2023 at 03:32 PM. |
|
![]() |
![]() |
![]() |
#146 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Prince is blazing fast, most times.
glad we have this alternative! ![]() Last edited by Comfy.n; 07-11-2023 at 01:53 PM. |
![]() |
![]() |
![]() |
#147 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
I'm confused. The "save to disk" path is shortened to a different length than the output file for Prince (e.g. "Barrionuevo" becomes "Barrvo" or "Baro"). I confess I don't know how this is supposed to work, and it's been a while since I last looked at the code. I still need to find some time for proper debugging, but you could also try to change your save-to-disk template to use shorter paths and see if that helps.
|
![]() |
![]() |
![]() |
#148 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,730
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Nothing wrong with Windows 10. It's quote good.
|
![]() |
![]() |
![]() |
#149 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 7891011
Join Date: Sep 2020
Device: none
|
Oh I hadn't noticed that author middle name change... though that trimming of 'Edition' to ', dition)' did puzzle me.
I have this in save template: {author_sort}/{title}/{title} - {authors} , and just now I spotted this possibly relevant option: "Convert non-English characters to English equivalents" (it's checked). Anyway, that "clearing" workaround seems enough for my current use. I loved that Prince is pretty fast and allows setting a transparent background for PDFs. ![]() |
![]() |
![]() |
![]() |
#150 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,548
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Since this happens, apparently, in the Prince step, perhaps you could manually run Prince on command line with different output paths, and see if you can reproduce the error with some combination of long filename and "unusual" characters.
Quote:
![]() |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 523 | 07-15-2025 06:45 PM |
[GUI Plugin] EpubMerge | JimmXinu | Plugins | 560 | 06-09-2025 03:46 PM |
[GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 03:10 PM |
[GUI Plugin] Wordpress | frescogamba | Plugins | 11 | 04-06-2015 09:09 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |