Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 08:49 PM   #1
oneillpt
Connoisseur
oneillpt began at the beginning.
 
Posts: 64
Karma: 46
Join Date: Feb 2011
Device: Kindle 3 (cracked screen!); PW1; Oasis
Calibre Content server problem developing from tarball

The content server still starts promptly when running the compiled release, but I have experienced increasing delays starting the content server with recent versions (9.17.0 to 9.19.0) when running a development version using downloaded tarballs. These delays occur even before I make any code modifications, and with both Windows 10 and 11.

When Calibre is started the text "Content server listing at:" appears immediately, but without any IP address, followed generally by "Could not start the Content server. Error: 120" after a short time. Stopping the server and restarting it again a few times generally gets it running successfully, but this can take hours rather than minutes or seconds.

The problem has become so severe with 9.19.0 that I have replaced the 9.19.0 versions of gui2\ui.py and srv\auto_reload.py, srv\bonjour.py and srv\loop.py by the 9.17.0 versions in order to have a working "almost 9.19.0" version with Content server starting with shorter delay. (Not sure whether all four older version are needed to reduce the delay - I had added logging code to these four when I first noticed the problem, and tried 9.19.0 with the same four, dropping the logging code)
oneillpt is offline   Reply With Quote
Old Yesterday, 10:13 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,634
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
make sure you have the rapydscript executable from rapydscript-ng somewhere on your path
kovidgoyal is online now   Reply With Quote
Reply

Tags
calibre, content server, start up delay


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Pale Moon and Calibre content server KonradK Calibre 7 08-20-2017 06:11 AM
Calibre 3 content web server problem astergiou Calibre 6 07-29-2017 03:56 AM
[Solved] Calibre Content Server Problem Jacdeb6009 Devices 2 11-01-2013 12:03 PM
calibre content server problem sovre Calibre 31 05-30-2013 05:25 AM
Calibre 0.7.19 content server and kindle 3 problem tommet Calibre 6 09-18-2010 06:21 PM


All times are GMT -4. The time now is 12:54 AM.


MobileRead.com is a privately owned, operated and funded community.