![]() |
#31 |
Member
![]() ![]() ![]() Posts: 23
Karma: 244
Join Date: Jul 2012
Device: Sony PRS-T1
|
|
![]() |
![]() |
![]() |
#32 | |
Member
![]() ![]() ![]() Posts: 23
Karma: 244
Join Date: Jul 2012
Device: Sony PRS-T1
|
Quote:
It seems even simple file copy/move/rename operations fail if you operate calibre via a network mapped drive letter. That still strikes me as strange. |
|
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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)
|
|
![]() |
![]() |
![]() |
#34 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,094
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:
AFAIK Calibre does none, which is why it is single user. It can't even abide delayed writes. |
|
![]() |
![]() |
![]() |
#35 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
Calibre works fine on a network share IF you understand that it must ALWAYS be single user. The issue isn't the network share, it's the multiple user access. Because, as theducks points out, you need to actually lock files and folders if you're going to allow multiple people to have access at the same time.
Doing this in a platform independent manner is usually done with a relational database where the smarts are built into the database. But changing to that kind of back end would turn Calibre into a very different program. Instead, to provide transparent access to your books at all times, even if Calibre goes away, Kovid and the developers have chosen what is, essentially, a flat-file system. I can perfectly understand that decision. Even though it's a minor nuisance for me personally. I'd still rather have it this way than to have all my books hiding inside a relational database. |
![]() |
![]() |
Advert | |
|
![]() |
#36 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,094
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:
It would take a lot (HUGE) of work, but Calibre could probably be turned into a true client-server. OMG getting it to work on 3 OS ![]() I can imagine the support nightmares for the basic (typical) desktop user, just setting up the client and the server (the can be on the same machine), then add the complexity of additional clients boggles. It is quite possible that the GUI would not change, only what happens behind it. |
|
![]() |
![]() |
![]() |
#37 |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
Perhaps the calibre database server backend could be optional and run as an appliance from inside a virtual machine. That way only the client(s) have to be multi platform.
|
![]() |
![]() |
![]() |
#38 | ||
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
Quote:
Quote:
One alternative might be to set a "read-only" flag for the second user connecting to a library. Sort of like Word does with a document that is open by another user. The second user could transfer stuff to their eReader or even read a book, but couldn't make changes to metadata or add books. |
||
![]() |
![]() |
![]() |
#39 |
Member
![]() ![]() ![]() Posts: 23
Karma: 244
Join Date: Jul 2012
Device: Sony PRS-T1
|
Focus?
I appreciate the discussions and suggestions to make calibre multi-user and the difficulties to overcome when transforming calibre into a true networked client server architecture. These are recognized. But this discussion is off-topic and diverges from the main subject of the thread, which is not about multi user (the author is working on this) but about single user access to a networked drive.
So please let me repeat my observation in a different way: why has calibre problems to do simple file operarations on single files (the files and folders of the ebook data themselves) on a networked drive (or mapped -letter). Even so in a completely Win7 environment (so win7 client win7 server over network). I do not know any other software that does work on a local hardrive D:\ but not on a networked mapped network drive D:\. What is so special about calibre file I/O, please explain. Well, this is exactly the point: it is NOT working fine! Please test it yourself and post here what your findings are! Last edited by erwin1234; 01-25-2014 at 08:16 AM. |
![]() |
![]() |
![]() |
#40 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I have no problem holding the library book files on a networked drive and the metadata database locally. Things tend to go wrong if I also try to put the metadata database onto the network drive. This leads me to believe that it is something about the interactions between calibre and its metadata database that tend to go wrong when this database is on a network drive.
|
![]() |
![]() |
![]() |
#41 |
Handy Elephant
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
|
Also, if/when calibre really becomes multiuser, then that implies that the problems with access over the network has been solved. Perhaps the two are not directly related, but multiuser support necessitate network access.
|
![]() |
![]() |
![]() |
#42 |
(he/him/his)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,296
Karma: 80074820
Join Date: Jul 2010
Location: Sunshine Coast, BC
Device: Oasis (Gen3),Paperwhite (Gen10), Voyage, Paperwhite(orig), iPad Air M3
|
|
![]() |
![]() |
![]() |
#43 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,079
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
|
![]() |
![]() |
![]() |
#44 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Dec 2013
Device: none
|
I use calibre portable, after I put the calibre portable to our server and share the folder and mapped it to a network drive, I set the security permission of the Library folder only to read-only for everyone except me, that way, only I can change the book, though they can still change the preferences. It's ok, at least they will not ruin the e-books. It's still working fine.
|
![]() |
![]() |
![]() |
#45 | |
Member
![]() ![]() ![]() Posts: 23
Karma: 244
Join Date: Jul 2012
Device: Sony PRS-T1
|
Quote:
Just re-checked with latest calibre 1.22.0. 1. install calibre. Enable debug mode, debug file is in \Appdata\local\temp. 2. create new library on network share on map drive on server S:\, full access on share, full admin access on server 3. import some ebooks. This works fine. All folders and files are created allright 4. change metadata -> change title of book. Press ok. This does not work. I get the famous error again: calibre, version 1.22.0 FOUT: Toegang geweigerd: Kan van dit boek de locatie op de harde schijf niet wijzigen. Is dit boek geopend in een ander programma? Traceback (most recent call last): File "site-packages\calibre\gui2\metadata\basic_widgets.py", line 102, in commit File "site-packages\calibre\db\legacy.py", line 814, in func File "site-packages\calibre\db\cache.py", line 57, in call_func_with_lock File "site-packages\calibre\db\cache.py", line 969, in set_field File "site-packages\calibre\db\cache.py", line 983, in update_path File "site-packages\calibre\db\backend.py", line 1428, in update_path File "site-packages\calibre\db\backend.py", line 1230, in copy_cover_to File "site-packages\calibre\utils\filenames.py", line 397, in copy_path_to File "site-packages\calibre\startup.py", line 155, in local_open OSError: [Errno 13] Permission denied I pressed cancel and did a second rename. In the library folder, the new title folders are all there (so three folders now for the same one book), but the files are not ok. In the first rename the epub has been renamed and the cover.jpg is there, the second time the rename of the epub failed and the third folder only has the cover.jpg. This file cover.jpg also remains in the first (original) folder. So all sorts of renaming/copying/moving goes wrong. That is why I have my main library read-only on the network share now. The debug mode does not help here, there are NO error messages in the debug file. You are lucky it works for you.. Last edited by erwin1234; 02-01-2014 at 05:24 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which port will Calibre connect to a network share? | awj | Devices | 3 | 03-02-2013 10:14 AM |
Calibre with library on mapped network drive | litiki777 | Related Tools | 1 | 10-30-2012 05:31 AM |
Kobo & Calibre library over network | Issachar | Which one should I buy? | 7 | 12-20-2011 11:19 PM |
Calibre with OS X 10.6 Network User | fiveandfriends | Devices | 0 | 03-03-2011 12:15 PM |
Calibre performance over the network | mrwindex | Calibre | 11 | 07-30-2009 12:45 AM |