deviantfero / wpgtk

:flower_playing_cards: a colorscheme, wallpaper and template manager for *nix
http://deviantfero.github.io/wpgtk/
GNU General Public License v2.0
2.06k stars 48 forks source link

Error opening image #305

Closed vaskark closed 2 weeks ago

vaskark commented 5 months ago
Traceback (most recent call last):
  File "/home/vaskark/.local/lib/python3.12/site-packages/wpgtk/gui/theme_picker.py", line 135, in on_add_clicked
    themer.create_theme(f)
  File "/home/vaskark/.local/lib/python3.12/site-packages/wpgtk/data/themer.py", line 24, in create_theme
    return color.get_color_list(filename)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vaskark/.local/lib/python3.12/site-packages/wpgtk/data/color.py", line 36, in get_color_list
    is_new = not os.path.isfile(files.get_cache_path(filename))
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vaskark/.local/lib/python3.12/site-packages/wpgtk/data/files.py", line 79, in get_cache_path
    if __check_is_pywal16cols():
       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/vaskark/.local/lib/python3.12/site-packages/wpgtk/data/files.py", line 30, in __check_is_pywal16cols
    if wal_backend_version[i] > pywal_archived_version[i]:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'tuple' and 'int'

I'm using the latest git. The usual wpgtk from pip doesn't have this error. Thanks.

Ubuntu 24.04

kleshas commented 5 months ago

Same. arch

chrisJuresh commented 3 months ago

Same on arch

deviantfero commented 3 weeks ago

looking into this

deviantfero commented 2 weeks ago

fixed, both on -git and on the latest tag