Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 08:27 AM   #1
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 832
Karma: 2111023
Join Date: Sep 2013
Device: Kobo Sage
Suggestion: Warn if Library on Network/Cloud Drive?

Since one of the recurring problems I see here involves people putting their Calibre library on a network or cloud drive, I'm wondering if it's programmatically possible for Calibre to recognize that a library is on a network/cloud drive and warn the user as they try to set it up?
enuddleyarbl is offline   Reply With Quote
Old Yesterday, 09:08 AM   #2
Martinoptic
Bibliophist
Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.Martinoptic ought to be getting tired of karma fortunes by now.
 
Martinoptic's Avatar
 
Posts: 8,656
Karma: 7333025
Join Date: Dec 2021
Location: England
Device: none
I'm sure it's possible but a lot of effort I imagine to cater for people who don't read the manual. If they did, they would know not to use network/cloud drives for general access.
Surely people don't use a program if they don't know how to? Like driving a car with your eyes shut. *end of soapboxing*
Martinoptic is offline   Reply With Quote
Advert
Old Yesterday, 09:38 AM   #3
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,834
Karma: 64144480
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 enuddleyarbl View Post
Since one of the recurring problems I see here involves people putting their Calibre library on a network or cloud drive, I'm wondering if it's programmatically possible for Calibre to recognize that a library is on a network/cloud drive and warn the user as they try to set it up?
I thought the same. Then I came to the conclusion that Kovid and crew would have done it.

Please suggest how this can reliably be detected, because the idea is good, but the how is elusive and gets even harder supporting cross platforms?
Remember Calibre puts reliability and cross platform at the top of the list.

A Timing test fails because of caching?
An API query (are you a networked drive type?) is a maintainers headake with all the variations.
theducks is offline   Reply With Quote
Old Yesterday, 09:46 AM   #4
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: 46,334
Karma: 29630876
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no reliable way to detect that, as far as I know. A pure network drive may still be detectable at least with per platform code but a folder shared via dropbox/onedrive/etc is completely undetectable.
kovidgoyal is offline   Reply With Quote
Old Yesterday, 06:12 PM   #5
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: 22,719
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
The warning is there when the library is created:

Click image for larger version

Name:	Screenshot 2026-06-24 074620.jpg
Views:	37
Size:	40.8 KB
ID:	224022

Perhaps it should be more prominent, big red font, with a couple of ☢️s.

And the FAQ, should refer to Network Storage which ought be defined to include: Cloud storage, NASes, Shared drives, Local servers, etc - i.e. everything except locally attached devices.

BR
BetterRed is offline   Reply With Quote
Advert
Old Yesterday, 10:49 PM   #6
Dal Bhat
Connoisseur
Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.
 
Posts: 86
Karma: 1600368
Join Date: Apr 2024
Device: Kindle 11th Gen
Or just change that language to state, "DO NOT install the calibre library on a network drive or cloud drive or syncing app drive."

Don't explain why; just make it scary.
Dal Bhat is offline   Reply With Quote
Old Today, 12:02 AM   #7
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 15,315
Karma: 247660767
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
It is actually possible to keep your active library safely on a cloud drive (as long as that's not Google Drive) - you just have to stop syncing while calibre is open, keep all the files as locally available (not online-only) and make changes to your library strictly on one device (to avoid two-way syncing of changes). Violate one of these conditions, and you'll corrupt your library. Most folks using cloud drives to host their library violate at least one if not all three, hence the numerous complaints about errors. Also people usually keep their cloud drives constantly running in the background and syncing, so it's easy to forget to pause them.

Listing all that would of course be far too long to keep people's attention and would just be ignored, so it's best not to recommend using cloud drives at all.
Sirtel is offline   Reply With Quote
Old Today, 12:31 AM   #8
Dal Bhat
Connoisseur
Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.
 
Posts: 86
Karma: 1600368
Join Date: Apr 2024
Device: Kindle 11th Gen
That's why I wrote, "Don't explain why."
Dal Bhat is offline   Reply With Quote
Old Today, 01:06 AM   #9
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: 22,719
Karma: 34252730
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Obscurantism results in This

BR
BetterRed is offline   Reply With Quote
Old Today, 01:17 AM   #10
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: 46,334
Karma: 29630876
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well I made the warning a bit more prominent: https://github.com/kovidgoyal/calibr...d9989e969c413f
kovidgoyal is offline   Reply With Quote
Old Today, 07:38 AM   #11
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,095
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Don't know if it helps but I have a VBS sub that checks for drive type

It tags my Google drive (which I map to a letter) as a network drive

No idea about OneDrive since I don't use it

Code:
'DriveType values:

'Value	Drive Type
Const drvUnknown = 0	        '   Unknown
Const drvRemoveable = 1	        '   Removable (USB flash drive, floppy disk, etc.)
Const drvFixed = 2              '   hard disk, SSD
Const drvNetwork = 3            '   Network drive
Const drvCDROMDVD = 4           '   CD / DVD drive
Const drvRAM = 5                '   RAM disk

Dim fso, drv

Set fso = CreateObject("Scripting.FileSystemObject")

For Each drv In fso.Drives
    WScript.Echo drv.DriveLetter & ":  Type=" & drv.DriveType
    
    if drv.DriveType = drvNetwork then Wscript.Echo "That's a Network Drive"
    
Next
phossler is offline   Reply With Quote
Old Today, 07:51 AM   #12
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 15,315
Karma: 247660767
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
But it presumably can't detect a cloud drive folder if it's not mapped. It's just like any other folder on your hard drive. And most people don't map their cloud drives.
Sirtel is offline   Reply With Quote
Old Today, 11:51 AM   #13
Dal Bhat
Connoisseur
Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.Dal Bhat ought to be getting tired of karma fortunes by now.
 
Posts: 86
Karma: 1600368
Join Date: Apr 2024
Device: Kindle 11th Gen
[offtopic]What is this Karma thing? I went from 10 to 1.2e6 in one go.[/offtopic]
Dal Bhat is offline   Reply With Quote
Old Today, 02:19 PM   #14
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,834
Karma: 64144480
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 Dal Bhat View Post
[offtopic]What is this Karma thing? I went from 10 to 1.2e6 in one go.[/offtopic]
Attaboy points from users. Depending on how many THEY have, limits how many they can give at a go.
Have a few more
theducks is offline   Reply With Quote
Old Today, 02:21 PM   #15
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 83,878
Karma: 153649587
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Dal Bhat View Post
Or just change that language to state, "DO NOT install the calibre library on a network drive or cloud drive or syncing app drive."

Don't explain why; just make it scary.
Don't use "syncing app drive" as some will take it as do not use your drive that Overdrive runs on.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving Library to Cloud Drive bolzak Library Management 15 02-09-2024 03:36 PM
Problems with library located on a network drive mikolajek Library Management 8 07-13-2014 09:18 AM
'Sync with Cloud Drive' to add Docs to your library tomsem Amazon Fire 14 12-13-2013 02:28 AM
Calibre with library on mapped network drive litiki777 Related Tools 1 10-30-2012 05:31 AM
PRS-500 Bookdesigner suggestion - warn before cleaning kulaga Sony Reader Dev Corner 7 07-06-2007 06:04 PM


All times are GMT -4. The time now is 09:52 PM.


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