01-04-2024, 01:10 PM | #16 |
Grand Sorcerer
Posts: 11,942
Karma: 7219261
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Putting calibre's database on a NAS is exactly the scenario that breaks things. The database, and in fact the entire calibre library, should be on a local drive or bad things happen. As you have discovered.
|
01-04-2024, 01:15 PM | #17 |
Bibliophagist
Posts: 39,500
Karma: 154108302
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Perhaps you should search on this forum for messages about not using calibre on a network share? Or read the calibre FAQ titled: I am getting errors with my calibre library on a networked drive/NAS?.
You may also want to take a look at SQLite Over a Network, Caveats and Considerations for SQLite's take on doing so Not to mention that calibre 6.4.0 is an old version so at least update to 6.29.0? Last edited by DNSB; 01-04-2024 at 01:18 PM. Reason: Edit: added SQLite document link |
Advert | |
|
01-04-2024, 01:23 PM | #18 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jan 2024
Device: tolino vision 6
|
Thanks for this truly sad info.
I will find out the last version that supports the db on the NAS and avoid updates in the future - at least unless this faulty behaviour is eventually fixed... Regards - Ron |
01-04-2024, 01:24 PM | #19 | |
Grand Sorcerer
Posts: 11,942
Karma: 7219261
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
This will not be fixed. EDIT: you can run calibre and its db on the NAS (run, not mount) and use remote desktop or the content server to access it. Last edited by chaley; 01-04-2024 at 01:28 PM. |
|
01-04-2024, 01:33 PM | #20 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jan 2024
Device: tolino vision 6
|
|
Advert | |
|
01-04-2024, 01:48 PM | #21 |
Bibliophagist
Posts: 39,500
Karma: 154108302
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Please note that this a an issue with the SQLite database and it's supporting code and nothing to do with calibre.
|
01-04-2024, 03:53 PM | #22 | |
the rook, bossing Never.
Posts: 12,250
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
I now make a local copy if editing rather than viewing with any kind of thing. Multuser database clients work because the local program isn't accessing the files at all, they are never shared. Instead it's a transaction queue service program on a server that's accessing the files. It's a huge overhead of install, cpu and maintenance that's not needed for a single user program with exclusive LOCAL files (i.e. not over any kind of network, even ethernet LAN). |
|
01-04-2024, 05:29 PM | #23 | |
Well trained by Cats
Posts: 30,377
Karma: 58053698
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
That is your problem. Calibre is Single user (instance) plus it is a Hybrid of DB and file system. Delays can be devastating. 2 Users making changes at the same time (the DB is in memory for performance. it can not know someone changed a copy behind the scenes) Running the content server is the safe way to share in a family. |
|
01-04-2024, 05:41 PM | #24 |
Grand Sorcerer
Posts: 11,942
Karma: 7219261
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Sometimes the choice to have one's calibre library on a NAS feels like a lesser version of someone choosing to use Tesla's Full Self-Driving Capability. What is the risk the car will make a mistake? But it hasn't made one yet, you say. But if a mistake occurs, what happens if it kills someone? It won't, you say.
But the fundamental question remains: Is the risk acceptable? Apparently many people think the answer is "Yes". |
01-05-2024, 02:35 AM | #25 |
Custom User Title
Posts: 9,302
Karma: 63232809
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
01-05-2024, 08:04 AM | #26 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2024
Device: Tolino
|
Quote:
calibre, version 7.3.0 FEHLER: Unbehandelter Ausnahmefehler: <b>NotADBError</b>:NotADBError: file is not a database calibre 7.3 embedded-python: True Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19045') Python 3.11.5 Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free') Interface language: de Traceback (most recent call last): File "calibre\gui2\book_details.py", line 1414, in show_data File "calibre\gui2\book_details.py", line 1072, in show_data File "calibre\gui2\book_details.py", line 276, in render_html File "calibre\gui2\book_details.py", line 351, in render_data File "calibre\ebooks\metadata\book\render.py", line 310, in mi_to_html File "calibre\ebooks\metadata\book\render.py", line 134, in add_other_links File "calibre\gui2\book_details.py", line 348, in item_id_if_has_note File "calibre\db\cache.py", line 88, in call_func_with_lock File "calibre\db\cache.py", line 682, in notes_for File "calibre\db\backend.py", line 973, in notes_for File "calibre\db\notes\connect.py", line 264, in get_note File "calibre\db\backend.py", line 376, in get File "C:\t\t\apsw-42s16m2x\src\cursor.c", line 240, in resetcursor apsw.NotADBError: NotADBError: file is not a database I just install the new 7.3.0 Version Regards Markus |
|
01-05-2024, 09:25 AM | #27 |
creator of calibre
Posts: 44,355
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then there's something wrong with where you have the calibre library locates. Make sure its not a network drive or a location synced by some program like onedrive/dropbox and that its on a drive with a native filesystem such as NTFS.
|
01-07-2024, 02:49 PM | #28 | |
Member
Posts: 12
Karma: 10
Join Date: Feb 2023
Device: Kindle
|
Quote:
C:\Program Files\Calibre2>calibre-debug -g calibre 7.3 embedded-python: True Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19045') Python 3.11.5 Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free') Interface language: None Successfully initialized third party plugins: DeDRM (10, 0, 3) && Obok DeDRM (10, 0, 3) Traceback (most recent call last): File "runpy.py", line 198, in _run_module_as_main File "runpy.py", line 88, in _run_code File "site.py", line 95, in <module> File "site.py", line 90, in main File "site.py", line 50, in run_entry_point File "calibre\debug.py", line 231, in main File "calibre\gui_launch.py", line 72, in calibre File "bypy-importer.py", line 279, in exec_module File "calibre\gui2\main.py", line 5, in <module> ImportError: Module use of python310.dll conflicts with this version of Python. C:\Program Files\Calibre2> How best to fix this? Is it to update my separate stand-alone version of Python or is there something I can do in Calibre? Many thanks for the help & a great program. |
|
01-07-2024, 03:10 PM | #29 |
Member
Posts: 12
Karma: 10
Join Date: Feb 2023
Device: Kindle
|
OK, so I force removed the old version, cleaned up the reg and reinstalled 7.3 and it now works.
C:\Program Files>cd calibre C:\Program Files\Calibre>calibre-debug -g calibre 7.3 embedded-python: True Windows-10-10.0.19045-SP0 Windows ('64bit', 'WindowsPE') ('Windows', '10', '10.0.19045') Python 3.11.5 Windows: ('10', '10.0.19045', 'SP0', 'Multiprocessor Free') Interface language: None QPA platform: windows devicePixelRatio: 1.0 logicalDpi: 96.0 x 96.0 physicalDpi: 91.84180790960451 x 92.05369127516778 ApplicationPaletteChange event ignored Using calibre Qt style: True [0.00] Starting up... [0.01] Showing splash screen... [0.20] splash screen shown [0.20] Initializing db... [0.76] db initialized [0.76] Constructing main UI... [1.56] GUI main window shown [1.83] main UI initialized... [1.83] Hiding splash screen [2.01] splash screen hidden [2.01] Started up in 2.01 seconds with 1 books Lost my plugins etc but I can add these back.... |
01-08-2024, 01:59 PM | #30 | |
Junior Member
Posts: 3
Karma: 10
Join Date: Jan 2024
Device: Tolino
|
Quote:
What's strange is that I've been using the library on a network drive for the last few years without any problems, it wasn't until 7.2 that it stopped working. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre won't launch | bunkie68 | Calibre | 1 | 04-28-2018 02:48 PM |
Calibre won't launch | Mr_Mark | Calibre | 4 | 10-02-2012 11:02 AM |
Calibre won't launch in Jaunty | bilee | Calibre | 1 | 02-02-2011 04:10 PM |
Calibre won't launch at all, Leopard 1.5.6 | gconway | Calibre | 3 | 05-28-2009 07:24 PM |
App won`t launch - Calibre v. 0.4.92 | Matridom | Calibre | 2 | 10-07-2008 12:21 PM |