Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-23-2015, 12:07 AM   #1
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)
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'
Probable cause -- ArchLinux just updated PyQt to 5.5 today.
eschwartz is offline   Reply With Quote
Old 07-23-2015, 12:41 AM   #2
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: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Works on my Arch system with PyQt 5.5 and Qt 5.5.0
kovidgoyal is online now   Reply With Quote
Advert
Old 07-23-2015, 12:42 AM   #3
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: 45,318
Karma: 27111242
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
kovidgoyal is online now   Reply With Quote
Old 07-23-2015, 01:22 AM   #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)
I could totally swear I built those from scratch today.

Yes, it works.
eschwartz is offline   Reply With Quote
Old 07-23-2015, 01:58 AM   #5
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)
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
and
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'
trying to edit cells. The cell I want to edit appears floating in the top left corner.

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.
eschwartz is offline   Reply With Quote
Advert
Old 07-23-2015, 02:18 AM   #6
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: 45,318
Karma: 27111242
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...37c36d42e8454e
kovidgoyal is online now   Reply With Quote
Old 07-23-2015, 02:33 AM   #7
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)
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.
eschwartz is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 11:32 AM.


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