albert
albert copied to clipboard
[files] About error message when parsing large file index
Description When albert parses a large file index (~/.cache/albert/org.albert.extension.files/fileindex.json), it gives an error message "ICE default IO error handler doing an exit()" and failed. It's a little hard to find the real reason. Maybe a more exact message would be more helpful. And it would be nice to have a warning message to tell users indexing a large number of files may cause the former issue on the config UI of the "Files" plugin(I saw it in the README of the plugin, but it would be better showing on the UI).
Expected behavior The app gives an error message like "the file index file(~/.cache/albert/org.albert.extension.files/fileindex.json) is too large".
Steps to reproduce
- On the config page of "Files", add a path with a large number of files in it to the "Paths" list
- Wait a while when albert indexes the files
- restart albert from terminal
Additional information (please provide the following information): Repo: Arch Linux AUR