Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-03-2015, 02:15 PM   #1
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
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?
scarlettruin is offline   Reply With Quote
Old 04-03-2015, 02:32 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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.
JSWolf is offline   Reply With Quote
Advert
Old 04-03-2015, 02:39 PM   #3
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
Quote:
Originally Posted by JSWolf View Post
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.
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.
scarlettruin is offline   Reply With Quote
Old 04-03-2015, 03:54 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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)
  1. You can post the link itself rather than a google redirect to the link.
  2. Tht linux-only bug is a month old and regardless should only apply to distro builds. It was also fixed just as long ago. The recommended way to run calibre is via the binary install on calibre's homepage. That being said, if you can provide an error message, that could prove instrumental to fixing it.

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.
eschwartz is offline   Reply With Quote
Old 04-03-2015, 04:16 PM   #5
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
Quote:
Originally Posted by eschwartz View Post
  1. You can post the link itself rather than a google redirect to the link.
  2. Tht linux-only bug is a month old and regardless should only apply to distro builds. It was also fixed just as long ago. The recommended way to run calibre is via the binary install on calibre's homepage. That being said, if you can provide an error message, that could prove instrumental to fixing it.

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.
Hi- I hate to admit it, but I don't know how to modify the plugin, do an error traceback or find pllugin errors in official builds - could you please point me towards somewhere that it is explained? I'm not amazing with computers :S

Last edited by scarlettruin; 04-03-2015 at 04:20 PM.
scarlettruin is offline   Reply With Quote
Advert
Old 04-03-2015, 04:22 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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 -- I usually assume any linux user is likely to have some skill at basic modification of source code files unless otherwise stated.
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.
eschwartz is offline   Reply With Quote
Old 04-03-2015, 04:28 PM   #7
scarlettruin
Connoisseur
scarlettruin began at the beginning.
 
Posts: 69
Karma: 10
Join Date: May 2014
Location: UK
Device: Samsung 10 Inch Tablet 2016 & Samsung S10+
Quote:
Originally Posted by eschwartz View Post
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 -- I usually assume any linux user is likely to have some skill at basic modification of source code files unless otherwise stated.
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.
No,I use windows,not linux, hence why I'm not great at this :S lol, it's pretty much figure it out as i go along!

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.
scarlettruin is offline   Reply With Quote
Old 04-03-2015, 10:13 PM   #8
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,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)
theducks is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 10:55 PM.


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