Jean28518 / linux-assistant

A daily linux helper with powerful integrated search, routines checks and administrative tasks. The Project is built with flutter and python.
https://www.linux-assistant.org
GNU General Public License v3.0
87 stars 12 forks source link

KDE Bug: kdedefaults/kdeglobal File not found Crash #103

Closed Jean28518 closed 1 year ago

Jean28518 commented 1 year ago

image

Tested with debian kde

Nati0ns commented 1 year ago

Hi,

I'm just wondering why the file doesn't exist in this case, because by the looks of it this is a standard configuration file that should always be there? Was it manually removed?

Anyway, the simplest solution for this issue I can think of, would be to check if the file does exist before reading it. And if it doesn't exist, return a default value.

Best regards.