I've been a very happy user of Calibre Companion for the last couple of years, but I've finally hit an error transferring files from Calibre which I can't seem to resolve. Please help!
I have a fairly large library (about 1500 books, 6.5Gb storage on an external SD card) that Calibre Companion was managing fine.. until my phone died and I didn't have a (recent) backup of the Calibre Companion database. Since there's no way (as far as I know) to reinitialise Calibre Companion just from the storage directory, when I got a new phone (Samsung Galaxy S5 mini, running Lineage OS 13) I deleted the storage directory and started the process of retransferring the books over a wifi connection.
Everything started out fine, but after a hundred or so books, I got an error message "Device out of space? There was a problem writing to device storage". However, I still have 23Gb free space showing on the SD card. I thought there might be some problem with the amount of files being transferred in one go, so I rebooted and tried again with a smaller number of files. This seemed to work better, but I was still hitting the same problem again with increasing frequency. Now, I've more or less got the stage of trying to transfer one book and hit the error.
I'll email the full debug log, but below is what seems to be the relevant snippet from the most recent occurrence:
In this case (and others previously) part of the file
has been written to the filesystem: for example, there is a 1.5Mb file on the SD card whereas the original in Calibre was 6.5Mb. Until I delete this file, Calibre Companion will no longer sync properly to Calibre.
I thought the problem might also somehow be content related - with some issue triggered by the files themselves - but I have sometimes been able to retransfer the file where the error occured, e.g. earlier when I thought the problem related to the 'batch size' of number of files being transferred.
Please let me know if there's any other information that would useful in helping debug this. I'm also happy to test locally if you have any suggestions or further diagnostic tests to try. Any help to resolve this much appreciated!