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

database connection #30

Closed
bottag opened this Issue Jan 10, 2016 · 17 comments

Comments

Projects
None yet
2 participants
@bottag

bottag commented Jan 10, 2016

Hi. By starting the application, I get following error: unable to establish a database connection. This application needs SQLite support. I'm on MINT 17.3. Thanks.

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

Hello, @bottag ! Thank you for your report!

That's correct, QOwnNotes needs the QtSql and sqlite.

Did you use the Ubuntu PPA (I don't know if that even works under Linux Mint), the direct download from the PPA or the standalone Ubuntu deb-Package?

@bottag

This comment has been minimized.

bottag commented Jan 10, 2016

I used standalone deb-package (ppa doesn't work on mint)

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

In version 0.77 libqt5sql5-sqlite was added to the dependencies for the Ubuntu PPA build and the Ubuntu deb-package. The latter will take some minutes to build and be deployed. Can you please report back afterwards if it worked for you?
And thanks a lot again for the report!

@pbek pbek added the bug label Jan 10, 2016

@bottag

This comment has been minimized.

bottag commented Jan 10, 2016

Sorry, doesn't work :-(
Same message at the start. I've checked if the lib is installed: OK

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

Is the package libsqlite3-0 also installed?

@bottag

This comment has been minimized.

bottag commented Jan 10, 2016

yes it is

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

I'm already downloading Linux Mint 17.3 and will take a look.

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

What terminal-output do you get if you run QOwnNotes on a terminal?

@bottag

This comment has been minimized.

bottag commented Jan 10, 2016

QDir::mkpath: Empty or null file name (and then window popup)

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

I got that too. It's really strange, Qt can't find a path to write to unter Linux Mint. I'll see what I can do.

@bottag

This comment has been minimized.

bottag commented Jan 10, 2016

Ok. But don't spend all your sunday on this problem !

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

Oh, I'm sorry. I just saw that Linux Mint 17.3 only has Qt 5.2.1 included. QOwnNotes needs at least Qt 5.3. You currently will not be able to run QOwnNotes unless you install Qt e.g. from http://qt.io. :(
I guess Linux Mint 18 will include a never version.

@bottag

This comment has been minimized.

bottag commented Jan 10, 2016

I installed how here described: https://www.reddit.com/r/linuxmint/comments/3skasc/notepadqq_you_are_using_an_old_version_of_qt_521/
Doesn't work too :-(
Ok will wait 6 months.

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

Which version of Qt is qtdiag showing you?

@bottag

This comment has been minimized.

bottag commented Jan 10, 2016

OK I solved this ! Using this tutorial (without the command line specific for PhotoQt): http://photoqt.org/down?popup=mint

It works AFTER I reboot the computer. Now it work :-)

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

So it really was a problem with Qt. That's great!
Don't hesitate to report other problems and ideas.

@pbek pbek closed this Jan 10, 2016

@pbek pbek removed the bug label Jan 10, 2016

@pbek

This comment has been minimized.

Owner

pbek commented Jan 10, 2016

Thank you again for the report. I now updated http://www.qownnotes.org/installation with instructions for older Ubuntu Linux distributions and derivatives!

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