Skip to content

some images not working #212

@osamaaj03

Description

@osamaaj03

Hi, missed me? So, after that last update, I'm getting this error message with some specific images:

[I] image: Using image cover_5.jpg.
[I] colors: Generating a color scheme.
[I] colors: Using wal backend.
Traceback (most recent call last):
  File "/usr/bin/wal", line 33, in <module>
    sys.exit(load_entry_point('pywal16==3.8.13', 'console_scripts', 'wal')())
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.14/site-packages/pywal/__main__.py", line 396, in main
    parse_args(parser)
    ~~~~~~~~~~^^^^^^^^
  File "/usr/lib/python3.14/site-packages/pywal/__main__.py", line 312, in parse_args
    colors_plain = colors.get(
        image_file,
    ...<4 lines>...
        cst=args.contrast,
    )
  File "/usr/lib/python3.14/site-packages/pywal/colors.py", line 514, in get
    colors = getattr(backend, "get")(img, light, c16=cols16)
  File "/usr/lib/python3.14/site-packages/pywal/backends/wal.py", line 127, in get
    return adjust(colors, light, c16=cols16)
  File "/usr/lib/python3.14/site-packages/pywal/backends/wal.py", line 110, in adjust
    return colors.generic_adjust(raw_colors, light, c16=cols16)
           ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.14/site-packages/pywal/colors.py", line 203, in generic_adjust
    colors[15] = colors[7]
    ~~~~~~^^^^
IndexError: list assignment index out of range

Some of them seem more on the monochrome side, so I get that, but what about the rest? Oh, and it looks like it’s loading colors much faster now, so that could be part of it. I’ll dig deeper into this later, but I thought I'd drop it here for your amusement.

Some of the images in question

Image
Image
Image
Image
Image
Image
Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions