Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Related Tools

Notices

Reply
 
Thread Tools Search this Thread
Old 07-24-2012, 11:39 PM   #16
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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by PeterT View Post
My approach with DropBox is while I *DO* have a copy of my library there, I use AllwaysSync to replicate to that folder from my actual library. Yes; it means I use double the space on my PC, but I also feel confident that there will be no issues with DropBox and Calibre "arguing". Syncs ONLY go from my actual library to my DropBox folder; not the other way.
That is a good way to use dropbox, though personally, I just remove the middleman and sync directly across the computers I want sharing my library. I use unison to do that. That is a little less safe, than your method, but it means you dont have to trust a cloud provider for availability.
kovidgoyal is offline   Reply With Quote
Old 07-26-2012, 07:11 AM   #17
Deljah
Connoisseur
Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.Deljah can program the VCR without an owner's manual.
 
Posts: 55
Karma: 168200
Join Date: Jun 2012
Device: Android tablet
I am a bit unclear on these posts. Is the issue that the OP was trying to do a mass conversion with files while in dropbox, so that files were being accessed simultaneously for opposing purposes?

Or, is the issue just having the files in dropbox at all? I am running calibre portable on my PC. I have the entire calibre portable installation and library also in drop box. I thought this was a great way of backing up calibre (with all the plugins and preferences set) and the library. I only run calibre from this one pc, so I'm not syncing across computers. I don't share my library with anyone.

Please let me know your thoughts. I'm pretty new and want to avoid catastrophe with my library. Thanks!
Deljah is offline   Reply With Quote
Advert
Old 07-26-2012, 07:27 AM   #18
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,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by Deljah View Post
I am a bit unclear on these posts. Is the issue that the OP was trying to do a mass conversion with files while in dropbox, so that files were being accessed simultaneously for opposing purposes?
Simultaneous access by opposing forces was the problem.

Quote:
Originally Posted by Deljah View Post
Or, is the issue just having the files in dropbox at all?
Files in dropbox is fine.

Quote:
Originally Posted by Deljah View Post
I am running calibre portable on my PC. I have the entire calibre portable installation and library also in drop box. I thought this was a great way of backing up calibre (with all the plugins and preferences set) and the library. I only run calibre from this one pc, so I'm not syncing across computers. I don't share my library with anyone.
You will be fine. I run it the exact same way using calibre portable. PeterT's method above is safer because occasionally even doing individual conversions dropbox gets in the way.

Quote:
Originally Posted by Deljah View Post
Please let me know your thoughts. I'm pretty new and want to avoid catastrophe with my library.
I primarily use dropbox to sync between work and home computers. Dropbox has saved me from myself many times, but then again any decent backup would do the same.
DoctorOhh is offline   Reply With Quote
Old 07-26-2012, 07:53 AM   #19
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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you want to put your calibre library directly in dropbox, follow these precautions:

1) Do not run both calibre and dropbox simultaneously. This is to prevent them both accessing the same files simultaneously. Instead run dropbox before starting and after quitting calibre.

2) Always run dropbox and let it finish syncing every time you quit calibre. This is to ensure that you do not accidentally make conflicting changes to the same library on two different computers connected to the same dropbox account.

3) Keep a backup of your library so that if something does go wrong you wont loose too much.

4) Do not share the same library between windows and non-windows machines. This is because windows has much shorter maximum path length restrictions.
kovidgoyal is offline   Reply With Quote
Old 07-26-2012, 08:28 AM   #20
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by kovidgoyal View Post
On windows file locking is done by the windows kernel for all files automatically. Not by programs. Therefore, neither dropbox nor calibre are handling file locking incorrectly, since neither of them do any file locking at all. You simply cannot have two programs simultaneously accessing the same set of files in both read and write modes. If you do that, things *will* break. Putting a calibre library in dropbox is a horrible hack. If you're careful, you can get away with it, but when things break, you have only yourself to blame.
When Calibre becomes "lock aware", to allow it to work multi-user on network shares, that will presumably also allow it to work correctly with Dropbox? I believe that's somewhere on your development roadmap, isn't it?
HarryT is offline   Reply With Quote
Advert
Old 07-26-2012, 08:40 AM   #21
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,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by HarryT View Post
When Calibre becomes "lock aware", to allow it to work multi-user on network shares, that will presumably also allow it to work correctly with Dropbox? I believe that's somewhere on your development roadmap, isn't it?
You may be right.

I spoke wrong earlier, it isn't two programs accessing a book at once. It is Dropbox accessing a book then calibre attempting the write and unable to write because another program has locked the file. Calibre errors at this point because it is unable to write to the file.

Possibly if calibre did two retrys five seconds apart before throwing the error things would work themselves out. Especially since this conflict is so rare to begin with.
DoctorOhh is offline   Reply With Quote
Old 07-26-2012, 09:47 AM   #22
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: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by HarryT View Post
When Calibre becomes "lock aware", to allow it to work multi-user on network shares, that will presumably also allow it to work correctly with Dropbox? I believe that's somewhere on your development roadmap, isn't it?
No. The multi-user support will be via the calibre server.
kovidgoyal is offline   Reply With Quote
Old 07-26-2012, 09:48 AM   #23
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by kovidgoyal View Post
No. The multi-user support will be via the calibre server.
OK, thanks.
HarryT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble when converting many epubs to epubs comet Conversion 13 03-21-2012 01:57 AM
converting epubs to read on kindle Ad2 Calibre 2 01-03-2012 06:17 AM
Searching and converting all EPUBs I have Giuseppe Chillem Calibre 3 11-14-2011 04:57 AM
converting epubs alansplace ePub 8 09-19-2010 10:30 PM
calibre and dropbox error modkindle Calibre 6 04-26-2010 10:57 PM


All times are GMT -4. The time now is 03:36 PM.


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