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

Problems with Qt 5.11.0 #1075

Closed
mihav opened this issue Jun 5, 2018 · 9 comments
Closed

Problems with Qt 5.11.0 #1075

mihav opened this issue Jun 5, 2018 · 9 comments

Comments

@mihav
Copy link

mihav commented Jun 5, 2018

It seems QuiteRSS is not compatible with Qt 5.11.0. When I'm trying to mark feed as read or trying to close application I get the following error in debug.log and no changes are saved:

05.06.2018 15:00:08.100 WARNING: QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
05.06.2018 15:00:08.101 WARNING: QSqlQuery::exec: database not open

My guess is Qt changed API with 5.11.0 a bit and QuiteRSS needs to adjust a bit.

@jediafr
Copy link

jediafr commented Jun 6, 2018

I have witnessed the same behavior, i deleted threads and mark some as read only to find them alive and unread at the next launch... same for disabling updates of a feed. quiterss is not able to save settings it seems. The change is coincidental with the Qt5.11 update...

UPDATE : i fixed it by reverting back to qt5.10-base, launching Quiterss with an error (needs qt5.11), updgrading qt again to 5.11. launching Quietrss successfully. Now it saves the read/unread/deleted posts.... very strange behavior.

@mihav
Copy link
Author

mihav commented Jun 6, 2018

It seems "QSqlDatabase objects can only be used in the thread that the connection was opened for".

http://code.qt.io/cgit/qt/qtbase.git/commit/src/sql/kernel?id=9b361f0e90fb1c154a16e65ec087ad36d5cca9b4

Similar bug: https://bugreports.qt.io/browse/QTBUG-68486

@fretere
Copy link

fretere commented Jun 7, 2018

Hi, i tried the jediafr's method: downgrade to qt5-base-5.10.0-4-x86_64.pkg.tar.xz then launch quiterss which doesn't launch and upgrade of qt but it didn't work.

@jediafr
Copy link

jediafr commented Jun 7, 2018 via email

@fretere
Copy link

fretere commented Jun 7, 2018

It didn't work though.
I downgrade with https://archive.archlinux.org/packages/q/qt5-base/ (5.10.1); i go to octopi but impossible to delete quiterss (error usr/bin).
I use pamac and i delete it.
I upgrade qt and reinstall quiterss but the problem still remains...

@Funcy-dcm
Copy link
Member

You read it: https://github.com/QuiteRSS/quiterss/blob/master/INSTALL
Qt version 4.7.* or 4.8.* or 5.4.*

@Funcy-dcm
Copy link
Member

Disable the option: "Store a DB in memory (requires program restart)"

@Funcy-dcm Funcy-dcm reopened this Jun 7, 2018
@mihav
Copy link
Author

mihav commented Jun 7, 2018

This only partially workarounds the problem. Updated feeds (new items) are now saved to feeds.db, but marking feed as read still does nothing and items are left unread forever.

@Funcy-dcm
Copy link
Member

I agree. Found an error, now I am correcting

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

4 participants