![]() |
#1 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Device not ejecting?
I'm using Calibre 2.49 (32-bit) in Windows 8.1. Having updated my Kindle, I select "eject" from the Devices menu and all the device related buttons disappear from the toolbar as if the device was ejected successfully. However, Windows won't eject it because it was still in use... and this is now the third time in a row that this has happened. As Goldfinger said to James Bond, "Once is happenstance, twice is coincidence, but the third time it's enemy action."
Further investigation shows that the process which has a handle open for the device is an instance of calibre-parallel.exe, with this command line: Code:
calibre-parallel.exe --pipe-worker "from calibre.utils.ipc.pool import run_main, worker main; run_main(worker_main)" |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
As far as I know, there are no worker processes involved with devices in core calibre at all -- all device interaction is handled in a separate thread, not a worker process. The only thing I can think of that could possibly launch a worker process for the device is reading metadata of files on the device. What file is open on the device?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
It is indeed the metadata file (metadata.calibre) that's it's hanging on to.
There is a difference this time: instead of the one process I described, there are 3 processes: a calibre-parallel.exe (no command-line parameters) with 2 subprocesses, one of which is another calibre-parallel.exe with no command-line parameters, and the other one with these parameters: Code:
--pipe-worker "from calibre.gui2.tweak_book.completion.worker import run_main, main; run_main(main)" Last edited by Phssthpok; 02-06-2016 at 12:30 PM. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,347
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 576
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
Aha, so that was it! Many thanks, as always.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Ejecting SD Card | Crusader | Kobo Reader | 7 | 01-16-2014 05:28 PM |
Touch Ejecting multiple times? | vaeditor | Kobo Reader | 19 | 07-01-2011 10:24 AM |
K3 and PC: pluging & ejecting | pavelh | Amazon Kindle | 10 | 03-17-2011 06:14 PM |
Ejecting PRS 950 | ccowie | Devices | 4 | 02-25-2011 05:03 PM |
Ejecting from tray-icon | Logseman | Calibre | 6 | 03-18-2010 09:49 PM |