iOS Driver Build is Broken: SQLITE_CANTOPEN
See original GitHub issueI’ve tracked the problem down to there not being a Librarys/Keychains/TrustStore.sqlite3
directory in the sim’s data
dir, on Travis. Not sure why this would be. But the certificate trust store module then dies with SQLITE_CANTOPEN
error that is uncatchable, for some reason.
The temporary solution is probably to quarantine the test on Travis. See https://github.com/appium/appium-ios-driver/pull/201
Issue Analytics
- State:
- Created 7 years ago
- Comments:15 (14 by maintainers)
Top Results From Across the Web
SQLITE_CANTOPEN - windows c++ - Stack Overflow
I am trying to create an Sqlite database in the selected folder but can`t do this. Operating System - Windows, editor - Visual...
Read more >error: sqlite_cantopen: unable to open database file - You.com
Its working fine on using npm start (on normally run) but not working when i try to create release file for linux using...
Read more >Unable to open database file" using SQLite on Windows ...
I am using SQLite for Windows Phone 7 (http://sqlitewindowsphone.codeplex.com/) and I have done every steps from this tutorial ...
Read more >4458 check-ins using file mkopcodeh.awk version 29b8465650
Fixes for builds without SQLITE_ENABLE_STAT4. check-in: 84999e27cc user: dan ... to the commit breaks the build. check-in: 71effa59c9 user: dan tags: typo.
Read more >Documentation - Fossil SCM
If the output buffer ** is not large enough, [SQLITE_CANTOPEN] should be ... The PRNG is also used for ** the build-in random()...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The most naive, brute force way to fix this is to create the paths/file/table. This is obviously fragile and can break without notice. Is there some way to trigger the simulator to create these files without have to manually recreate a SQLite database/table/schema?
Otherwise, here’s a patch for getting the file created. It goes in
appium-ios-simulator
. I’m not inclined to submit a PR for this since it’s sooo hacky:The schema was lifted from opening and inspecting the TrustStore DB after drag/dropping a self-signed cert onto the simulator and installing it.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.