Bug 695964

Summary: calibre gives traceback
Product: [Fedora] Fedora Reporter: Horst H. von Brand <vonbrand>
Component: calibreAssignee: Kevin Fenzi <kevin>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: chkr, frankly3d, kevin, mbacovsk, nushio
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: calibre-0.7.56-1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-01 03:31:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Horst H. von Brand 2011-04-13 00:17:10 UTC
Description of problem:
After converting a book (from epub) to upload it to my Kindle, after ejecting the device and closing calibre I get:

exception during JSON decoding
Traceback (most recent call last):
  File "/usr/lib64/calibre/calibre/ebooks/metadata/book/json_codec.py", line 118, in decode_from_file
    js = json.load(file, encoding='utf-8')
  File "/usr/lib64/python2.7/json/__init__.py", line 278, in load
    **kw)
  File "/usr/lib64/python2.7/json/__init__.py", line 339, in loads
    return cls(encoding=encoding, **kw).decode(s)
  File "/usr/lib64/python2.7/json/decoder.py", line 360, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python2.7/json/decoder.py", line 378, in raw_decode
    raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

Version-Release number of selected component (if applicable):
calibre-0.7.44-4.fc15.x86_64

How reproducible:
No idea

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Kevin Fenzi 2011-04-13 15:40:37 UTC
Can you try the newer version from my calibre repo? 

http://repos.fedorapeople.org/repos/kevin/calibre/fedora-calibre.repo

Comment 2 Horst H. von Brand 2011-04-14 19:09:34 UTC
Nope, has dependency issues on poppler. Sorry.

Comment 3 Kevin Fenzi 2011-04-16 19:19:33 UTC
Sorry about that. Try now? 

0.7.55 should be there and works fine on my f15 box.

Comment 4 Horst H. von Brand 2011-04-17 15:42:34 UTC
It works fine here, the message didn't appear after looking at a book. But as I don't know what triggered this, I can't really confirm it is fixed.

Thanks!

BTW, no need to be sorry, I'm grateful for you interest (and help).

Comment 5 Fedora Update System 2011-04-18 03:48:12 UTC
calibre-0.7.56-1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/calibre-0.7.56-1.fc15

Comment 6 Fedora Update System 2011-04-20 02:43:43 UTC
Package calibre-0.7.56-1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing calibre-0.7.56-1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/calibre-0.7.56-1.fc15
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2011-05-01 03:31:25 UTC
calibre-0.7.56-1.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.