TobiZog / cinnamon-dynamic-wallpaper

Cinnamon extension for dynamic desktop backgrounds based on time and location
GNU General Public License v3.0
33 stars 0 forks source link

Importing an HEIC image breaks the extension completely #2

Closed KarkanAlzwayed closed 1 year ago

KarkanAlzwayed commented 1 year ago

Extension just stops working completely and the background switches to a random linux mint wallpaper. I have a 4k screen, so I have downloaded a 4k heic wallpaper. First, it broke on a 5k wallpaper, then the 4k. I can close it and open it, but clicking the "image configurater" doesn't do anything anymore. In order for the extension to resume functionality, I'd have uninstall it then reinstall.

TobiZog commented 1 year ago

Can you please upload the HEIC image here?

Start the Image Configurator manually:

  1. Go in your Home directory and make the hidden files visible (via right click menu)
  2. Navigate to .local/share/cinnamon/extensions/cinnamon-dynamic-wallpaper@TobiZog/5.4/image-configurator/
  3. Open in this folder a terminal and run python3 image-configurator.py. The window should now appear. Try to load the HEIC image. What does the terminal say?
KarkanAlzwayed commented 1 year ago

3. python3 image-configurator.py

Did that and this is what the terminal said after the whole thing just crashed

File contains 3 images
Written to /home/kalzi/.local/share/cinnamon/extensions/cinnamon-dynamic-wallpaper@TobiZog/5.4/images/extracted//plants-1.jpg
Written to /home/kalzi/.local/share/cinnamon/extensions/cinnamon-dynamic-wallpaper@TobiZog/5.4/images/extracted//plants-2.jpg
Written to /home/kalzi/.local/share/cinnamon/extensions/cinnamon-dynamic-wallpaper@TobiZog/5.4/images/extracted//plants-3.jpg
[kalzi@EOS image-configurator]$ 

Here is the image I'm using (I had to zip it since github didn't allow uploading it)

plants.heic.tar.gz

TobiZog commented 1 year ago

Thanks! I think, I got the problem. I will fix it with the next update this week.

KarkanAlzwayed commented 1 year ago

You are welcome. Let me know if you need testing.

TobiZog commented 1 year ago

With the latest release, the issue should be solved. If it's not, please tell me.