|
|
#1 |
|
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)
|
calibre crash on source install
Attempting to run calibre built and "develop"ed from a git checkout (again, thanks for the guidance
), calibre crashes and burns with the following message:Code:
calibre, version 2.32.1
ERROR: Startup error: There was an error during calibre startup. Parts of calibre may not function. Click Show details to learn more.
Traceback (most recent call last):
File "/home/eschwartz/git/calibre/src/calibre/gui2/main.py", line 273, in initialize_db_stage2
self.start_gui(db)
File "/home/eschwartz/git/calibre/src/calibre/gui2/main.py", line 213, in start_gui
main.initialize(self.library_path, db, self.listener, self.actions)
File "/home/eschwartz/git/calibre/src/calibre/gui2/ui.py", line 242, in initialize
self.jobs_button = JobsButton(horizontal=True, parent=self)
File "/home/eschwartz/git/calibre/src/calibre/gui2/jobs.py", line 465, in __init__
self.pi = ProgressIndicator(self, size)
TypeError: QProgressIndicator(): argument 1 has unexpected type 'JobsButton'
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,598
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Works on my Arch system with PyQt 5.5 and Qt 5.5.0
|
|
|
|
|
|
#3 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,598
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You might need to re-build the calibre pyqt plugins.
rm -rf build && python setup.py build |
|
|
|
|
|
#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)
|
I could totally swear I built those from scratch today.
![]() Yes, it works.
|
|
|
|
|
|
#5 |
|
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)
|
And now I get:
Code:
calibre, version 2.32.1
ERROR: Unhandled exception: <b>TypeError</b>:QProxyStyle.subControlRect(QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, QWidget): not enough arguments
calibre 2.32.1 isfrozen: False is64bit: False
Linux-4.1.2-2-ARCH-i686-with-glibc2.0 Linux ('32bit', 'ELF')
('Linux', '4.1.2-2-ARCH', '#1 SMP PREEMPT Wed Jul 15 08:51:45 UTC 2015')
Python 2.7.10
Linux: ('', '', '')
Successfully initialized third party plugins: DeDRM && Quality Check && Kindle Collections && Open With && View Manager && FanFicFare && KindleUnpack - The Plugin && Diaps Editing Toolbag && Overdrive Link && Goodreads Sync && Annotations && Modify ePub && Overdrive Link
Traceback (most recent call last):
File "/home/eschwartz/git/calibre/src/calibre/gui2/library/delegates.py", line 58, in updateEditorGeometry
QStyle.SC_ComboBoxArrow)
TypeError: QProxyStyle.subControlRect(QStyle.ComplexControl, QStyleOptionComplex, QStyle.SubControl, QWidget): not enough arguments
Code:
calibre 2.32.1 isfrozen: False is64bit: False
Linux-4.1.2-2-ARCH-i686-with-glibc2.0 Linux ('32bit', 'ELF')
('Linux', '4.1.2-2-ARCH', '#1 SMP PREEMPT Wed Jul 15 08:51:45 UTC 2015')
Python 2.7.10
Linux: ('', '', '')
Successfully initialized third party plugins: DeDRM && Quality Check && Kindle Collections && Open With && View Manager && FanFicFare && KindleUnpack - The Plugin && Diaps Editing Toolbag && Overdrive Link && Goodreads Sync && Annotations && Modify ePub && Overdrive Link
Traceback (most recent call last):
File "/home/eschwartz/git/calibre/src/calibre/gui2/library/alternate_views.py", line 159, in mouseMoveEvent
drag = self.drag_data()
File "/home/eschwartz/git/calibre/src/calibre/gui2/library/alternate_views.py", line 104, in drag_data
md.setData('application/calibre+from_library', ids)
TypeError: QMimeData.setData(str, QByteArray): argument 2 has unexpected type 'unicode'
After posting about a problem I can't go away without finding *something* wrong.
Last edited by eschwartz; 07-23-2015 at 02:04 AM. |
|
|
|
|
|
#6 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,598
Karma: 28548962
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
|
|
|
|
|
#7 |
|
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)
|
Success!
![]() And I am now successfully running a source install from git, which means I can pull changes and rebuild extensions. I finally have fulfillment in life. ![]() On a totally irrelevant note: the source install has access to the default system Qt theme, I guess, and boy is it ugly and blocky. That setting must've accidentally switched at some point .On a slightly less irrelevant note: exiting a setting in the Preferences appears to be called "Close without saving", whereas in the binary it was "Discard". I much prefer the former... Last edited by eschwartz; 07-23-2015 at 02:40 AM. |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| crash - killtimers error with Calibre 8.50 fresh install | dustwindbun | Calibre | 11 | 05-21-2012 06:41 PM |
| can't install source 8.35 | iomari | Calibre | 11 | 01-20-2012 04:34 AM |
| Source Install Fails on Ubuntu 11.04 | chris1412 | Library Management | 2 | 09-14-2011 09:15 AM |
| Unable to install Calibre 0.7.56 from source | prashc | Calibre | 2 | 04-18-2011 09:42 AM |
| Calibre 0.7.36 crash | Phoul | Calibre | 5 | 01-02-2011 06:43 PM |