Bug 17655 - error in calibre if you attempt to edit metadata or convert books
Summary: error in calibre if you attempt to edit metadata or convert books
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL: https://bugs.launchpad.net/calibre/+b...
Whiteboard: has_procedure advisory MGA5-32-OK MGA...
Keywords: validated_update
: 17689 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-31 19:53 CET by Claudia Baetz
Modified: 2016-02-17 20:21 CET (History)
4 users (show)

See Also:
Source RPM: calibre-2.20.0-1.mga5.src.rpm
CVE:
Status comment:


Attachments

Description Claudia Baetz 2016-01-31 19:53:28 CET
Description of problem:
If I attempt to edit metadata or convert books individually I get an popup
"ERROR: Unhandled exception: TypeError: QPixmap(): argument 1 has unexpected type 'Cover'". It's still possible to edit metadata or convert books in bulk.The bug occured between Jan 20th an Jan 23rd for the first time.

The problem might be caused by the update to Qt 5.4.2. There is a bugreport on launchpad (https://bugs.launchpad.net/calibre/+bug/1427684) which describes the same problem (calibre: 2.20.0-1, Qt: 5.4.1-2). That bug was fixed in calibre.

Version-Release number of selected component (if applicable):
calibre-2.20.0-1.mga5, Qt 5.4.2-1.1

How reproducible:
Every time I attempt to edit metadata or convert an ebook.

Steps to Reproduce:
1.open calibre
2.select an ebook
3.type "e" or "c" or click on "edit metadata" or "convert books"
4. an error popup appears


Reproducible: 

Steps to Reproduce:
Samuel Verschelde 2016-02-02 14:31:29 CET

Assignee: bugsquad => tarakbumba

Comment 1 Atilla ÖNTAŞ 2016-02-05 10:11:18 CET
*** Bug 17689 has been marked as a duplicate of this bug. ***

CC: (none) => muie1121

Comment 2 Atilla ÖNTAŞ 2016-02-05 10:13:58 CET
Thank you for reporting. I' ll dig into calibre's github page for a patch but it will take some time. This piece of software doesn't fit into our updates policy and doesn't have pure bugfix releases. Tough, author doesn't like packaging it...
Comment 3 Atilla ÖNTAŞ 2016-02-05 20:23:37 CET
I submitted fixed calibre-2.20.0-1.1-mga5 package to buildserver. It should hit core/updates_testing repository soon. Please test and tell me if you issue is fixed. Thanks.
Comment 4 Claudia Baetz 2016-02-06 20:56:12 CET
The issue is fixed in the new package. Thank you.
Comment 5 Sorin Toma 2016-02-06 22:01:47 CET
I confirm it's fixed in calibre-2.20.0-1.1.mga5
Good job!
Comment 6 Atilla ÖNTAŞ 2016-02-06 22:13:31 CET
I have uploaded a patched calibre package for Mageia 5.

Suggested advisory:
========================

Updated calibre package fix incompability with PyQt 5.4.1 and above:

Before this update, calibre metadata editing and book converting functions didn't work with an error message: "ERROR: Unhandled exception: TypeError: QPixmap(): argument 1 has unexpected type 'Cover'" error.

Updated package includes a patch which is backported from newer calibre versions.

References:
https://bugs.launchpad.net/calibre/+bug/1427684
https://bugs.mageia.org/show_bug.cgi?id=17655
========================

Updated packages in core/updates_testing:
========================
calibre-2.20.0-1.1.mga5

Source RPMs:
========================
calibre-2.20.0-1.1.mga5.src.rpm

Hardware: x86_64 => All
Assignee: tarakbumba => qa-bugs

Comment 7 Lewis Smith 2016-02-08 15:08:36 CET
You need to be into e-books to test this one (I am not). Thanks to to both Claudia Batz Comment 4 and Sorin Toma Comment 5 for their +ve feedback. Unless someone from QA can also test it quickly, this update looks good to go. If not, I will test simply that the update is smooth to OK it.

CC: (none) => lewyssmith

Comment 8 Thomas Andrews 2016-02-09 19:27:40 CET
Testing both 32-bit and 64-bit, with the upcoming nvidia340 driver update installed:

On both systems, installed Calibre, observed bug with a pdf ebook, installed update, bug disappears and functions appear to proceed normally.

Adding OKs to the Whiteboard...

CC: (none) => andrewsfarm
Whiteboard: (none) => 32-bit OK 64-bit OK

Rémi Verschelde 2016-02-10 07:42:52 CET

Whiteboard: 32-bit OK 64-bit OK => MGA5-32-OK MGA5-64-OK

Comment 9 claire robinson 2016-02-10 18:52:20 CET
Validating. Advisory uploaded.

Please push to 5 updates, thanks.

Keywords: (none) => validated_update
Whiteboard: MGA5-32-OK MGA5-64-OK => has_procedure advisory MGA5-32-OK MGA5-64-OK
CC: (none) => sysadmin-bugs

Comment 10 Mageia Robot 2016-02-17 20:21:19 CET
An update for this issue has been pushed to the Mageia Updates repository.

http://advisories.mageia.org/MGAA-2016-0023.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.