![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2017
Device: Kindlewhite
|
Calibre error "Cannot operate on null QImage"
It was working fine till i tried adding a cover which was not a valid jpg file
and since then it is giving me error i get the following error when i click the "generate cover" icon ValueError: Cannot operate on null QImage please help me get back the cover of my choice on the books. i get the following text on error calibre 2.84 embedded-python: True is64bit: False Windows-7-6.1.7600 Windows ('32bit', 'WindowsPE') ('Windows', '7', '6.1.7600') Python 2.7.9 Windows: ('7', '6.1.7600', '', 'Multiprocessor Free') Successfully initialized third party plugins: K4PC, K4Mac, Kindle Mobi and Topaz DeDRM (0, 3, 7) && Inept Epub DeDRM (0, 1, 7) && Inept PDF DeDRM (0, 1, 4) && Generate Cover (1, 5, 21) && Ignoble Epub DeDRM (0, 1, 6) && eReader PDB 2 PML (0, 0, 5) Traceback (most recent call last): File "calibre_plugins.generate_cover.action", line 65, in _generate_cover File "calibre_plugins.generate_cover.dialogs", line 1377, in __init__ File "calibre_plugins.generate_cover.dialogs", line 1669, in display_preview File "calibre_plugins.generate_cover.draw", line 330, in generate_cover_for_book File "calibre_plugins.generate_cover.draw", line 178, in create_cover_page File "site-packages\calibre\utils\magick\legacy.py", line 117, in compose File "site-packages\calibre\utils\img.py", line 246, in overlay_image ValueError: Cannot operate on null QImage P.S i guess its a cover generator plugin error. Last edited by zzombie; 05-07-2017 at 12:59 PM. |
![]() |
![]() |
![]() |
#2 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
How did you add the invalid jpg, that's where the error should have been picked up? BR |
|
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2017
Device: Kindlewhite
|
the folder you said now has a valid jpg file.. but i still deleted everything and tried again but no success.. the file i initially tried to added wasnt downloaded properly and gave error ..since then it is giving same error inspite of uninstalling and installing again. and no matter what my covers are not showing in kindle ..the MBP1 and MBS are not showing/created by kindle in sdr folder of the book.
|
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]()
Can you see the valid jpg in book details viz:
If you can see it, then I think you need to 're-upload' the book to your Kindle. But that's not something I can help you with as I don't own a Kindle. BR Last edited by BetterRed; 05-07-2017 at 08:05 PM. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You should post this in the generate cover plugin thread as it is an error in that plugin, not calibre itself.
|
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: May 2017
Device: Kindlewhite
|
Thankyou @Kovidgoyal and BetterRed. i searced the generate cover plugin thread and found my answer..now the plugin is working like charm
thankyou for your help ![]() |
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Nov 2008
Location: Greenwood Village, Colorado,USA
Device: iPad Air & iPad Pro
|
I have exactly the same problem, from the same cause. I find a lot of plugin threads. Please tell me how to find the thread with the answer. Thank you.
|
![]() |
![]() |
![]() |
#8 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
https://www.mobileread.com/forums/sh...d.php?t=124219 |
|
![]() |
![]() |
![]() |
#9 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
That index is one of the Sticky threads at the top of the Plugins subforum. BR |
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Nov 2008
Location: Greenwood Village, Colorado,USA
Device: iPad Air & iPad Pro
|
Found it, fix worked perfectly, and all is well. Thank you all.
|
![]() |
![]() |
![]() |
#11 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Can that list be updated so it shows the latest version of Calibre they work with? It's listed what the earliest version is, but not what the latest version. I would list them as Calibre 6 if they work inder Calibre 6.x and same with Calibre 5, etc. |
|
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,073
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
I do think that it would be a good idea to eventually drop plug-ins from that list if they no longer work with recent calibre versions and are not being maintained by anyone. Last edited by jhowell; 08-07-2022 at 04:51 PM. |
|
![]() |
![]() |
![]() |
#13 | ||
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#14 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,064
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Preferences: Get Plugins
Greys incompatible PI (it also provides a direct link to the dedicated thread for the selected PI) This path does NOT support other ways (not in the index) to get plugins (lookin at you deDRM ![]() |
![]() |
![]() |
![]() |
#15 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,731
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
If you want to volunteer to maintain the index, I'm sure that can be arranged. BR |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Error while parsing file 'element "img" not allowed here" | shotsfromthebar | Editor | 3 | 03-31-2017 03:53 AM |
Latest Calibre gives me the error "'calibre.app' is damaged and can't be opened." | Gary King | Calibre | 5 | 10-24-2012 06:15 AM |
help with Apple error - null - expecting http://www.w3.org/1999/xhtml" | mczajka | ePub | 3 | 08-15-2012 08:10 AM |
Coolreader & certain "legit" epubs - null | Archolmn | Android Devices | 0 | 03-01-2012 11:54 AM |
Calibre plugIn Kindle Collections Error message "Value Error:month..." | readee | Plugins | 4 | 10-10-2011 11:21 AM |