Bug 759932

Summary: [abrt] calibre-0.8.25-1.fc16: plumber.py:719:find_html_index:ValueError: Nelze nalézt elektronickou knihu uvnitř archivu
Product: [Fedora] Fedora Reporter: Radek Vokál <rvokal>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: chkr, frankly3d, kevin, mbacovsk, nushio
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:ff2709b207b010151aaadc11a6c6967e3eb3bbff
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-14 01:31:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: smolt_data none

Description Radek Vokál 2011-12-04 22:27:30 UTC
libreport version: 2.0.7
abrt_version:   2.0.6
cmdline:        python2 /usr/bin/calibre-parallel
executable:     /usr/bin/calibre-parallel
kernel:         3.1.1-2.fc16.i686
reason:         plumber.py:719:find_html_index:ValueError: Nelze nalézt elektronickou knihu uvnitř archivu
time:           Tue 22 Nov 2011 10:22:39 PM CET
uid:            500
username:       radek

smolt_data:     Text file, 2659 bytes

backtrace:
:plumber.py:719:find_html_index:ValueError: Nelze nalézt elektronickou knihu uvnitř archivu
:
:Traceback (most recent call last):
:  File "/usr/bin/calibre-parallel", line 19, in <module>
:    sys.exit(main())
:  File "/usr/lib/calibre/calibre/utils/ipc/worker.py", line 186, in main
:    result = func(*args, **kwargs)
:  File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 31, in gui_convert_override
:    override_input_metadata=True)
:  File "/usr/lib/calibre/calibre/gui2/convert/gui_conversion.py", line 22, in gui_convert
:    override_input_metadata=override_input_metadata)
:  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 627, in __init__
:    self.input, input_fmt = self.unarchive(self.input, tdir)
:  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 708, in unarchive
:    return self.find_html_index(files)
:  File "/usr/lib/calibre/calibre/ebooks/conversion/plumber.py", line 719, in find_html_index
:    raise ValueError(_('Could not find an ebook inside the archive'))
:ValueError: Nelze nalézt elektronickou knihu uvnitř archivu
:
:Local variables in innermost frame:
:files: [u'/tmp/calibre_0.8.25_tmp_PEeTSd/0iPEaS_plumber_archive/Athur C Clarke - 2001 Vesm\u0104rn\xa0 odyssea.doc']
:html_files: []
:self: <class 'calibre.ebooks.conversion.plumber.Plumber'>
:html_pat: <_sre.SRE_Pattern object at 0x9239340>
:f: u'/tmp/calibre_0.8.25_tmp_PEeTSd/0iPEaS_plumber_archive/Athur C Clarke - 2001 Vesm\u0104rn\xa0 odyssea.doc'

Comment 1 Radek Vokál 2011-12-04 22:27:35 UTC
Created attachment 540490 [details]
File: smolt_data

Comment 2 Kevin Fenzi 2011-12-05 16:21:40 UTC
Looks like it's treating the doc file as a html and failing to find a book there. 

If you export it as html does it pick up on it? 

Does it see the type as doc in calibre?

Comment 3 Radek Vokál 2011-12-06 11:44:43 UTC
It actually failed to open a tarball (or zipfile, don't really remember) with books with special encoding - see the .doc files. I'll try to debug it later today or tmrw (I also wanted to try how abrt will deal with it :-) )

Comment 4 Fedora End Of Life 2013-01-16 23:03:57 UTC
This message is a reminder that Fedora 16 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 16. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '16'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 16's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 16 is end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" and open it against that version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Fedora End Of Life 2013-02-14 01:31:53 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.