Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-21-2017, 10:12 AM   #16
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
I am running Windows 10 Pro (64 bit), version 1703, OS build 15063.413

I used the restart feature successfully on both the portable version and the 64 bit versions of calibre.
DoctorOhh is offline   Reply With Quote
Old 06-21-2017, 11:17 PM   #17
bookmonster
Member
bookmonster doesn't litterbookmonster doesn't litter
 
bookmonster's Avatar
 
Posts: 22
Karma: 134
Join Date: Mar 2010
Device: Kobo Clara HD, Onyx Boox Leaf 2
I'm running Windows 10 Home (64 bit) Version 1703 Build 15063.413
bookmonster is offline   Reply With Quote
Old 06-22-2017, 12:43 AM   #18
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,732
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by K8HW View Post
I am running Windows 10 Home Version 1703. This PC is a Lenovo All-in-one desktop.
Quote:
Originally Posted by bookmonster View Post
I'm running Windows 10 Home (64 bit) Version 1703 Build 15063.413
Surely not?

BR
BetterRed is offline   Reply With Quote
Old 06-22-2017, 09:04 AM   #19
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: 31,064
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 BetterRed View Post
Surely not?

BR
I run Pro
>ver

Microsoft Windows [Version 10.0.15063]
I believe the level difference now, is just the product KEY used
theducks is offline   Reply With Quote
Old 06-22-2017, 05:38 PM   #20
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,732
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
I run Pro
>ver

Microsoft Windows [Version 10.0.15063]
I believe the level difference now, is just the product KEY used
Not quite, with Home you get almost no control over updates, i.e. you get them like it or not, and you don't get gpedit - you have to edit the registry instead, and you can't have your settings windows in black (Model T Windows, any colour as long as its white) ಠ_ಠ

I think there are other differences too.

BTW: MS released some security patched for XP! See ==>> June 2017 security update release – MSRC

BR
BetterRed is offline   Reply With Quote
Old 06-22-2017, 10:48 PM   #21
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: 31,064
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 BetterRed View Post
Not quite, with Home you get almost no control over updates, i.e. you get them like it or not, and you don't get gpedit - you have to edit the registry instead, and you can't have your settings windows in black (Model T Windows, any colour as long as its white) ಠ_ಠ

I think there are other differences too.

BTW: MS released some security patched for XP! See ==>> June 2017 security update release – MSRC

BR
But those features are there in the code. You just can't access them with the wrong level license.
IIRC Anytime upgrade, is just a new Key
theducks is offline   Reply With Quote
Old 06-23-2017, 05:56 AM   #22
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,079
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
I'm having the same issue with 3.1.0 (perhaps with 3.0 also, but didn't try there).

Restart doesn't work, restart in debug mode does.

Windows 10 Home 1703, build 15063.413.
mbovenka is offline   Reply With Quote
Old 06-23-2017, 06:00 AM   #23
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Seems to be something in windows 10 home -- unfortunately I only have windows 10 pro. I'm surprised though, as I would not think that basic functionality of launching processes would be different between home and pro.
kovidgoyal is offline   Reply With Quote
Old 06-23-2017, 06:17 AM   #24
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,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
Seems to be something in windows 10 home -- unfortunately I only have windows 10 pro. I'm surprised though, as I would not think that basic functionality of launching processes would be different between home and pro.
I have Win10 Home and I can make it fail. Unfortunately I can't find a way to figure out what is going on. What I know:
  • If I start while running from source, restart works.
  • If I start using only the binary, restart in debug mode works.
  • If I start using only the binary, restart fails.
In all cases I am starting calibre from a DOS shell. The underlying binary is 3.1.1. In the first and third experiments I am using the built-in restart command, added to calibre's menu. In the two cases where it works, I see a spinning "wait" mouse cursor for a second or two, then nothing for a second or two, then calibre restarts. In the case where it doesn't work, that "wait" mouse cursor is up for around 1/4 second and nothing further happens.

@Kovid: I am happy to run any experiments you suggest. I don't have a C/C++ development environment installed.
chaley is offline   Reply With Quote
Old 06-23-2017, 06:42 AM   #25
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
@chaley: The restart logic is in gui2/main.py around line 394 you can stick some print statements in there to see what is happening. (You will need to print to a file somewhere, as stdout/stderr are redirected to NUL).

print >>open('c:/log.txt', 'a'), 'some debug stuff'

or

from calibre import prints
prints('some debug stuff', file=open('c:/log.txt', 'a'))
kovidgoyal is offline   Reply With Quote
Old 06-23-2017, 06:47 AM   #26
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Oh and since it works runnign from source, you'll have to make your changes to the pylib.zip file in the calibre install folder. Basically fund gui2/main.pyo in there, delete it and replace it with your modified gui2/main.py
kovidgoyal is offline   Reply With Quote
Old 06-23-2017, 06:48 AM   #27
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,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Another thing you can check using processexplorer is to see if the main rpocess is actually launching the child process on restart or dying before that. If the latter I assuem the child process dies, it might be useful to see what it is doing when it dies.
kovidgoyal is offline   Reply With Quote
Old 06-23-2017, 07:23 AM   #28
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,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by kovidgoyal View Post
Another thing you can check using processexplorer is to see if the main rpocess is actually launching the child process on restart or dying before that. If the latter I assuem the child process dies, it might be useful to see what it is doing when it dies.
When it works I see:
  1. calibre-parallel and conhost die
  2. A calibre.exe process appears with a new PID as a child of the original calibre.exe.
  3. The original calibre.exe process dies, promoting the child.
  4. The calibre-parallel process appears

When it doesn't work the child calibre.exe never appears.
chaley is offline   Reply With Quote
Old 06-23-2017, 07:29 AM   #29
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,732
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Be interesting to know if other restartable programs suffer a similar fate on Win 10 Home version 1703 - firefox comes to mind.

Process Explorer has an option to restart a running task, can it restart calibre 3 on windows 1703 Home. It works fine on Windows 1611 Pro.

BR
BetterRed is offline   Reply With Quote
Old 06-23-2017, 07:32 AM   #30
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,447
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
Be interesting to know if other restartable programs suffer a similar fate on Win 10 Home version 1703 - firefox comes to mind.
Never has a problem with firefox or thunderbird or chrome restarting
Quote:
Process Explorer has an option to restart a running task, can it restart calibre 3 on windows 1703 Home. It works fine on Windows 1611 Pro.

BR
PE restarts just fine.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre not working in windows 8.1 snbhat1 Calibre 2 11-06-2015 12:58 PM
Calibre Updates not working on Windows 8.1 rex176 Devices 3 04-18-2014 08:07 PM
Calibre Stops Working Windows 8 Sydney's Mom Calibre 13 03-29-2013 08:01 PM
Jetbook not working with Windows 7 tselling Ectaco jetBook 4 01-15-2010 01:10 PM
PRS-500 working fine on 64-bit windows fleon Calibre 0 05-21-2009 04:46 AM


All times are GMT -4. The time now is 07:41 PM.


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