Bug 1341631 - calibre: ebook-edit crashes with "AttributeError: type object 'QUrl' has no attribute 'None'"
Summary: calibre: ebook-edit crashes with "AttributeError: type object 'QUrl' has no a...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-01 11:39 UTC by Ahmad Samir
Modified: 2016-06-18 18:43 UTC (History)
6 users (show)

Fixed In Version: calibre-2.58.0-1.fc24
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-18 18:43:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ahmad Samir 2016-06-01 11:39:27 UTC
When editing an epub with ebook-edit from caliber-2.56.0 and trying to open any text file, the program shows an error dialogue then crashes with this error:
$ ebook-edit 
calibre 2.56  embedded-python: False is64bit: True
Linux-4.5.5-300.fc24.x86_64-x86_64-with-fedora-24-Twenty_Four Linux ('64bit', '')
('Linux', '4.5.5-300.fc24.x86_64', '#1 SMP Thu May 19 13:05:32 UTC 2016')
Python 2.7.11
Linux: ('Fedora', '24', 'Twenty Four')
Traceback (most recent call last):                                                                        
  File "/usr/lib64/calibre/calibre/gui2/tweak_book/preview.py", line 223, in createRequest                
    url = unicode(request.url().toString(QUrl.None))                                                      
AttributeError: type object 'QUrl' has no attribute 'None'


The issue has been fixed upstream:
https://github.com/kovidgoyal/calibre/commit/57450e54e68b3ca155f7ac16983632b6bd458bc6

Comment 1 Fedora Update System 2016-06-03 21:29:34 UTC
calibre-2.58.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-89ded4dc6a

Comment 2 Fedora Update System 2016-06-04 18:25:02 UTC
calibre-2.58.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-89ded4dc6a

Comment 3 Ahmad Samir 2016-06-08 12:49:20 UTC
Fixed with latest calibre update.

Comment 4 Fedora Update System 2016-06-18 18:43:19 UTC
calibre-2.58.0-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


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