Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-28-2023, 03:22 PM   #16
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,055
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:
Originally Posted by rb431 View Post
I'm at "D:\Calibre Library" already.
That is great.

How did it get there? Did you just copy from the old location? If so, the errors will not have been fixed.
theducks is offline   Reply With Quote
Old 04-28-2023, 09:47 PM   #17
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is no issue with ampersands. ampersands are perfectly fine in long paths. I tried the following steps in my windows 11 system

1) Change the title of "Pride and Prejudice" to "Pride & Prejudice"
2) No errors observed
3) Change the title back to "Pride and Prejudice"
4) No errors observed
5) All book files moved successfully as expected

I am guessing you likely have some security software that is inserting itself into this and choking on the ampersands. Try excluding your calibre library folder from such software.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-03-2023, 02:37 PM   #18
rb431
Enthusiast
rb431 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2020
Device: Kindle Oasis 9th gen
I grabbed Sysinternals Process Monitor and recorded Calibre during the error

I have attached the output of procmon in native and CSV formats.

I get 4 events like this one before Calibre shows me the error message:

2:22:39.3162815 PM calibre.exe 34900 SetDispositionInformationEx C:\Users\Richard\Calibre Library\Aaron Allston\Star Wars_ Fate of the Jedi_ Backla (2247) CANNOT DELETE Flags: FILE_DISPOSITION_DELETE, FILE_DISPOSITION_POSIX_SEMANTICS, FILE_DISPOSITION_FORCE_IMAGE_SECTION_CHECK


I am totally open to the idea that this is some weird interaction on my system. Unfortunately for me Calibre is the only application to exhibit symptoms.
Attached Files
File Type: zip Calibre_Error_Logfile.zip (16.57 MB, 143 views)
rb431 is offline   Reply With Quote
Old 05-03-2023, 02:48 PM   #19
rb431
Enthusiast
rb431 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2020
Device: Kindle Oasis 9th gen
I broadened the procmon to all processes touching the Calibre Library path and tried again. I noticed a bunch of SearchIndexer activity around the same time so I excluded the library from Windows indexing, but that had no effect.
rb431 is offline   Reply With Quote
Old 05-03-2023, 03:14 PM   #20
rb431
Enthusiast
rb431 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2020
Device: Kindle Oasis 9th gen
I used procmon to monitor deleting files in that path using Explorer

I have attached those log files. Here I get events like this:

3:00:19.6959137 PM Explorer.EXE 1340 SetDispositionInformationFile C:\Users\Richard\Calibre Library\Aaron Allston\Betrayal_ Star Wars Legends (Legacy (2247) NOT EMPTY Delete: True


I'm using a non-Admin account that has rights to the directory structure.


And another note. I can use the library maintenance to delete extra folders just fine. I attached 3 screengrabs showing it.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	177
Size:	81.1 KB
ID:	201381   Click image for larger version

Name:	2.png
Views:	190
Size:	40.6 KB
ID:	201382   Click image for larger version

Name:	3.png
Views:	187
Size:	72.5 KB
ID:	201383  
Attached Files
File Type: zip Calibre_Error_Successful_Delete.zip (552.9 KB, 140 views)
rb431 is offline   Reply With Quote
Advert
Old 05-03-2023, 10:44 PM   #21
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I dont see anything useful in those logs. For somereason deleting the file is failing on your system, its something specific to your system. Unfortunately I am not enough of a windows guru to tell you how to figure out what that is.
kovidgoyal is offline   Reply With Quote
Old 06-10-2023, 11:18 AM   #22
rb431
Enthusiast
rb431 began at the beginning.
 
Posts: 32
Karma: 10
Join Date: Aug 2020
Device: Kindle Oasis 9th gen
And 6.20 has seemingly solved my problem. I can't recreate the issue anymore after updating.

"Windows: Make moving files in the calibre library folder more robust, locking folders in addition to files, before the start of the move"
rb431 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows error 5: Access is denied dschnit1 Calibre 13 05-03-2023 09:45 AM
Calibre: Access Denied Celsus_ Devices 4 07-25-2018 04:54 PM
Windows error 5: Access is denied boh_1 Calibre 3 11-30-2017 10:03 PM
Access denied on serversocket.accept Ricky23289 Kindle Developer's Corner 6 07-11-2014 12:02 PM


All times are GMT -4. The time now is 02:59 PM.


MobileRead.com is a privately owned, operated and funded community.