Bug 676725

Summary: [abrt] calibre-0.7.38-3.fc14: __init__.py:137:set_metadata_:ValueError: A number was expected but not found.
Product: [Fedora] Fedora Reporter: Philipp Riemer <ruderphilipp>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: chkr, frankly3d, kevin, louis, mbacovsk, nushio, sleepylight
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:7e77bdfb
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 21:28:58 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 Philipp Riemer 2011-02-10 22:55:56 UTC
abrt version: 1.1.14
architecture: i686
cmdline: python /usr/bin/calibre-parallel
component: calibre
executable: /usr/bin/calibre-parallel
kernel: 2.6.35.10-74.fc14.i686
package: calibre-0.7.38-3.fc14
reason: __init__.py:137:set_metadata_:ValueError: A number was expected but not found.
release: Fedora release 14 (Laughlin)
time: 1297378464
uid: 500

backtrace
-----
__init__.py:137:set_metadata_:ValueError: A number was expected but not found.

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/utils/podofo/__init__.py", line 137, in set_metadata_
    p.open(path)
ValueError: A number was expected but not found.

Local variables in innermost frame:
p: <podofo.PDFDoc object at 0xb7800ee0>
path: '/tmp/calibre_0.7.38_tmp_tsddoK/calibre_0.7.38_ywBE9G_podofo.pdf'
title: u'myTitle'
bkp: 'calibre (0.7.38) [http://calibre-ebook.com]'
authors: [u'myAuthor']

How to reproduce
-----
1. connected Sony Reader
2. selected a book in my library
3. clicked on "send to reader"

Comment 1 Philipp Riemer 2011-02-10 22:55:59 UTC
Created attachment 478141 [details]
File: backtrace

Comment 2 Kevin Fenzi 2011-02-10 23:19:33 UTC
Can you: 

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

and see if the new calibre version has the same issue?

Comment 3 Louis van Dyk 2011-04-30 03:10:39 UTC
Package: calibre-0.7.38-5.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1. My Calibre Library has some PDF files, which I had converted to EPUB.
2. I used "Save to Disk" and saved a selection of files (which would include EPUB, PDF, JPG and OPF files) to the SD card in the card reader.
3. While writing, Calibre crashed.

Comment 4 Louis van Dyk 2011-05-02 21:11:00 UTC
I had tried to install using the fedora-calibre.repo mentioned by Kevin, but when I do, it tries to install sip.x86_64 *AND* sip.i686 (which calibre-0.7.38-5.fc14
doesn't, only installing the x86_64 version).  This install / update fails because the two architectures of sip are different versions.

Comment 5 Kevin Fenzi 2011-05-02 21:19:06 UTC
Can you please attach the full output of the yum command as well as 'rpm -q calibre sip' ?

Comment 6 Maxwell Bottiger 2011-07-27 14:10:38 UTC
Package: calibre-0.7.38-5.fc14
Architecture: x86_64
OS Release: Fedora release 14 (Laughlin)


How to reproduce
-----
1.Attach kindle to computer
2.Move book to kindle
3.


Comment
-----
Although some part of Calibre crashes, the software moves books to the device just fine.  Other than a crash report from ABRT, I don't see an actual problem.

Comment 7 Fedora End Of Life 2012-08-16 21:29:00 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached 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" (top right of this page) 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