Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 01-27-2015, 12:55 AM   #511
sp000n
Junior Member
sp000n began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2009
Device: Sony PRS 700
Appreciate the replies, BetterRed & Tanjamuse.

Adobe Reader Pro, which I have, lets me extract page(s) but not as JPEG. I worked out a solution automating the Calibre steps with AutoHotkey. I'll post it in the right spot.
sp000n is offline   Reply With Quote
Old 02-08-2015, 10:41 PM   #512
MsBarrows
Junior Member
MsBarrows began at the beginning.
 
MsBarrows's Avatar
 
Posts: 8
Karma: 10
Join Date: Dec 2013
Device: none
Hi, just had one of those instances where I added a new cover and the next time I went to use the plugin, there was a message about configuration file corruption. I'd previously thought this was tied to using hyphens in the names (and stopped using them, which seemed to stop the corruption from occurring until fairly recently), but this case involved no hyphens, so, as to what happened:

1) Had two epubs selected. Clicked on Generate Cover plugin.
2) Plug-in was on a cover "Bucky Steve 7" I'd created some time ago and had used earlier today to add a cover to a new book in an ongoing series. Cover was set as 500x700 dimensions using a non-stretched image also named "Bucky Steve 7", contents order of title, image, author, series, all text centred
3) On the settings page, clicked "Add Setting" and from that profile created a new one named "Botanical Diaries"
4) Clicked "Add Image To This List" and imported an image also named "Botanical Diaries"
5) On the "Dimensions" tab changed to a stretched image
6) On the "Contents" tab changed order of elements to title, author, image, series
7) On the "Fonts" tab changed the fill colour
8) Changed title and author to right-aligned
9) On the "Dimension" tab I decreased the bottom, left and right margins. NOTE - previously reported error with changes to left margin incorrectly affecting starting placement of right-aligned text is still is effect
10) On the "Fonts" tab adjusted sizes of font
11) Saved and applied the cover
12) Decided to further tweak the cover, clicked on "Generate Cover", corruption error message appeared - details reported that "Bucky Steve 7" had incorrect internal name of "Botanical Diaries" and was being fixed
13) New cover "Botanical Diaries" is still present and looks correct. Previous cover of "Bucky Steve 7" is gone from list entirely and will need to be recreated.
MsBarrows is offline   Reply With Quote
Advert
Old 04-03-2015, 01:31 PM   #513
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+
Every time I go to use this plugin, an error pops up that says "TypeError:QPixmap(): argument 1 has unexpected type 'ImageView'. Can anyone help please? I've already upgraded to 2.23.

Last edited by scarlettruin; 04-03-2015 at 02:41 PM.
scarlettruin is offline   Reply With Quote
Old 04-03-2015, 03:42 PM   #514
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: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by scarlettruin View Post
Every time I go to use this plugin, an error pops up that says "TypeError:QPixmap(): argument 1 has unexpected type 'ImageView'. Can anyone help please? I've already upgraded to 2.23.
I saw that message once running Count Pages PI after doing todays update W7 x64
Kovid is the something iffy here?
theducks is offline   Reply With Quote
Old 04-03-2015, 04:08 PM   #515
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,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
This? Problem, as per other thread, is a function change in Qt5.4.1, which was fixed for calibre itself but not if a plugin also called the same type of code.

Quote:
Originally Posted by eschwartz View Post
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.
eschwartz is offline   Reply With Quote
Advert
Old 04-03-2015, 04:28 PM   #516
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,317
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by eschwartz View Post
This? Problem, as per other thread, is a function change in Qt5.4.1, which was fixed for calibre itself but not if a plugin also called the same type of code.
Can you link to that thread? I'm not finding it. Thanks.
JimmXinu is offline   Reply With Quote
Old 04-03-2015, 04:31 PM   #517
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,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I quoted my post from that thread.
Well, that thread linked to a calibre bug report.

Also this: https://www.mobileread.com/forums/showthread.php?t=256756

Last edited by eschwartz; 04-03-2015 at 04:34 PM.
eschwartz is offline   Reply With Quote
Old 04-03-2015, 04:45 PM   #518
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,317
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by eschwartz View Post
I quoted my post from that thread.
Ah, I didn't realize you could cross-quote like that. Thanks.

Looking at what was changed in calibre, it looks like a very simple fix:

Code:
# Change dialogs.py:152 from
        self._pixmap = QPixmap(self)
# to
        self._pixmap = QPixmap()
Attached is a test version with that change. It works for me--but then it wasn't broken before for me.

UPDATE: Attachment now has updated version number and change log and is in the officially preferred uncompressed state.

Last edited by JimmXinu; 05-31-2015 at 10:40 AM. Reason: Remove obsolete test versions - replaced by newer test or released version.
JimmXinu is offline   Reply With Quote
Old 04-03-2015, 05:21 PM   #519
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 JimmXinu View Post
Ah, I didn't realize you could cross-quote like that. Thanks.

Looking at what was changed in calibre, it looks like a very simple fix:

Code:
# Change dialogs.py:152 from
        self._pixmap = QPixmap(self)
# to
        self._pixmap = QPixmap()
Attached is a test version with that change. It works for me--but then it wasn't broken before for me.
YES!! It's fixed! Thank you so much!
scarlettruin is offline   Reply With Quote
Old 04-03-2015, 05:27 PM   #520
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,317
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by scarlettruin View Post
YES!! It's fixed! Thank you so much!
Great, I've dropped Kovid a PM asking him to update the first post.
JimmXinu is offline   Reply With Quote
Old 04-03-2015, 05:38 PM   #521
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,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
FWIW.

Kovid is in a different timezone, plus might have other preoccupations.
I would drop a line to DoctorOhh, theducks, or BetterRed instead.

Might get a resolution, oh, a few hours earlier.
eschwartz is offline   Reply With Quote
Old 04-03-2015, 05:47 PM   #522
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: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JimmXinu View Post
Great, I've dropped Kovid a PM asking him to update the first post.
Is this version ALSO compatible with older Calibre's?
theducks is offline   Reply With Quote
Old 04-03-2015, 05:53 PM   #523
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,317
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by theducks View Post
Is this version ALSO compatible with older Calibre's?
Just tried it with the portable versions of v1.48 and v2.14 and both worked. Good question, though.
JimmXinu is offline   Reply With Quote
Old 04-03-2015, 06:54 PM   #524
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: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by JimmXinu View Post
Just tried it with the portable versions of v1.48 and v2.14 and both worked. Good question, though.
If you update the change log (inside the Zip) and version, I can move it ti the first post. PM when ready please
theducks is offline   Reply With Quote
Old 04-03-2015, 06:58 PM   #525
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Don't forget to update the version number - has happened before
BetterRed is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Goodreads Sync kiwidude Plugins 1721 04-18-2024 10:22 AM
[GUI Plugin] Clipboard Search kiwidude Plugins 29 04-02-2024 10:05 PM
[GUI Plugin] Open With kiwidude Plugins 403 04-01-2024 08:39 AM
[GUI Plugin] User Category kiwidude Plugins 123 03-16-2024 11:59 PM
[GUI Plugin] Quick Preferences kiwidude Plugins 62 03-16-2024 11:47 PM


All times are GMT -4. The time now is 05:33 AM.


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