Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 592980

Summary: app-text/calibre-2.63.0 on "edit book": TypeError: connect() failed between contentsChange(int,int,int) and reformat_blocks()
Product: Gentoo Linux Reporter: William <sirrobin2318>
Component: Current packagesAssignee: Zac Medico <zmedico>
Status: RESOLVED FIXED    
Severity: normal CC: eschwartz93, yngwin, zmedico
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://launchpad.net/bugs/1615824
Whiteboard:
Package list:
Runtime testing required: ---

Description William 2016-09-06 11:13:30 UTC
Editing an ebook (epub in my case, probably all types though) doesn't work, you get a pop up with an error message instead.

Seems to be this bug: 
https://bugs.launchpad.net/calibre/+bug/1615824
Corrected by this patch:
https://github.com/kovidgoyal/calibre/commit/0e11f80cf6b17a4c526dd9b5ed6abb3d020bfadc

TLDR; PyQt incompatibility.

I just cp'd calibre-2.63.0.ebuild as calibre-2.66.0.ebuild in a local overlay and things are fixed.

Reproducible: Always

Steps to Reproduce:
1. right on ebook, click edit
2. in the new window, on the left column, double click on a file to edit
3. look at the pop up error message with anger hoping it'll go away
Actual Results:  
no book editing

Expected Results:  
book editing

This is on ~amd64 installation with dev-python/PyQt5-5.7
Comment 1 Eli Schwartz 2023-10-19 23:40:49 UTC
calibre < 2.65.0 is no longer available in tree so no longer affected. It was fixed anyway in:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4820929e66a8ecb6098e7448eed6e7795d5924f7

commit 4820929e66a8ecb6098e7448eed6e7795d5924f7
Author:     Manuel Rüger <mrueg@gentoo.org>
AuthorDate: Wed Sep 7 19:49:12 2016
Commit:     Manuel Rüger <mrueg@gentoo.org>
CommitDate: Wed Sep 7 19:49:12 2016

    app-text/calibre: Version bump to 2.66.0
    
    Package-Manager: portage-2.3.0

 app-text/calibre/Manifest              |   1 +
 app-text/calibre/calibre-2.66.0.ebuild | 251 +++++++++++++++++++++++++++++++++
 2 files changed, 252 insertions(+)
 create mode 100644 app-text/calibre/calibre-2.66.0.ebuild