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

QSqlQuery::prepare: database not open #467

Closed
onelittlehope opened this Issue Jan 7, 2017 · 5 comments

Comments

Projects
None yet
2 participants
@onelittlehope

onelittlehope commented Jan 7, 2017

When starting up QOwnNotes for the first time, the following is logged to stdout after the installation wizard finishes:

QSqlQuery::prepare: database not open
countAll :  QSqlError("", "Driver not loaded", "Driver not loaded")
QSqlQuery::prepare: database not open
store :  QSqlError("", "Driver not loaded", "Driver not loaded")

To reproduce:

  • Replicate a clean start by ensuring no previous configs exist: rm -rf ~/ownCloud/ .config/PBE/ .local/share/PBE/
  • Start: QOwnNotes
  • In the "Welcome to QOwnNotes" installation wizard, leave everything as defaults and click "> Next" twice and after clicking the "Finished" button, you will see the above messages output to stdout.
@pbek

This comment has been minimized.

Owner

pbek commented Jan 7, 2017

Thank you for reporting. I will see if I can reproduce that...

@pbek

This comment has been minimized.

Owner

pbek commented Jan 9, 2017

17.01.4

  • fixed two database errors when using QOwnNotes for the first time

@pbek pbek added this to the 17.01.4 milestone Jan 9, 2017

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2017

There now is a new release, could you please test it now works for you?

@onelittlehope

This comment has been minimized.

onelittlehope commented Jan 10, 2017

I confirm that the messages no longer appear and the matter is fixed.

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2017

Great, thank you for testing!

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