View Single Post
Old 07-17-2024, 04:49 AM   #14
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 4,001
Karma: 18026955
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Oops, sorry, I missed your response.
As the code shows, this is how Calibre saves the metadata:
  • Turn metadata into a big JSON string
  • Does the file "metadata" exist? Then delete it.
  • Write the string to the file "metadata"
That there is that file means that it works sometimes (when there is no file already).
That we get that error means that the deletion process is the problem.
99% of what Calibre is doing is writing files to Android (copying books).
The 1% is things like this metadata.

It looks like this is a bug in filesystem_cache.py
It seems that it can't find the parent of metadata although the file exists.
There were major changes in this file in the last few weeks.
You can try replacing that file with the last version.
https://raw.githubusercontent.com/ko...ystem_cache.py
Renate is offline   Reply With Quote