Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-17-2016, 05:35 AM   #1
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
calibre-parallel.exe process not terminating

When I start Calibre I get a calibre.exe process and a calibre-parallel.exe process. Often when I close Calibre using the UI, the calibre.exe process terminates but calibre-parallel.exe does not. This means if I try to start Calibre again it does not run - I have to kill the calibre-parallel.exe process from the previous session first to get Calibre to run. This problem seems to be more likely to occur if I start Calibre and then close it straight-away - within a minute or so.

Using Calibre 2.68, Windows 10 64 bit.

PS: I really like the new icons and splash screen - very nice.
ShellShock is offline   Reply With Quote
Old 09-17-2016, 07:36 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by ShellShock View Post
When I start Calibre I get a calibre.exe process and a calibre-parallel.exe process. Often when I close Calibre using the UI, the calibre.exe process terminates but calibre-parallel.exe does not. This means if I try to start Calibre again it does not run - I have to kill the calibre-parallel.exe process from the previous session first to get Calibre to run. This problem seems to be more likely to occur if I start Calibre and then close it straight-away - within a minute or so.

Using Calibre 2.68, Windows 10 64 bit.

PS: I really like the new icons and splash screen - very nice.
Behaves normally here (same config), worker ends shortly after closing

I test exited using both ctrl-q and the red X
I did not that the sort name (task manager) changed to The main calibre program
theducks is offline   Reply With Quote
Advert
Old 09-17-2016, 08:39 AM   #3
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: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Run calibre in debug mode and post the log, the only way I know of for worker processes to hang around is if the main process crashes/does not shutdown cleanly.
kovidgoyal is offline   Reply With Quote
Old 09-17-2016, 10:59 AM   #4
ShellShock
Wizard
ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.ShellShock ought to be getting tired of karma fortunes by now.
 
ShellShock's Avatar
 
Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
I ran calibre-debug -g, and on closing Calibre got this in the log:

Code:
Started up in 2.17 seconds with 481 books
C:\Program Files\Calibre\pylib.zip\cherrypy\process\wspbus.py:225: RuntimeWarning: The main thread is exiting, but the Bus is in the states.STARTED state; shutting it down automatically now. You must either call bus.block() after start(), or call bus.exit() before the main thread exits.
I then uninstalled the iOSReaderApp and Marvin XD plugins, which I don't use anymore. That fixed the original problem but now I had a different problem - when I ran Calibre I got this:

Code:
calibre-debug -g
calibre 2.68 [64bit]  embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Qt: Untested Windows version 10.0 detected!
Successfully initialized third party plugins: DeDRM (6, 5, 1) && Open With (1, 5, 9) && Modify ePub (1, 3, 13)
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 95.8113948919 x 95.9160839161
Starting up...
Started up in 2.01 seconds with 481 books
And when I closed Calibre, I saw the modal message:

Code:
Shutting down
Shutting down the content server. This could take a while...
Calibre then froze for about 110 seconds before terminating. All calibre processes were terminated at this point.

Then I remembered that last year I had enabled the content server, but I never really used it. So I went into preferences and turned off starting the content server automatically. Now Calibre closes normally - problem solved. I am not sure if the content server is meant to take that long to shut down though (if you want to use it, which I don't).
ShellShock is offline   Reply With Quote
Old 09-17-2016, 11:14 AM   #5
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: 45,251
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The content server does indeed take a while, in order to gracefully close open connections. However, that behavior will become muych more predictable with calibre 3.0 which has a re-written server that does not use CherryPy as its server engine.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-06-2016, 11:57 AM   #6
lolw
Junior Member
lolw began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2008
Location: Leics, UK
Device: none
calibre-parallel.exe process not terminating.
I am having the same kind of issue as ShellShock Wizard
I ran calibre-debug -g, and on closing Calibre got this in the log:
calibre Debug log
calibre 2.66 [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 92.5388994307 x 92.6756756757
Starting up...
Started up in 31.16 seconds with 2 books
Worker Launch took: 0.15299987793
For some reason my Calibre library was lost from the main program, although I still have the library in my documents folder.
The error message prevents the reader from being used after importing books from my documents folders, which appear to have normal file properties when checked, and cannot be cancelled or exited in normal fashion, the only way being to restart windows 10 64bit and exit the error message box from the shutting down screen. I have used Calibre from early times, latterly using 64bit on my laptop and also my Dell desktop , both i7 processors with plenty of RAM, and never experienced this kind of problem before. I note that the debug log refers to Windows 8 but my Dell Desktop came with full Windows 10 64bit systems installed rather than upgrades from Windows 8. This probably refers to the 2.66 calibre which I installed today, after having had the same problems with 2.71 and several versions previous to 2.71.
lolw is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre-parallel.exe glitch? NSILMike Devices 9 03-23-2016 08:07 AM
Multiple calibre-parallel.exe processes? Phssthpok Editor 6 03-20-2015 08:34 AM
Calibre-Parallel.exe Seeking Internet Access ddjohn Calibre 10 09-14-2013 07:46 AM
Calibre-parallel.exe Indigo55 Library Management 3 10-05-2012 11:52 PM
calibre-parallel.exe twice? sideburnt Calibre 12 03-24-2012 08:51 PM


All times are GMT -4. The time now is 04:19 PM.


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