google / google/EarlGrey

+[GREYAutomationSetup grey_modifyKeyboardSettings] triggering 2 exceptions on 9.3.1 device

Open
#161 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
5.7k
Forks
737
Avg merge
1d 20h
Merged PRs (30d)
5

Description

The following 2 errors appear in the log on 9.3.1 device, seems to be related to method:
+[GREYAutomationSetup grey_modifyKeyboardSettings]

```
FunctionalTestRig[2353:1633153] CoreData: error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///var/mobile/Library/Keyboard/CoreDataUbiquitySupport/mobile~/UserDictionary/local/store/CloudUserDictionary.sqlite options:{
NSReadOnlyPersistentStoreOption = 1;
} ... returned error Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo={reason=Failed to access file: 1} with userInfo dictionary {
reason = "Failed to access file: 1";
}
FunctionalTestRig[2353:1633153] -[TIUserDictionaryController loadPersistentStoreAtURL:] could not open user dictionary at file:///var/mobile/Library/Keyboard/CoreDataUbiquitySupport/mobile~/UserDictionary/local/store/CloudUserDictionary.sqlite: Error Domain=NSCocoaErrorDomain Code=256 "The file couldn’t be opened." UserInfo={reason=Failed to access file: 1}
```

To anonymize this report I removed the identifier from the folder name in the log, but it is just some random string.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.