Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-11-2015, 06:26 PM   #1
eschwartz
Irrational Optimist
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: 13,705
Karma: 53167628
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Mysterious crash

For some reason, calibre just started popping up with the following error message (sometimes dozens of times), then crashing after a short period of time:

Code:
calibre, version 2.34.0.r14.g7ee4c44
ERROR: Unhandled exception: <b>TypeError</b>:QProxyStyle.subElementRect(QStyle.SubElement, QStyleOption, QWidget): not enough arguments

calibre 2.34.0.r14.g7ee4c44  isfrozen: False is64bit: False
Linux-4.1.4-1-ARCH-i686-with-glibc2.0 Linux ('32bit', 'ELF')
('Linux', '4.1.4-1-ARCH', '#1 SMP PREEMPT Mon Aug 3 21:53:10 UTC 2015')
Python 2.7.10
Linux: ('', '', '')
Successfully initialized third party plugins: DeDRM && Kindle Collections && Open With && Quality Check && FanFicFare && KindleUnpack - The Plugin && Diaps Editing Toolbag && Overdrive Link && Goodreads Sync && Annotations && View Manager && Modify ePub && Overdrive Link
Traceback (most recent call last):
  File "/home/eschwartz/git/calibre/src/calibre/gui2/library/delegates.py", line 553, in paint
    rect = style.subElementRect(QStyle.SE_ItemViewItemDecoration, option)
TypeError: QProxyStyle.subElementRect(QStyle.SubElement, QStyleOption, QWidget): not enough arguments

I will note that a few hours ago it worked fine and I haven't changed anything on my system since.

Last edited by eschwartz; 08-11-2015 at 06:30 PM.
eschwartz is offline   Reply With Quote
Old 08-11-2015, 07:03 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 8,450
Karma: 51865024
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Running from source might be a factor here.....
PeterT is online now   Reply With Quote
Old 08-11-2015, 07:12 PM   #3
eschwartz
Irrational Optimist
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: 13,705
Karma: 53167628
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Thank you for your wise elucidative remark. I can't believe I forgot I was running from source.

If it is a problem running from source, then it will probably be a problem later on in the official binary distributions. A number of PyQt5.5 compatibility issues were recently squelched that way, and similarly in calibre's history.

I am doing everything the recommended way -- running from source *shouldn't* be a problem. If it is anyway, Kovid will be interested at the very least.
eschwartz is offline   Reply With Quote
Old 08-11-2015, 07:46 PM   #4
BetterRed
null operator
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: 5,322
Karma: 4046175
Join Date: Mar 2012
Location: NSW Australia
Device: none
Try Windows 10

Can you not install an instance of calibre that runs the binary out of the box. This would allow you to verify against a known good and thus eliminate the vagaries of running from source, i.e. what used to be a called regression testing!!

BR
BetterRed is online now   Reply With Quote
Old 08-11-2015, 08:03 PM   #5
eschwartz
Irrational Optimist
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: 13,705
Karma: 53167628
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Been there, done that. It works. calibre is just as reliable (in that respect) on linux as on Win10.
It even runs in development mode. Just the development install has that problem -- i.e. compiled against system resources.

I posted in the hope that I could maybe help calibre be forward-compatible sooner.

Last edited by eschwartz; 08-11-2015 at 08:55 PM. Reason: typo
eschwartz is offline   Reply With Quote
Old 08-11-2015, 08:30 PM   #6
BetterRed
null operator
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: 5,322
Karma: 4046175
Join Date: Mar 2012
Location: NSW Australia
Device: none
Q- would it not have been better to post this in the Development sub forum, I'll move it if you ask me nicely
BetterRed is online now   Reply With Quote
Old 08-11-2015, 08:57 PM   #7
eschwartz
Irrational Optimist
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: 13,705
Karma: 53167628
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Nope -- it's a bug report.

Development is for practical discussion of the code. If I was trying to fix it myself it might belong there.
eschwartz is offline   Reply With Quote
Old 08-11-2015, 10:25 PM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 27,561
Karma: 5694717
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
PyQt 5.5 is annoying: https://github.com/kovidgoyal/calibr...bc67452b380fa7
kovidgoyal is offline   Reply With Quote
Old 08-11-2015, 11:42 PM   #9
eschwartz
Irrational Optimist
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: 13,705
Karma: 53167628
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Thanks for the fix. And at least it got caught before you ever shipped it.

I wonder though why I only started getting that now...
It happened every time I scrolled to the right.
eschwartz is offline   Reply With Quote
Old 08-12-2015, 12:44 AM   #10
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 27,561
Karma: 5694717
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Because it is in code for drawing custom comment columns and presumably you have a custom comment column somewhere to the right
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hello, beautiful and mysterious people! Ciaran West Introduce Yourself 7 07-31-2012 03:03 AM
Mysterious html travger Kindle Formats 18 04-19-2012 02:06 AM
The Mysterious Benedict Society wyndslash Reading Recommendations 3 07-17-2011 08:31 PM
Mysterious Island mtravellerh Deals, Freebies, and Resources (No Self-Promotion) 0 12-27-2008 05:28 AM
The Mysterious Island kevinofengland Sony Reader 6 09-27-2008 08:52 AM


All times are GMT -4. The time now is 05:28 PM.


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