| Summary: | Baloo ignores corrupted DB | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-baloo | Reporter: | Elias Probst <mail> |
| Component: | Engine | Assignee: | baloo-bugs-null |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | tagwerk19 |
| Priority: | NOR | ||
| Version First Reported In: | 5.104.0 | ||
| Target Milestone: | --- | ||
| Platform: | NixOS | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Elias Probst
2023-04-09 20:42:47 UTC
(In reply to Elias Probst from comment #0) > 1. Corrupt your DB (procedure unknown) Chuckle :-) The most recent option for doing this related to non-printable characters (things like \000 and \001) in the file. See Bug 464226 and https://invent.kde.org/frameworks/baloo/-/merge_requests/87 This, at least, should be sorted in Frameworks 5.105 > ... let the user know ... the DB got corrupted ... There's a database consistency check script (by Igor Poboiko) here https://invent.kde.org/frameworks/baloo/uploads/bdc9f5f17fc96490b7bd4a22ac664843/baloo-checkdb.py that he refers to in: https://invent.kde.org/frameworks/baloo/-/merge_requests/87#note_535270 That might be worth a try. Heads up about the need to load the whole database into memory If you've got a corruption, probably your only option is to purge and reindex. > SOFTWARE/OS VERSIONS > Linux/KDE Plasma: NixOS/nixpkgs unstable 19cf008bb1 That may be an interesting journey... I got there with: environment.systemPackages = with pkgs; [ (python3.withPackages(ps: with ps; [ lmdb ])) ]; and then $ python3 baloo-checkdb.py But whether this works in a general case... Did you get anywhere? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |