![]() |
#1 |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jun 2017
Device: Kobo Touch
|
Error data base location
Hi
Every time I open the program I have the message " Database location error" (direct translation). Traceback (most recent call last): File "calibre\gui2\main.py", line 306, in initialize_db_stage2 File "calibre\db\legacy.py", line 187, in __init__ File "calibre\db\legacy.py", line 44, in create_backend File "calibre\db\backend.py", line 467, in __init__ File "calibre\db\backend.py", line 1298, in user_version File "calibre\db\backend.py", line 1010, in conn File "calibre\db\backend.py", line 331, in __init__ apsw.CantOpenError: CantOpenError: unable to open database file I've tried with the anti virus off but the result is the same. The library and I don't know why, it's in "Read only" despite having already changed it. I don't know what to do. Thanks Regards Calibrate latest version, Windows 10 updated PS. I found out that if I open the file as "administrator" it opens normally. Enviado do meu SM-A516B através do Tapatalk Last edited by cmgam; 08-31-2022 at 11:15 AM. |
![]() |
![]() |
![]() |
#2 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,155
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Depending on the library location, you might want to move it to a location where you have rights on it (I use a directory called calibre in my user directory (C:\<username>\calibre) in which I store my calibre libraries. The other choice is to give yourself rights on the directory that your calibre library is stored in.
Check Give permissions to files and folders in Windows 10 for information on doing so. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Quote:
And do you mean the Read only attribute, or the Security Permissions? Quote:
BR |
|||
![]() |
![]() |
![]() |
#4 | |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jun 2017
Device: Kobo Touch
|
Quote:
If I run the program as "administrator" I have no errors. Regards Enviado do meu SM-A516B através do Tapatalk |
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#7 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,969
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
yeah, it's something to do with how the security in Windows UAC works -- admin and non-admin programs can't really communicate with each other, and that breaks drag & drop.
|
![]() |
![]() |
![]() |
#8 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Not always, I regularly drag drop tiffs from circa 2013 xplorer² (user priv) into circa 2005 vliv (admin priv).
BR |
![]() |
![]() |
![]() |
#9 | |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jun 2017
Device: Kobo Touch
|
Quote:
When I mentioned "Library" it was the folder, d:/calibre/Library. Despite changing the attributes, it is always as "Read only". Regards Enviado do meu SM-A516B através do Tapatalk Correction: Is not "d:/" but "d:\" My apologies. Last edited by cmgam; 09-06-2022 at 07:52 AM. |
|
![]() |
![]() |
![]() |
#10 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
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:
Code:
d:\calibre\Library |
|
![]() |
![]() |
![]() |
#11 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Don't worry about it, it's a peculiarity of the Windows/calibre interaction. When calibre adds/changes/removes authors and books to the library it does it in the safest way possible, which involves complexities such as multiple hardllnks and temporary files - Windows gets confused. The black square simply means there were some read only files in here at some point in time. Quote:
BR |
||
![]() |
![]() |
![]() |
#12 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,969
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#13 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,718
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@cmgam - where is calibre installed? i.e. where is calibre.exe located, default location is C:\Program Files\Calibre2\calibre.exe
When you say you have to run calibre as administrator, I'm guessing you mean run a windows (desktop) shortcut as administrator. What happens if you run calibre.exe by double clicking on it at its install location. BR |
![]() |
![]() |
![]() |
#14 | |
Enthusiast
![]() Posts: 32
Karma: 10
Join Date: Jun 2017
Device: Kobo Touch
|
Quote:
The caliber program is installed on D:\ And yes, I run a desktop shortcut as administrator. Thanks Regards Enviado do meu SM-A516B através do Tapatalk Last edited by cmgam; 09-06-2022 at 08:28 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Transplanting data base to Aura One! | jackastor | Kobo Reader | 26 | 09-19-2016 12:55 PM |
Aura One data base error | petercreasey | Devices | 4 | 09-07-2016 08:56 PM |
Aura One data base error | petercreasey | Kobo Reader | 5 | 09-07-2016 07:49 PM |
Compress Data Base error on GloHD | mconh | Devices | 3 | 11-09-2015 05:53 PM |
corrupted data base | keith1241 | Calibre | 4 | 05-05-2013 10:40 PM |