Bug 695964 - calibre gives traceback
Summary: calibre gives traceback
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: calibre
Version: 15
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-13 00:17 UTC by Horst H. von Brand
Modified: 2011-05-01 03:31 UTC (History)
5 users (show)

Fixed In Version: calibre-0.7.56-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-01 03:31:31 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.