Bug 616588 - [abrt] crash in calibre-0.6.55-1.fc13: writer.py:202:_write:TypeError: __init__() got an unexpected keyword argument 'title'
Summary: [abrt] crash in calibre-0.6.55-1.fc13: writer.py:202:_write:TypeError: __init...
Status: CLOSED DUPLICATE of bug 653902
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: 13
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
Whiteboard: abrt_hash:7883edb3
Depends On:
TreeView+ depends on / blocked
Reported: 2010-07-20 21:00 UTC by cerro6
Modified: 2011-01-09 19:51 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-01-09 19:51:08 UTC

Attachments (Terms of Use)
File: backtrace (653 bytes, text/plain)
2010-07-20 21:00 UTC, cerro6
no flags Details

Description cerro6 2010-07-20 21:00:08 UTC
abrt 1.1.1 detected a crash.

architecture: i686
cmdline: python /usr/bin/calibre-parallel
component: calibre
executable: /usr/bin/calibre-parallel
package: calibre-0.6.55-1.fc13
reason: writer.py:202:_write:TypeError: __init__() got an unexpected keyword argument 'title'
release: Fedora release 13 (Goddard)

writer.py:202:_write:TypeError: __init__() got an unexpected keyword argument 'title'

Traceback (most recent call last):
  File "/usr/lib/calibre/calibre/ebooks/pdf/writer.py", line 173, in _render_html
  File "/usr/lib/calibre/calibre/ebooks/pdf/writer.py", line 145, in _render_book
  File "/usr/lib/calibre/calibre/ebooks/pdf/writer.py", line 202, in _write
    outPDF = PdfFileWriter(title=self.metadata.title, author=self.metadata.author)
TypeError: __init__() got an unexpected keyword argument 'title'

Local variables in innermost frame:
self: <calibre.ebooks.pdf.writer.PDFWriter object at 0xc9c62ec>

Comment 1 cerro6 2010-07-20 21:00:13 UTC
Created attachment 433263 [details]
File: backtrace

Comment 2 Kevin Fenzi 2010-07-22 05:25:20 UTC
What were you doing when this happened? Converting a pdf?

Is the source file available on the net or can you attach it?

Also, can you try the newest version available at: 
and see if you can duplicate the crash with that version?

Comment 3 cerro6 2010-07-24 16:38:33 UTC
I solved the problem by downloading the file in .LIT

Comment 4 Kevin Fenzi 2010-07-24 20:29:57 UTC
ok, glad you worked around the bug. 

Should we leave this open and see if it is fixed in a newer version? Or would you prefer we just close it for now?

Comment 5 Nicolas Sapa 2010-07-25 08:59:01 UTC
Package: calibre-0.6.55-1.fc12
Architecture: x86_64
OS Release: Fedora release 12 (Constantine)

How to reproduce
1. Try to convert a EPUB to a PDF

Comment 6 Nicolas Sapa 2010-07-25 09:00:12 UTC
The source file is available here => http://www.epubbud.com/book.php?g=4JE3UQ2A

Comment 7 Frank Murphy 2010-07-25 09:10:00 UTC
Can you test with:

You will also need an updated python-cssutils to version 2.7 
(still in pre-release)

Comment 8 Michael Vergallen 2010-09-04 09:31:04 UTC
Package: calibre-0.6.55-1.fc13
Architecture: x86_64
OS Release: Fedora release 13 (Goddard)

How to reproduce
1. convert ebub to pdf 

convert a epub to pdf

Comment 9 Lev Shamardin 2010-09-29 17:25:38 UTC
Package: calibre-0.6.55-1.fc12
Architecture: i686
OS Release: Fedora release 12 (Constantine)

How to reproduce
1. Run something like ebook-convert filename.fb2 filename.pdf

Comment 10 trevor boundy 2010-12-16 09:50:10 UTC
Package: calibre-0.6.55-1.fc13
Architecture: i686
OS Release: Fedora release 13 (Goddard)

How to reproduce
1.from a loaded *.mobi file
2.select conver to rtf
3.cused the fiollowing crash

Comment 11 Kevin Fenzi 2011-01-09 19:51:08 UTC

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

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