03-23-2021, 05:58 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2021
Device: Kob Aura H20 edition 2
|
Calibre Portable viewer on network share fails
My Calibre Portable is installed on a synology network share. All works well except the viewer wich fails with a QT rendering error. When Calibre Portable on network share copied to a local drive it works well.
What is the problem? |
03-23-2021, 09:44 PM | #2 |
Bibliophagist
Posts: 36,873
Karma: 147879470
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
|
Advert | |
|
03-24-2021, 09:26 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2021
Device: Kob Aura H20 edition 2
|
I have looked at that, but the problem you can get is when accessing Calibre from two systems simultaneously. The file locking is not geared up to handle this and database curruption can occur. In my case I only run it from one system at a time so that should not be a problem. The viewer used to work well but fails now with a QT rendering error which cannot be explained with the fact that it is beeing run from a network drive.
Allart |
03-24-2021, 09:31 AM | #4 |
creator of calibre
Posts: 44,024
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Qt Webengine doesnt like to run from networked drives.
|
03-24-2021, 10:56 AM | #5 |
the rook, bossing Never.
Posts: 11,701
Karma: 87663461
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Loads of other things don't like network drives/shares. Not just QT.
I only use remote LAN for either web applications or backups / file sharing. Historically for 30 years running an ordinary application that's actually using a file over a LAN has been risky. Partly that's why FTP, NTTP, POP2, SMTP, HTTP were all invented. The LAN is simply faster and more private than the Internet. |
Advert | |
|
03-25-2021, 05:53 AM | #6 | |
Wizard
Posts: 2,024
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
Weird, then, that in the corporate world they have doing pretty much nothing else for those 30 years. It doesn't seem to bother them much. |
|
03-25-2021, 08:41 AM | #7 | |
the rook, bossing Never.
Posts: 11,701
Karma: 87663461
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Databases for multi-user or networks need a server, so direct use of Access using the LAN would be a disaster but the free version of MS-SQL, the MSDE, would be fine. I installed and maintained this sort of stuff as the day job with NT Servers and NT Workstations. Usually the first thing we had to do in many offices was turn off file and print sharing on all PCs and make sure it was only on a computer dedicated as a server, even if not NT Server / Server 2003 etc. Also no NAS or Linux or any other network sharing is quite the same as an MS Server. |
|
03-25-2021, 10:02 AM | #8 | |
Well trained by Cats
Posts: 29,985
Karma: 56143930
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
A Client - Server DBMS has all sorts of 'locking' protocol I used to do Paradox DOS (RDBMS) this was a shared file DB system. You ask the server 'can I do this kind of Lock right now' (typ Record or Full) or Place a Block (to others) when you needed to do a process (eg PREVENT FULL LOCK) did your thing and removed your locks Fun things happened when screen savers or auto logout happened while full locks were in use. Thank goodness they had tools to see which user placed locks, so all you had to do was find the user. |
|
03-25-2021, 05:03 PM | #9 | |
Wizard
Posts: 2,024
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
I'm well aware of that. But that's not the difference between 'LAN' and 'local disk', it's the difference between multi-user and single user. Your issue will happen on local storage too, if you have, say, a Windows Terminal Server or Citrix host. |
|
03-25-2021, 05:18 PM | #10 | |
Wizard
Posts: 2,024
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
Quote:
I understand the reasons why using two instances of Calibre on the same library at the same time is asking for major trouble; exactly because the DB backend does not have said locking protocols. I also understand (or at least accept; my knowledge of file system semantics does not reach to really understanding it) that having your metadata.db on an SMB share isn't a good idea, even if it seems to work fine for months or even years. But that doesn't make 'using a file' on said share 'risky'. Like I said, people have been doing it for years. Yes, it's not the same as local storage, but that's not local storage vs. network storage, that's single user vs. multi-user (or just multi-process). Having your stuff on a local disk isn't inherently safer than having it on a remote share of some sort. |
|
03-25-2021, 05:23 PM | #11 |
Grand Sorcerer
Posts: 12,269
Karma: 74007256
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
Just curious. When you try launching it, do you have a drive letter assigned to the network drive, or are you browsing in explorers by server name / share name / directory?
Sent from my Pixel 4a using Tapatalk |
03-25-2021, 08:57 PM | #12 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The corporate LAN and applications are different. They will be running on better networking and server equipment, are working correctly and have better support*. The applications can be full client/server, use local store that is copied from and to the LAN at the start and end, or just opening a file and then writing it at the end. The latter is Word, Excel and the like do. But, there are other applications that do that. And they frequently have problems which occur because of some network problem that wasn't handled properly as the developer assumed that running from the network was the same as from the local drive. * And no, I couldn't write that with a straight face. Especially the last part. |
|
03-26-2021, 10:54 AM | #13 |
Wizard
Posts: 2,024
Karma: 13471689
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
|
|
03-26-2021, 11:23 AM | #14 |
Well trained by Cats
Posts: 29,985
Karma: 56143930
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
And power cords on servers never come loose while working on a nearby RU (they did not connect or install the redundant PSU due to power/PDU limitations). Or the cheap tang on the RJ45 failed to keep it seated.
And I can't count the number of Server /disk fault lights I've seen that the local techs 'are waiting for the NOC work order' to do something about. (I've also worked in some fantastically maintained data centers. I believe those were run by Employees, not contract services) |
03-26-2021, 12:23 PM | #15 |
the rook, bossing Never.
Posts: 11,701
Karma: 87663461
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
And Datacentres burning down due to a faulty UPS.
"You can restore a backup because it's the cloud?" asks client. "We can move working instances. It's up to you to make backups. You did read our T&C?" "That was a 20 Mbyte PDF with very fine print." |
Tags |
calibre portable, network drive, viewer |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Portable - Shouldn't PORTABLE Viewer and PORTABLE Editor open WITH the ebook? | Highlighter | Calibre | 2 | 10-31-2020 05:48 AM |
Access a copy of calibre that's on a network share? | badbob001 | Calibre Companion | 1 | 01-18-2019 03:37 AM |
How to point Mac-based Calibre towards a library on a network share | awj | Library Management | 6 | 02-03-2016 10:55 AM |
[WIP] Samba share on the Kobo Glo (windows network share) | joris_ | Kobo Developer's Corner | 1 | 07-11-2013 12:44 PM |
Which port will Calibre connect to a network share? | awj | Devices | 3 | 03-02-2013 10:14 AM |