Bug 679226

Summary: [abrt] calibre-0.7.38-3.fc13: worker.py:92:do_read_metadata:IOError: [Errno 2] No such file or directory: '/tmp/calibre_0.7.38_tmp_ULzb9b/calibre_0.7.38_gSCspf_rm_worker/0.error'
Product: [Fedora] Fedora Reporter: Dmitry Burstein <dmitryburstein>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13CC: chkr, frankly3d, kevin, mbacovsk, nushio, williammartin_2000
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:371474fc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-27 12:10:32 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: backtrace none

Description Dmitry Burstein 2011-02-21 23:28:25 UTC
abrt version: 1.1.14
architecture: i686
cmdline: python /usr/bin/calibre-parallel
component: calibre
executable: /usr/bin/calibre-parallel
kernel: 2.6.34.7-66.fc13.i686.PAE
package: calibre-0.7.38-3.fc13
reason: worker.py:92:do_read_metadata:IOError: [Errno 2] No such file or directory: '/tmp/calibre_0.7.38_tmp_ULzb9b/calibre_0.7.38_gSCspf_rm_worker/0.error'
release: Fedora release 13 (Goddard)
time: 1298330834
uid: 500

backtrace
-----
worker.py:92:do_read_metadata:IOError: [Errno 2] No such file or directory: '/tmp/calibre_0.7.38_tmp_ULzb9b/calibre_0.7.38_gSCspf_rm_worker/0.error'

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 106, in main
    result = func(*args, **kwargs)
  File "/usr/lib/calibre/calibre/ebooks/metadata/worker.py", line 42, in read_metadata_
    do_read_metadata(task, tdir, mdir, notification)
  File "/usr/lib/calibre/calibre/ebooks/metadata/worker.py", line 92, in do_read_metadata
    with open(os.path.join(tdir, '%s.error'%id_), 'wb') as f:
IOError: [Errno 2] No such file or directory: '/tmp/calibre_0.7.38_tmp_ULzb9b/calibre_0.7.38_gSCspf_rm_worker/0.error'

Local variables in innermost frame:
id_: 0
run_plugins_on_import: <functools.partial object at 0xa431f04>
formats: [u'/tmp/Vyisotskiy_Sobranie_sochineniy_v_chetyireh_tomah__Tom_4__Proza_148096.mobi']
name: u'Vyisotskiy_Sobranie_sochineniy_v_chetyireh_tomah__Tom_4__Proza_148096'
format: u'/tmp/Vyisotskiy_Sobranie_sochineniy_v_chetyireh_tomah__Tom_4__Proza_148096.mobi'
notification: <Progress(Thread-1, started daemon -1219556496)>
traceback: <module 'traceback' from '/usr/lib/python2.6/traceback.pyc'>
fmts: [None]
ext: u'.mobi'
task: [(0, [u'/tmp/Vyisotskiy_Sobranie_sochineniy_v_chetyireh_tomah__Tom_4__Proza_148096.mobi'])]
tdir: '/tmp/calibre_0.7.38_tmp_ULzb9b/calibre_0.7.38_gSCspf_rm_worker'
mdir: '/tmp/calibre_0.7.38_tmp_ULzb9b/calibre_0.7.38_Q1GQMB'
nfp: None
x: (0, [u'/tmp/Vyisotskiy_Sobranie_sochineniy_v_chetyireh_tomah__Tom_4__Proza_148096.mobi'])
mfmt: u'/tmp/Vyisotskiy_Sobranie_sochineniy_v_chetyireh_tomah__Tom_4__Proza_148096.mobi'
import_map: {}
metadata_fmts: [u'/tmp/Vyisotskiy_Sobranie_sochineniy_v_chetyireh_tomah__Tom_4__Proza_148096.mobi']

How to reproduce
-----
1. Importing a book from firefox
2.
3.

Comment 1 Dmitry Burstein 2011-02-21 23:28:28 UTC
Created attachment 480021 [details]
File: backtrace

Comment 2 Kevin Fenzi 2011-02-22 16:27:45 UTC
Does this only happen with that one ebook? Is it publicly available? 

Can you: 

su
cd /etc/yum.repos.d
wget http://repos.fedorapeople.org/repos/kevin/calibre/fedora-calibre.repo
yum clean all
yum update

and see if the problem persists with the newer calibre version in the side repo?

Comment 3 Dmitry Burstein 2011-02-22 17:21:18 UTC
The book is available through http://flibusta.net/b/148096/mobi
Unfortunately, the crash was irreproducible: it has happened only once, and even when I've tried to download the same book again, after restarting calibre, it has completed the task with no problem.
I've updated the program to your new version, and again - it worked flawlessly.
I can only guess the crash was somehow connected to multiple simultaneous imports: I've probably pressed on too many links in the Firefox - without waiting for the previous books to complete the import process. But again, it's only a guess.

Comment 4 william martin 2011-05-06 12:33:55 UTC
Package: calibre-0.7.38-5.fc14
Architecture: i686
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.
2.
3.
i was adding epub books to calibre

Comment
-----
i do not know how to reproduce this error

Comment 5 Bug Zapper 2011-05-30 11:16:48 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  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 '13'.

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 13'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 13 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 please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

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 6 Bug Zapper 2011-06-27 12:10:32 UTC
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 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.