zzag / plasma5-wallpapers-dynamic

Dynamic wallpaper plugin for KDE Plasma
328 stars 18 forks source link

Improved error reporting #83

Closed PiotrZPL closed 2 years ago

PiotrZPL commented 2 years ago

This week I lost 2h not understanding why the kdynamicwallpaperbuilder fails with message: "Failed to read /home/user/wallpaper: File not found" where "wallpaper" was the folder where the image files and the json file were located. And it indeed existed.

It turns out that I did not specify the "FileName" value for one of the image files in the json file. Now, in this case, the program will print a much more helpful message.

zzag commented 2 years ago

Thanks!