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

issue :: when i'm run for ios #940

Open
kamhawy4 opened this issue Jun 14, 2020 · 4 comments
Open

issue :: when i'm run for ios #940

kamhawy4 opened this issue Jun 14, 2020 · 4 comments

Comments

@kamhawy4
Copy link

kamhawy4 commented Jun 14, 2020

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.
2020-06-14 16:26:48.788233+0200 ACHA[402:42310] -[SQLitePlugin pluginInitialize] [Line 38] Initializing SQLitePlugin
2020-06-14 16:26:48.788584+0200 ACHA[402:42310] -[SQLitePlugin pluginInitialize] [Line 45] Detected docs path: /var/mobile/Containers/Data/Application/DF8964BC-7D6C-4E26-87F1-D8B62B07CFA0/Documents
2020-06-14 16:26:48.788709+0200 ACHA[402:42310] -[SQLitePlugin pluginInitialize] [Line 49] Detected Library path: /var/mobile/Containers/Data/Application/DF8964BC-7D6C-4E26-87F1-D8B62B07CFA0/Library
2020-06-14 16:26:48.789069+0200 ACHA[402:42310] -[SQLitePlugin pluginInitialize] [Line 68] no cloud sync at path: /var/mobile/Containers/Data/Application/DF8964BC-7D6C-4E26-87F1-D8B62B07CFA0/Library/LocalDatabase
2020-06-14 16:26:48.789256+0200 ACHA[402:43040] -[SQLitePlugin closeNow:] [Line 209] close: db name was not open: mySQLite.db
2020-06-14 16:26:48.855841+0200 ACHA[402:43040] -[SQLitePlugin openNow:] [Line 152] open full db path: /var/mobile/Containers/Data/Application/DF8964BC-7D6C-4E26-87F1-D8B62B07CFA0/Library/LocalDatabase/mySQLite.db

@kamhawy4 kamhawy4 changed the title issue :: when i'm use ios v 6.0.0 and 6.1.0 issue :: when i'm run for ios Jun 14, 2020
@kamhawy4 kamhawy4 reopened this Jun 14, 2020
@olidotjpeg
Copy link

I have a similar issue when running from xcode.

2020-09-18 12:07:31.944715+0200 App Name[91310:21928913] -[SQLitePlugin pluginInitialize] [Line 38] Initializing SQLitePlugin
2020-09-18 12:07:31.944929+0200 App Name[91310:21928913] -[SQLitePlugin pluginInitialize] [Line 45] Detected docs path: /Users/userName/Library/Developer/CoreSimulator/Devices/AE8C44A1-BC23-43CC-8D2D-C7D361AAACC3/data/Containers/Data/Application/9E1E2092-5801-4D10-B714-B63FDA46AE0E/Documents
2020-09-18 12:07:31.945035+0200 App Name[91310:21928913] -[SQLitePlugin pluginInitialize] [Line 49] Detected Library path: /Users/userName/Library/Developer/CoreSimulator/Devices/AE8C44A1-BC23-43CC-8D2D-C7D361AAACC3/data/Containers/Data/Application/9E1E2092-5801-4D10-B714-B63FDA46AE0E/Library
2020-09-18 12:07:31.945220+0200 App Name[91310:21928913] -[SQLitePlugin pluginInitialize] [Line 65] no cloud sync directory already exists at path: /Users/userName/Library/Developer/CoreSimulator/Devices/AE8C44A1-BC23-43CC-8D2D-C7D361AAACC3/data/Containers/Data/Application/9E1E2092-5801-4D10-B714-B63FDA46AE0E/Library/LocalDatabase
2020-09-18 12:07:31.945471+0200 App Name[91310:21928913] -[SQLitePlugin pluginInitialize] [Line 93] no cloud sync at path: /Users/userName/Library/Developer/CoreSimulator/Devices/AE8C44A1-BC23-43CC-8D2D-C7D361AAACC3/data/Containers/Data/Application/9E1E2092-5801-4D10-B714-B63FDA46AE0E/Library/LocalDatabase
2020-09-18 12:07:31.945733+0200 App Name[91310:21932389] -[SQLitePlugin closeNow:] [Line 233] close: db name was not open: __name-app
2020-09-18 12:07:31.945939+0200 App Name[91310:21928913] new transaction is queued, waiting for open operation to finish

@brodycj
Copy link
Contributor

brodycj commented Sep 18, 2020

2020-06-14 16:26:48.789256+0200 ACHA[402:43040] -[SQLitePlugin closeNow:] [Line 209] close: db name was not open: mySQLite.db

This happens because of workaround for issue #666. You can ignore it in the beginning.

2020-09-18 12:07:31.945939+0200 App Name[91310:21928913] new transaction is queued, waiting for open operation to finish

I think that happens because you open the database and attempt a SQL statement right away.

In case a SQL statement is not working, it would be best to post a minimal reproduction ([1]).

[1] https://stackoverflow.com/help/minimal-reproducible-example

@olidotjpeg
Copy link

So I can 100% ignore the db name was not open ?

We don't see any issues with SQL Statements not working, so I will ignore the new transaction is queued, waiting for open operation to finish as well.

Will investigate if something is actually missing in our app, and then it's probably related to our code and not this plugin. Thank you!

@brodycj
Copy link
Contributor

brodycj commented Sep 18, 2020

I am thinking it would be good to get this documented, at the very least.

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