Bug 443578 - Krita 5.0 (git fa4ad10) fails to generate a proper resource database
Summary: Krita 5.0 (git fa4ad10) fails to generate a proper resource database
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Resource Management (show other bugs)
Version: nightly build (please specify the git hash!)
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2021-10-11 04:14 UTC by tomtomtomreportingin
Modified: 2021-10-12 05:22 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomtomtomreportingin 2021-10-11 04:14:02 UTC
SUMMARY
Krita Plus (5.0) fails to generate a proper resource database as of git fa4ad10. This does not effect the current beta 2, and it does not occur if the user has an existing database cache from previous versions. I have NOT observed this in master as of git 45ea106.

STEPS TO REPRODUCE
1. Backup resourcecache.sqlite or use a fresh profile/environment.
2. Run Krita from the terminal.
3. Observe warnings/errors in terminal and "You don't have any resource bundles enabled. Only your local resources are available." popup.
4. Restart Krita.

5. Various brushes seem broken and missing pattern/resource warnings will spew into the terminal.

EXPECTED RESULT
Bundles should properly load on first startup and resources shouldn't seem broken on second startup.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Linux/KDE Plasma: Debian sid
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.86.0
Qt Version: 5.12.11 (Appimage)
Comment 1 Halla Rempt 2021-10-11 09:55:57 UTC
The fix is already in master, it needs to be backported.
Comment 2 Halla Rempt 2021-10-11 10:03:21 UTC
Dmitry, can you please backport these fixes to the krita/5.0 branch?
Comment 3 Dmitry Kazakov 2021-10-12 05:22:22 UTC
I have backported those commits, so it should be in the stable nighlies already. Thank you for the report! :)