Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

SQLITE_CANTOPEN #11863

Closed
Closed

Description

@fanvanzh

**Platform: iOS 8
**Mapbox SDK version: 6.0

Steps to trigger behavior

  1. Run the iOS APP

2.ERROR will occur as follow:
[ERROR] {com.mapbox.mbgl.DefaultFileSour}[Database]: cannot open file at line 38064 of [91e811f51e] (SQLITE_CANTOPEN)

Expected behavior

No Error, and sqlite3 works fine.

Actual behavior

sqlite3 open failed. due to SQLITE_NOTADB. (Code 14)

Activity

  1. jfirebaugh commented on May 8, 2018

    @jfirebaugh
    Contributor

    You likely have exception breakpoints enabled. The first-run database creation flow catches a SQLite exception (Code 14, SQLITE_CANTOPEN) and then creates the database. This is not a crash, though folks frequently interpret it as one, e.g., #9761.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions