Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2015, 01:38 PM   #1
Vortex
Groupie
Vortex began at the beginning.
 
Vortex's Avatar
 
Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
Can you run Calibre & Portable on same PC?

I need a way to be able to work on one Calibre library while downloading Metadata & Covers for another Calibre library (I get bored waiting... ) . I've been searching the forum and read that I cant run more than one instance of Calibre on the same computer, does this also apply to Calibre Portable? Is there any other way I can do this? Thanks.
Vortex is offline   Reply With Quote
Old 01-04-2015, 02:17 PM   #2
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,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Vortex - you can only run one calibre of any sort. You can run another calibre on a virtual machine, but I would suggest not against the same library.

If you use bulk metadata download - select multiple books, ctrl/d - you can do other things whilst the download is progressing, when the downloading finishes a notification appears (bottom right), and you can respond to that when you're good and ready.

BR
BetterRed is offline   Reply With Quote
Advert
Old 01-04-2015, 04:38 PM   #3
Vortex
Groupie
Vortex began at the beginning.
 
Vortex's Avatar
 
Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
You can do other things on the same library when using bulk metadata download, but it often causes the whole download to abort when it finds something has changed since the start of the download, and then you have to run it all over again.

I never thought of running one on a VM, I'll give it a go.
Vortex is offline   Reply With Quote
Old 01-04-2015, 06:12 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,478
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
If you're truly desperate, one option would be to change the mutex used by calibre to prevent multiple instances running. One approach to this would be run standard calibre as is, and to run portable calibre from source, and override the mutex used by calibre portable.

See source file utils\lock.py and look at
Code:
if iswindows:
    def singleinstance(name):
        mutexname = 'mutexforsingleinstanceof'+__appname__+name
        mutex =  win32event.CreateMutex(None, False, mutexname)
__appname__ is calibre

singleinstance is called from gui2\main.py with the variable
Code:
singleinstance_name = 'calibre_GUI'
so maybe change that to
Code:
singleinstance_name = 'calibre_PORTABLE'
and always runs portable from source.

Remember though NEVER EVER EVER point both to the same library.

Also, this has NOT been tested and I am NOT RESPONSIBLE for any corruption that might happen.
PeterT is offline   Reply With Quote
Old 01-05-2015, 12:39 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by Vortex View Post
You can do other things on the same library when using bulk metadata download, but it often causes the whole download to abort when it finds something has changed since the start of the download, and then you have to run it all over again.

I never thought of running one on a VM, I'll give it a go.
I see this all the time, and it asks are you sure, it does not jettison the download job.
eschwartz is offline   Reply With Quote
Advert
Old 01-05-2015, 11:50 AM   #6
Vortex
Groupie
Vortex began at the beginning.
 
Vortex's Avatar
 
Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
Thank you PeterT, I'll give that a try.

eschwartz, You're correct, that's what happens when doing a metadata download for a small number of books, try it with a multi-thousand download, and make a few changes to the metadata of the books, you'll get an error message - I've forgotten exactly what it says - but after OK-ing the message it just stops with nothing done and you have to start all over again. Happened to me 3 times in a week before I worked out what was going on.
Vortex is offline   Reply With Quote
Old 01-05-2015, 04:29 PM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Huh, never tried with a multi-thousand download. I usually process books as they come in so it's never more than 40-50.

That sounds like a bug to me.
eschwartz is offline   Reply With Quote
Old 01-07-2015, 06:29 PM   #8
Vortex
Groupie
Vortex began at the beginning.
 
Vortex's Avatar
 
Posts: 171
Karma: 10
Join Date: Dec 2008
Device: Likebook Mars
Quote:
Originally Posted by PeterT View Post
If you're truly desperate, one option would be to change the mutex used by calibre to prevent multiple instances running. One approach to this would be run standard calibre as is, and to run portable calibre from source, and override the mutex used by calibre portable.

See source file utils\lock.py and look at
Code:
if iswindows:
    def singleinstance(name):
        mutexname = 'mutexforsingleinstanceof'+__appname__+name
        mutex =  win32event.CreateMutex(None, False, mutexname)
__appname__ is calibre

singleinstance is called from gui2\main.py with the variable
Code:
singleinstance_name = 'calibre_GUI'
so maybe change that to
Code:
singleinstance_name = 'calibre_PORTABLE'
and always runs portable from source.

Remember though NEVER EVER EVER point both to the same library.

Also, this has NOT been tested and I am NOT RESPONSIBLE for any corruption that might happen.
Peter, There is no file utils\lock.py or gui2\main.py , nearest I can find is utils\lock.pyo and gui2\main.pyo which are in the pylib.zip file. I looked at them with Edit Pad Pro and some of the same stuff is mentioned in the code but it's very different to what you have above. Am I looking in the right place?
Vortex is offline   Reply With Quote
Old 01-07-2015, 06:50 PM   #9
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,478
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
You need to download the SOURCE and run from source... See http://manual.calibre-ebook.com/develop.html

The source for the current release is always at http://status.calibre-ebook.com/dist/src
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to run Calibre portable from Dropbox tools44 Devices 11 08-11-2014 07:33 PM
Calibre Portable Mac & Windows rifka Devices 1 08-15-2013 11:29 PM
How do I import Calibre settings from regular Win Calibre to Calibre Portable? ABW Calibre 9 05-20-2013 02:34 PM
Portable Firefox (Run it off a USB Drive) Colin Dunstan Lounge 3 11-22-2004 07:42 PM


All times are GMT -4. The time now is 03:22 AM.


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