Professor-Paradox / KdeAutoThemeSwitch

Switch between Preconfigured Light/Dark themes to Dark/Light themes.
14 stars 0 forks source link

FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/x86_64-linux-gnu/qt5/plugins/styles/' #1

Open robcollins55 opened 3 years ago

robcollins55 commented 3 years ago

Hi. This tool looks great, and is the most complete implementation of KDE theme switching I've seen, way more complete than yin-yang - what's more it is so simple in principle - using cronjob as the switching method - genius :1st_place_medal: . Unfortunately in Arch Linux however I get this error when clicking the dropdown box to select desired "application style" theme. The UI crashes/vanishes and the following is outputted in the terminal (can you help?):

FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/x86_64-linux-gnu/qt5/plugins/styles/' ./install.sh: line 9: 1550303 Aborted (core dumped) python ./src/PythonSrc/MyUI.py mkdir: cannot create directory ‘/home/rob/.kdeAutoThemeSwitch’: File exists cp: cannot stat 'userSelection.txt': No such file or directory setting a cron job to switch theme at specified time rob@hpelitebook850g2:~/Downloads/KdeAutoThemeSwitch-m

xgdgsc commented 2 years ago

I get

Traceback (most recent call last):
  File "./src/PythonSrc/MyUI.py", line 273, in eventFilter
    self.themes_To_Dropdown(self.ui.gridLayout6, TD.get_Color_Schemes())
  File "/home/sgao/Documents/Apps/KdeAutoThemeSwitch/src/PythonSrc/ThemeData.py", line 91, in get_Color_Schemes
    UserThemes = CD.files_In_Path("/.local/share/color-schemes/color-schemes/")
  File "/home/sgao/Documents/Apps/KdeAutoThemeSwitch/src/PythonSrc/CleanedData.py", line 69, in files_In_Path
    x = os.listdir(f"{homeDir}{dirPath}")
FileNotFoundError: [Errno 2] No such file or directory: '/home/sgao/.local/share/color-schemes/color-schemes/'