View Single Post
Old 07-09-2012, 05:07 PM   #4
khromov
Connoisseur
khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.khromov ought to be getting tired of karma fortunes by now.
 
Posts: 83
Karma: 499304
Join Date: Jul 2011
Device: Kindle
Quote:
Originally Posted by kovidgoyal View Post
ebook-convert uses the exact same code as the calibre GUI. There is something on your system that is causing this.
I have never run the GUI, this is a headless setup, but I guess that alone can't cause this problem.

Quote:
Originally Posted by kovidgoyal View Post
One basic check is:
calibre-debug -c "from calibre.utils.date import utcnow; print utcnow()"
Thanks, I was looking for this kind of answer, unfortunately this command seems to work, unless you can spot something amiss:
Code:
root@raspberrypi:~# calibre-debug -c "from calibre.utils.date import utcnow; print utcnow()"
2012-07-09 21:03:32.904092+00:00
Quote:
Originally Posted by kovidgoyal View Post
What that is is impossible to say offhand, you will need to run calibre from source and stick print statements in various places in feeds/__init__.py to see what is happening.
Thanks for the tip, will try to set a development environment up.
khromov is offline   Reply With Quote