Bug 17689 - calibre - unhandled exception when converting book
Summary: calibre - unhandled exception when converting book
Status: RESOLVED DUPLICATE of bug 17655
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Atilla ÖNTAŞ
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-05 00:08 CET by Sorin Toma
Modified: 2016-02-05 10:11 CET (History)
1 user (show)

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


Attachments

Description Sorin Toma 2016-02-05 00:08:26 CET
Description of problem:
calibre is unable to convert/transfer ebooks

Version-Release number of selected component (if applicable):
.20.0-1.mga5

How reproducible:
always 

Steps to Reproduce:
1.start calibre. load an ebook/pdf/etc
2.click on "convert books"
3.
calibre, version 2.20.0
ERROR: Unhandled exception: <b>TypeError</b>:QPixmap(): argument 1 has unexpected type 'ImageView'

calibre 2.20  isfrozen: False is64bit: True
Linux-4.1.15-desktop-2.mga5-x86_64-with-mandrake-5-Official Linux ('64bit', 'ELF')
('Linux', '4.1.15-desktop-2.mga5', '#1 SMP Wed Jan 20 17:05:51 UTC 2016')
Python 2.7.9
Linux: ('Mageia', '5', 'Official')
Traceback (most recent call last):
  File "/usr/lib64/calibre/calibre/gui2/actions/convert.py", line 155, in convert_ebook
    self.do_convert(book_ids, bulk=bulk)
  File "/usr/lib64/calibre/calibre/gui2/actions/convert.py", line 172, in do_convert
    self.gui.library_view.model().db, book_ids, out_format=prefs['output_format'])
  File "/usr/lib64/calibre/calibre/gui2/tools.py", line 40, in convert_single_ebook
    d = SingleConfig(parent, db, book_id, None, out_format)
  File "/usr/lib64/calibre/calibre/gui2/convert/single.py", line 150, in __init__
    self.setup_pipeline()
  File "/usr/lib64/calibre/calibre/gui2/convert/single.py", line 200, in setup_pipeline
    self.mw = widget_factory(MetadataWidget)
  File "/usr/lib64/calibre/calibre/gui2/convert/single.py", line 198, in widget_factory
    self.plumber.get_option_help, self.db, self.book_id)
  File "/usr/lib64/calibre/calibre/gui2/convert/metadata.py", line 54, in __init__
    Widget.__init__(self, parent, ['prefer_metadata_cover'])
  File "/usr/lib64/calibre/calibre/gui2/convert/__init__.py", line 61, in __init__
    self.setupUi(self)
  File "/usr/lib64/calibre/calibre/gui2/convert/metadata_ui.py", line 51, in setupUi
    self.cover = ImageView(self.groupBox_4)
  File "/usr/lib64/calibre/calibre/gui2/widgets.py", line 298, in __init__
    self._pixmap = QPixmap(self)
TypeError: QPixmap(): argument 1 has unexpected type 'ImageView'


Reproducible: 

Steps to Reproduce:
David GEIGER 2016-02-05 07:27:49 CET

CC: (none) => geiger.david68210
Assignee: bugsquad => tarakbumba

Comment 1 Atilla ÖNTAŞ 2016-02-05 10:11:18 CET
I' m on it. Thnaks for reporting. Please continue from #17655

*** This bug has been marked as a duplicate of bug 17655 ***

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


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