View Single Post
Old 12-30-2014, 02:04 AM   #12
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by PeterT View Post
I just tried downloading the current source (and yes.. I verified that the change you made https://github.com/cbhaley/calibre/c...8b10cc1a37213d was in the driver) and repeated tests while running from source.

...

Traceback (most recent call last):
...
File "site-packages\calibre\devices\smart_device_app\driver.p y", line 525, in _json_encode
...
TypeError: datetime.datetime(2014, 12, 29, 21, 52, 8, tzinfo=tzutc()) is not JSON serializable[/code][/spoiler]

I also did verify that the version info displayed was [2.14]*[64bit].
Something hasn't gone right with running from source. The above trace says that the exception went through line 525 of the driver. After the patch that should be line 526.

Did you forget to restart calibre after pulling the changes?
chaley is offline   Reply With Quote