Description of problem: Closed Calibre window Version-Release number of selected component: calibre-0.9.31-1.fc19 Additional info: reporter: libreport-2.1.4 cmdline: python2 /usr/bin/calibre-parallel executable: /usr/bin/calibre-parallel kernel: 3.9.3-301.fc19.x86_64 runlevel: N 5 uid: 1000 Truncated backtrace: worker.py:92:do_read_metadata:IOError: [Errno 2] No such file or directory: u'/var/tmp/calibre_0.9.31_tmp_SAFYQi/OtO2Jt_rm_worker/0.error' Traceback (most recent call last): File "/usr/bin/calibre-parallel", line 20, in <module> sys.exit(main()) File "/usr/lib64/calibre/calibre/utils/ipc/worker.py", line 188, in main result = func(*args, **kwargs) File "/usr/lib64/calibre/calibre/ebooks/metadata/worker.py", line 42, in read_metadata_ do_read_metadata(task, tdir, mdir, notification) File "/usr/lib64/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: u'/var/tmp/calibre_0.9.31_tmp_SAFYQi/OtO2Jt_rm_worker/0.error' Local variables in innermost frame: id_: 0 run_plugins_on_import: <functools.partial object at 0x1aadd08> formats: [u'/var/tmp/BigData.pdf'] name: u'BigData' format: u'/var/tmp/BigData.pdf' notification: <Progress(Thread-1, started daemon 140663277700864)> traceback: <module 'traceback' from '/usr/lib64/python2.7/traceback.pyc'> fmts: [None] ext: u'.pdf' task: [(0, [u'/var/tmp/BigData.pdf'])] tdir: u'/var/tmp/calibre_0.9.31_tmp_SAFYQi/OtO2Jt_rm_worker' mdir: u'/var/tmp/calibre_0.9.31_tmp_SAFYQi/mcw8v4' nfp: None x: (0, [u'/var/tmp/BigData.pdf']) mfmt: u'/var/tmp/BigData.pdf' import_map: {} metadata_fmts: [u'/var/tmp/BigData.pdf']
Created attachment 752923 [details] File: backtrace
Created attachment 752924 [details] File: core_backtrace
Created attachment 752925 [details] File: environ
Did you have it processing on a file at the time? Can you duplicate the crash?
I don't think it was processing a file at the time - I have a pretty big 'Calibre Library' and it was probably displaying that when I closed it. The system was installed from a Fedora Jam nightly for Fedora 19: Fedora-19-Nightly-x86_64-Live-jam-kde-20130518.11-1.iso I'll try to duplicate it - most likely I had emailed some files to myself from Calibre before closing it and may have had a PDF open in Okular as well. But I think I closed the Okular windows before closing Calibre.
I have the machine up now and can't seem to recreate it. From looking at the backtrace, it looks like it was trying to get metadata from a file called 'BigData.pdf' that wasn't in /var/tmp where it was supposed to be. I don't think I was accessing that file in the session that crashed, and I can open that file, email it to myself, close it and close Calibre without getting a crash. So I'm guessing I closed some *previous* Calibre session incorrectly and it was trying to clean up its database. There are a bunch of files in /var/tmp that have clearly been placed there by Calibre. Removing them didn't cause a crash either. So I think you can close this as 'unable to reproduce' - Calibre gets updated frequently.
Thanks. Please do reopen if you find more info.