11-18-2016, 01:20 PM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Nov 2016
Device: Fire 7" 5th Gen
|
[Android] Bug: Calibre Companion-Cannot Write File
I cannot get my eBook mobi files to download from Calibre to Calibre Companion . This is a new issue after long use of both programs, and I am unable to pinpoint the cause, though I did find a 'fix'.
Devices: Windows 10 with Calibre version 2.72 Amazon Fire, 7" 5th Gen with Calibre Companion 5.2.1.7(349) Issue: 1) Attempt to copy eBook files to CC via Wireless device connection. Syncs with Calibre, etc... but when I attempt to 'send file to device' CC drops the connection and says, 'Cannot write file'. 2) Attempt to copy eBook files to CC via Content Server. New books in Calibre appear in Content server but 'cannot be saved to device memory'. *All eBook file formats are directed to save to SD card, not device memory* Attempted Fixes (downloads attempted with both connections after each): 1) Send both single and multiple files via both methods 2) Hard restart on Fire 3) Clear cache and force stop on CC 4) Update laptop Calibre to newest version 5) Remove/replace SD card/hard restart on Fire with apps 'optimized' 6) Reset the mobi file storage folder (to same folder as previously stored) Results: No change to the error results until Fix #6. Once I reset the mobi file storage folder (again, to the same folder path it previously stored files on the SD card) then I was able to download the mobi files through the Wireless Connection and Content Server options without any connection issues. It's a weird bug. I hope I've provided you with enough information to figure it out and prevent it from happening again. |
11-18-2016, 02:38 PM | #2 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
CC uses android's Storage Access Framework (SAF) to write the SD card because this is what Android > Kitkat requires. The SAF requires that an app (CC) ask for a long-lasting "permission" to read or write a folder. Unfortunately, from time to time Android forgets about these permissions, meaning CC can no longer write the folder. The usual causes are OS upgrades and device resets, but I am sure that there are random cases where is just happens.
When a user resets a folder to the same folder, CC asked again for permissions on that folder. The fact that this process fixed the problem for you indicates that the original permissions had been lost. Our apologies, but I can't find any way to avoid this happening. Fortunately it is rare, but that doesn't help when it happens to you. Did the Fire have an OS upgrade? |
11-19-2016, 05:49 PM | #3 | |
Junior Member
Posts: 9
Karma: 10
Join Date: Jan 2016
Device: none
|
Quote:
I'm having the same problem as of a few hours ago on my sghi337 galaxy s4. are there any fixes? |
|
11-19-2016, 05:53 PM | #4 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
Tags |
calibre, calibre companion, cannot save file, fire |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CC unable to write to file (Android | vohk | Calibre Companion | 1 | 10-18-2014 05:18 PM |
Calibre Companion won't write to microsd card | snoozer | Calibre Companion | 9 | 09-24-2013 09:17 AM |
Calibre Companion sorting bug | samoanbiscuit | Calibre Companion | 4 | 01-23-2013 09:04 AM |
[Android App] Best Android reader software for use with Calibre / Calibre Companion | ellett | Devices | 11 | 12-16-2012 04:27 PM |
[Android App] Calibre Companion Beta Bug | manxam | Devices | 29 | 08-15-2012 12:48 PM |