![]() |
#1 |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
|
How to sort a bug fix
Everytime I try to use 'Generate Cover', this error popsup - TypeError:QPixmap(): argument 1 has unexpected type 'ImageView'. I've asked about this in the plugin specific part on the forum, but I have a futher issue. There does seem to be a fix,but I don't understand how to implement it - the fix is here - https://www.google.co.uk/url?sa=t&rc...89947451,d.ZGU - can anyone help please?
|
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,326
Karma: 145488914
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Update your version of Calibre to 2.23. The fix you mention has been included in version 2.23 which is the version released today.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
|
I've already updated calibre to 2.23, and it was after the upgrade that the problem first started.
Last edited by scarlettruin; 04-03-2015 at 02:43 PM. |
![]() |
![]() |
![]() |
#4 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Edit: If the problem is only with the plugin, then the plugin needs to stop passing that value to that function. Modify the plugin. An error traceback will even tell you which line to fix. Edit2: I believe calibre now bundles Qt5.4.1 so plugin errors should show up in all official builds as well. ![]() Last edited by eschwartz; 04-03-2015 at 04:06 PM. |
![]() |
![]() |
![]() |
#5 | |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
|
Quote:
Last edited by scarlettruin; 04-03-2015 at 04:20 PM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
The error traceback is the full text of the error message that pops up. Also echoed in the log when running calibre in debug mode (from the command prompt, "calibre-debug -g").
I initially thought this must be a linux issue, but I can't be sure anymore ![]() You can unzip the plugin file and edit the *.py files as needed... Not to worry, though -- this should be fixed by the plugin maintainer soon. |
![]() |
![]() |
![]() |
#7 | |
Connoisseur
![]() Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
|
Quote:
This is the error mesage: calibre, version 2.23.0 ERROR: Unhandled exception: <b>TypeError</b>:QPixmap(): argument 1 has unexpected type 'ImageView' calibre 2.23 [64bit] isfrozen: True is64bit: True Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE') ('Windows', '8', '6.2.9200') Python 2.7.9 Windows: ('8', '6.2.9200', '', 'Multiprocessor Free') Successfully initialized third party plugins: Generate Cover && Extract ISBN && Quality Check && Author Book Count && DOC Input && Goodreads Sync && User Category && Count Pages && FanFictionDownLoader && Save To Format && KoboTouchExtended && View Manager && EpubMerge && Derive_Genres && Read MP3 AudioBook metadata && Open With Traceback (most recent call last): File "calibre_plugins.generate_cover.action", line 62, in _generate_cover File "calibre_plugins.generate_cover.dialogs", line 1343, in __init__ File "calibre_plugins.generate_cover.dialogs", line 152, in __init__ TypeError: QPixmap(): argument 1 has unexpected type 'ImageView' So what do I need to edit please, and where do I find the text I need to edit? Or do I need to wait for the plugin developer to sort the issue? Last edited by scarlettruin; 04-03-2015 at 04:53 PM. |
|
![]() |
![]() |
![]() |
#8 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,925
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Update the PI
Preferences: Get Plugins: Update available (pull down) |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to fix author sort for Kindle | Isherwood | Calibre | 43 | 10-15-2014 03:56 PM |
Minor bug fix release now available? | borisb | enTourage Archive | 6 | 05-24-2010 03:05 PM |
Evidence needed to support bug fix? | Strether | Calibre | 5 | 02-20-2010 12:57 PM |
eScape Bug Fix Release | Munish | ePub | 0 | 03-23-2009 08:46 AM |
iLiad Bug report with fix to iRex | scotty1024 | iRex Developer's Corner | 0 | 10-21-2006 05:15 PM |