calibre can't change cover image QMessageBox(QWidget parent=None): argument 1 has unexpected type 'Icon'

Bug #696077 reported by Chris Bainbridge
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: calibre

calibre 0.7.18+dfsg-1 on Maverick.
Convert dialog.
Change cover image.
Select a jpg file.

Error Backtrace:

  File "/usr/lib/calibre/calibre/gui2/convert/metadata.py", line 182, in select_cover
    _("<p>There was an error reading from file: <br /><b>") + _file + "</b></p><br />"+str(e))
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 246, in error_dialog
    parent, det_msg)
  File "/usr/lib/calibre/calibre/gui2/__init__.py", line 209, in __init__
    QMessageBox.__init__(self, type_, title, msg, buttons, parent)
TypeError: arguments did not match any overloaded call:
  QMessageBox(QWidget parent=None): argument 1 has unexpected type 'Icon'
  QMessageBox(QMessageBox.Icon, QString, QString, QMessageBox.StandardButtons buttons=QMessageBox.NoButton, QWidget parent=None, Qt.WindowFlags flags=Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint): argument 5 has unexpected type 'builtin_function_or_method'
  QMessageBox(QString, QString, QMessageBox.Icon, int, int, int, QWidget parent=None, Qt.WindowFlags flags=Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint): argument 1 has unexpected type 'Icon'

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package calibre - 2.0.0+dfsg-1

---------------
calibre (2.0.0+dfsg-1) unstable; urgency=medium

  * New upstream release. (Closes: #759246)
  * Adjust debian/rules get-orig-source for slightly changed upstream tarball
    layout.
  * This version uses Qt5 now. Close all crashes which are related to Qt4.
    (Closes: #673598, #609705) (LP: #1294989, #1074796, #1038931, #1021047,
    #976305, #967316, #958282, #939788, #930445, #927641, #925777, #891924,
    #886504, #871883, #854417, #852624, #762931, #762643, #761719, #745176,
    #720028, #701129, #696077, #659806, #565377, #565366, #565178, #563585,
    #557883, #458403, #1216549, #1051759, #1027371, #720021, #556985, #555961)
  * Adjust build and binary dependencies for the Qt 4 → 5 change.

 -- Martin Pitt <email address hidden> Tue, 26 Aug 2014 20:43:13 +0200

Changed in calibre (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.