Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+[GREYAutomationSetup grey_modifyKeyboardSettings] triggering 2 exceptions on 9.3.1 device #161

Open
axi0mX opened this issue Jun 27, 2016 · 5 comments

Comments

@axi0mX
Copy link
Contributor

axi0mX commented Jun 27, 2016

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~<some identifier I removed>/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~<some identifier I removed>/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.

@axi0mX axi0mX changed the title GREYAutomationSetup grey_modifyKeyboardSettings +[GREYAutomationSetup grey_modifyKeyboardSettings] failing on 9.3.1 device Jun 27, 2016
@khandpur
Copy link
Collaborator

What's the result of this? Does it crash on startup?

@axi0mX
Copy link
Contributor Author

axi0mX commented Jun 27, 2016

It doesn't crash, tests seem to start as normal. I didn't look into it further.

@khandpur
Copy link
Collaborator

in that case i would prefer to punt this until it becomes a blocking issue.

@axi0mX
Copy link
Contributor Author

axi0mX commented Jul 7, 2016

It does trigger 2 exceptions during startup, which is a bit inconvenient if you are using an exception breakpoint.

I verified that grey_modifyKeyboardSettings is the source of the issue. There are no more exceptions if you comment it out.

@axi0mX axi0mX changed the title +[GREYAutomationSetup grey_modifyKeyboardSettings] failing on 9.3.1 device +[GREYAutomationSetup grey_modifyKeyboardSettings] triggering 2 exceptions on 9.3.1 device Jul 7, 2016
@tirodkar
Copy link
Collaborator

I believe this is fixed. Could we please close this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants