iBooks: spurious "not enough available storage" error on iCloud download
| Originator: | garth | ||
| Number: | rdar://24746638 | Date Originated: | 19-Feb-2016 11:51 AM |
| Status: | Open | Resolved: | |
| Product: | iOS | Product Version: | iOS 9.3 beta 3 |
| Classification: | Serious Bug | Reproducible: | Always |
iCloud storage in iBooks has been working pretty well for me in beta 3, but some books refuse to be downloaded from iCloud to iPad. They’re correctly marked as iCloud titles in the iPad iBooks UI, and I can tap on them to download the book. I see the book cover dim as normal; the download progress bar appears and completes; and then the book unhighlights as usual. However, when I tap the book to actually read it, I receive the error message shown in the attached screenshot. The book status then resets to show the iCloud icon.
More than 10GB of storage is available on the iPad, so this can’t be an actual storage issue.
This seems to happen with about 50% of the existing iCloud books. If a particular book is stricken, it will never download properly despite repeated attempts. And if a book doesn’t have the problem, it can be downloaded and deleted repeatedly without provoking the issue.
Deleting a problem book from OS X iBooks and then dragging back into iBooks to reupload it seems to consistently fix the problem. I should note that I turned on the iCloud functionality in the first betas that supported it for both iOS and OS X. Both devices are currently up to date on their respective betas.
Some console logging data is below. First, this log output is produced during the download phase of a “bad” book:
Feb 19 11:48:16 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
Feb 19 11:48:16 The-Precious securityd[2329] <Error>: securityd_xpc_dictionary_handler cloudd[2357] copy_matching Error Domain=NSOSStatusErrorDomain Code=-50 "query missing class name" UserInfo={NSDescription=query missing class name}
Feb 19 11:48:16 The-Precious cloudd[2357] <Error>: SecOSStatusWith error:[-50] Error Domain=NSOSStatusErrorDomain Code=-50 "query missing class name" UserInfo={NSDescription=query missing class name}
Feb 19 11:48:16 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
Feb 19 11:48:17 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
Feb 19 11:48:21 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
Feb 19 11:48:22 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
Feb 19 11:48:23 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
Feb 19 11:48:24 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
Feb 19 11:48:25 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
And then after tapping on the book to open it:
Feb 19 11:50:04 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
Feb 19 11:50:05 The-Precious iBooks[2535] <Warning>: *** Assertion failure: +[BKUbiquityAsset newAssetFromMetadata:url:downloading:filesize:dataSourceIdentifier:insertionDate:] /BuildRoot/Library/Caches/com.apple.xbs/Sources/Alder/Alder-3463.10.16/ibooks/library/BKLibraryDataSourcesiOS/BKLibraryDataSourcesiOS/BKUbiquityAsset.m:71 invalid nil value for 'insertionDate'
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!