-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
[BUG]: Upgrade to 4.7.1 duplicate providers #1427
Comments
Did you by any chance build RSS Guard in DEBUG configuration? Anyway, I will fix that doubling, it is caused by the fact that in DEBUG configuration (for certain technical reasons) RSS Guard tries to load plugins from multiple directories, in your case those directories are parents of one another thus, causing loading of those file multiple times. Can you post your cmake variable used during the build, including compiler identification? |
@martinrotter Great thanks. To be honest I am not sure. I simply used stock ebuild supplied by Gentoo. But as you mentioning it, I copied the ebuild with new version to upgrade to 4.7.2. I can see this log:
So I guess when the CMAKE_BUILD_TYPE is removed from CMakeLists.txt it makes "Debug" release by standard. I will file a bug for portage to add this variable. Well I would repair it, but I still din't checked the rules they want for me to contribute (shame on me). Thank you, |
4.7.2 should have the bug fixed regardless of CMAKE_BUILD_TYPE |
Yep, thanks for that, but I think it would be better for future builds to change build type to release to prevent more false positives from Gentoo distribution. Or maybe switch it by use flags to be able to build it with debug mode on for some other bugs. |
Yes, that is for sure and in the header of cmakelists file, I even give examples on how to build RSS Guard and they do include explicit -DCMAKE_BUILD_TYPE="Release".
|
Yep, thanks for that. I had gone through it and filed corresponding ticket for Gentoo portage. And tried to submit my file. Thanks |
FYI (and I know this bug is closed), loading plugins from different directories when debugging is enabled is rather unexpected. I almost gave up on first start of rssguard because it hung for ages, hammering the disk: gdb showed it scanning for plugins deep under /usr/src! Given that the scan was meant to be only under /usr/bin/../lib/rssguard, I find this somewhat confusing! Quite why QDirIterator::IteratorFlag::Subdirectories is traversing upwards I do not know... turning debugging off fixed this, and rssguard started more or less instantly. |
Brief description of the issue
Hello,
after upgrade to version 4.7.1 the accounts added into application were doubled. Please see attached screenshot. you can see that TinyTiny RSS is there twice.
I have downgraded back to 4.7.0 and it seems to be Ok.

Linux: Gentoo: Linux RinceWind 6.9.2-Air SMP PREEMPT_DYNAMIC Tue May 28 01:27:50 CEST 2024 x86_64 Intel(R) Core(TM) i7-5650U CPU @ 2.20GHz GenuineIntel GNU/Linux
Build flags: qt6 qtmultimedia sqlite webengine -libmpv -mysql
At the end I had deleted both accounts from application and added again. After restart I had seen them twice again. Also when I have opened Accounts -> Add account, I had seen all of them doubled. In 4.7.0 its ok.

4.7.1 nok:

Thanks,
Regards,
Petr Šourek
How to reproduce the bug?
What was the expected result?
See the same number of accounts as like before version.
What actually happened?
Doubled
Debug log
Operating system and version
The text was updated successfully, but these errors were encountered: