![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2023
Device: KoboArc
|
another Calibre winerror 5 issue
Hi guys, hope get some help with my winerror 5 issue.
Run Calibre 6.21 on my win11 laptop, few different libraries (science, diy, belletristic,...) are on an external HD to manage them and yes, it works well. From time to time I synchro these libs with the libs I have on another HD connected to a Raspberry Pi running in my local network. So different laptops in my network have access to all the libraries as well. All worked fine until the last synchro of my belletristic lib, then get this error: PermissionError:[WinError 5] Access is denied: '\\\\192.168.1.xxx\\public\\calibre\\libraries\\be lletristik\\.caltrash' And yes: .caltrash folder has read and write permissions And yes: folder has the right user and group And no: No other running laptop running Calibre at the same time, just one Calibre running And yes: Start Calibre on windows as Admin. Can load my other lib (example science, diy, kitchen,...) with no problem, but find out they don't have this .caltrash folder. So have no idea what can I do now, but really hope one knows. Appreciate your help very much. |
![]() |
![]() |
![]() |
#2 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,054
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Calibre is not designed to use Networked drives. (the 192.x.x.x gives that away
![]() |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2023
Device: KoboArc
|
but the raspberry function just as file server, and why it worked for 10 years fine, and why can load all other libraries I have on the raspberry/HD?
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2023
Device: KoboArc
|
for example, see pic...load my science lib with no prob
|
![]() |
![]() |
![]() |
#5 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@Sarah - What happens if you move the .caltrash folder out of the belletristik [fiction] library?
BR |
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2023
Device: KoboArc
|
yes, thought about too and deleted .caltrash manually, but when changed to belletristic library, winerror 5 apperas again, and Calibre created again a new folder .caltrash
|
![]() |
![]() |
![]() |
#7 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Probably this in the library preferences: "last_expired_trash_at" Yep, if I delete that entry in the library database and the .caltrash folder they don't get recreated when I open that library. So, it seems that the advent of .caltrash and folder locking have hardened the "Don't put your calibre library on a network drive" edict. Maybe there is a case for a .caltrash opt-out. A Remove book or Remove format would do a hard delete - i.e. nothing moved to .caltrash, or OS trash/recycle bins. Probably make it a global option via a Tweak. BR |
|
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2023
Device: KoboArc
|
thx BetterRed, but is there something I can do by myself without coding?
What I can't do anyway (coding). |
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2023
Device: KoboArc
|
where do i find this property (file) "last_expired_trash_at"?
|
![]() |
![]() |
![]() |
#10 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
It's in the library database - metadata.db. I used DB Browser for SQLite, its free. This is what I did to find and delete it, with calibre closed: But that only 'fixes' it until the next Remove Book/Format. BR Last edited by BetterRed; 06-13-2023 at 11:18 PM. |
|
![]() |
![]() |
![]() |
#11 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jun 2023
Device: KoboArc
|
thx BetterRed, that was a big help. Did what you wrote and now all is working again,,,so happy...ok, is just a workaround, but deleting the record before synchronizing is an easy job...thx a lot...
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PermissionError: [WinError 5] Access is denied when updating Metadata | rb431 | Calibre | 21 | 06-10-2023 11:18 AM |
OSError: [WinError 10013] | dunhill | Calibre | 1 | 01-16-2022 10:21 PM |
Issue with Calibre 2.79.0 | mariaclaudia | Calibre | 1 | 02-11-2017 02:57 PM |
Need help for an issue I have with calibre | dafkanik | Devices | 1 | 08-05-2012 05:47 PM |
calibre issue | snapperhead47 | Calibre | 6 | 01-13-2012 01:05 AM |