Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 592980 - app-text/calibre-2.63.0 on "edit book": TypeError: connect() failed between contentsChange(int,int,int) and reformat_blocks()
Summary: app-text/calibre-2.63.0 on "edit book": TypeError: connect() failed between c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-06 11:13 UTC by William
Modified: 2023-10-19 23:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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