Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-21-2011, 10:03 AM   #1
simonzed
Member
simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.
 
Posts: 22
Karma: 3010
Join Date: Mar 2011
Device: Kindle & Android
Can't launch Calibre without killing it first

I'm using Win7 and it's scheduler to run Calibre in the morning so that even if Calibre isn't left running my newspapers are sent to my Kindle every morning. It is set to kill the stop the Calibre process after 1/2 hour once the papers are all sent. This mostly works, but sometimes doesn't. Still, at least most of the time I can be sure my papers are on my kindle when I wake up.

Biggest problem is that when I come to try and run Calibre, nothing happens. If I look in the task manager there is a Calibre process already running, and unless I kill that process, I cannot restart Calibre. What am I doing wrong?
simonzed is offline   Reply With Quote
Old 03-21-2011, 11:13 AM   #2
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
That sound somewhat like the Calibre process is left running. Do you still have access to the interface in those situations? By what method do you kill the process via the task scheduler?
Manichean is offline   Reply With Quote
Advert
Old 03-21-2011, 12:31 PM   #3
simonzed
Member
simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.
 
Posts: 22
Karma: 3010
Join Date: Mar 2011
Device: Kindle & Android
Quote:
Originally Posted by Manichean View Post
That sound somewhat like the Calibre process is left running. Do you still have access to the interface in those situations? By what method do you kill the process via the task scheduler?
No, can't see the interface anywhere and can't reopen it via task scheduler. And no, I kill it in task manager.

BTW, if I close the app normally then there's nothing left running, so it seems that the Win task scheduler that doesn't close the process properly.

Should I be using task scheduler to do what I'm trying to do (i.e. deliver news to my kindle at the same time each day even if I don't have Calibre running) or is there a smarter way to do this that avoids these issues altogether?

Thanks for your help!
simonzed is offline   Reply With Quote
Old 03-21-2011, 05:56 PM   #4
CRussel
(he/him/his)
CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.
 
CRussel's Avatar
 
Posts: 12,287
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
Quote:
Originally Posted by simonzed View Post
No, can't see the interface anywhere and can't reopen it via task scheduler. And no, I kill it in task manager.

BTW, if I close the app normally then there's nothing left running, so it seems that the Win task scheduler that doesn't close the process properly.

Should I be using task scheduler to do what I'm trying to do (i.e. deliver news to my kindle at the same time each day even if I don't have Calibre running) or is there a smarter way to do this that avoids these issues altogether?

Thanks for your help!
The most common cause for this is that you have Calibre set to notify you if there are updates. This causes a window to pop up, to tell you that there's a new update. But Task Scheduler doesn't have an interface to the console, so it's stuck in never-never land.
Disable any automatic notifications in Calibre and it should go away.
Or schedule a task to run some time AFTER the Calibre task is done, and use this command as the task:
Code:
powershell.exe -noexit -noprofile -windowstyle hidden -command Stop-Process -name calibre
That should kill off the Calibre process for you. And since you said this was on Windows 7, you already have PowerShell there and enabled, so that shouldn't be an issue.
CRussel is offline   Reply With Quote
Old 03-22-2011, 04:27 AM   #5
simonzed
Member
simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.
 
Posts: 22
Karma: 3010
Join Date: Mar 2011
Device: Kindle & Android
Quote:
Originally Posted by CRussel View Post
The most common cause for this is that you have Calibre set to notify you if there are updates. This causes a window to pop up, to tell you that there's a new update. But Task Scheduler doesn't have an interface to the console, so it's stuck in never-never land.
Disable any automatic notifications in Calibre and it should go away.
Or schedule a task to run some time AFTER the Calibre task is done, and use this command as the task:
Code:
powershell.exe -noexit -noprofile -windowstyle hidden -command Stop-Process -name calibre
That should kill off the Calibre process for you. And since you said this was on Windows 7, you already have PowerShell there and enabled, so that shouldn't be an issue.
OK, I've gone the Powershell route and scheduled a daily run of the powershell ap with arguments listed above to run 30 mins after Calibre...let's see if that works. Will report back in a couple of days....meanwhile thanks!

(Am surprised there is no simpler way to do this in calibre...how does everyone else get their news delivered regularly?)
simonzed is offline   Reply With Quote
Advert
Old 03-22-2011, 04:55 AM   #6
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
Quote:
Originally Posted by simonzed View Post
(Am surprised there is no simpler way to do this in calibre...how does everyone else get their news delivered regularly?)
I think many people leave their PC switched on with Calibre running, so this is then a none-issue for them. The alternative is that they are prepared to wait for their news until they next power up the PC.
itimpi is offline   Reply With Quote
Old 03-22-2011, 05:54 AM   #7
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by simonzed View Post
OK, I've gone the Powershell route and scheduled a daily run of the powershell ap with arguments listed above to run 30 mins after Calibre...let's see if that works. Will report back in a couple of days....meanwhile thanks!
You should try disabling the update notification first. If that doesn't work, try the Powershell thing.

Quote:
(Am surprised there is no simpler way to do this in calibre...how does everyone else get their news delivered regularly?)
Judging from the threads here, many people opt to write a batch file and download their news via the command line tools.
Manichean is offline   Reply With Quote
Old 03-22-2011, 05:42 PM   #8
CRussel
(he/him/his)
CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.CRussel ought to be getting tired of karma fortunes by now.
 
CRussel's Avatar
 
Posts: 12,287
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
Quote:
Originally Posted by Manichean View Post
You should try disabling the update notification first. If that doesn't work, try the Powershell thing.
Agreed. A much cleaner solution. Killing processes is never my first choice.
CRussel is offline   Reply With Quote
Old 06-22-2011, 05:23 AM   #9
simonzed
Member
simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.simonzed could sell banana peel slippers to a Deveel.
 
Posts: 22
Karma: 3010
Join Date: Mar 2011
Device: Kindle & Android
I agree...

...but writing a suitable batch file sounds a little beyond me...

The killing route isn't working anyway so will do more investigating and report back
simonzed is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre won't launch in Jaunty bilee Calibre 1 02-02-2011 04:10 PM
Calibre won't Launch and I need a translator. SamanthaMG Calibre 0 01-03-2011 10:29 AM
Calibre launch failure marcaronson408 Calibre 4 07-23-2010 08:43 PM
calibre 0.6.12 does not migrate DB nor launch earthq Calibre 4 09-16-2009 06:59 PM
impossible to launch calibre littoral Calibre 22 11-09-2008 06:42 PM


All times are GMT -4. The time now is 01:49 AM.


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