pywal icon indicating copy to clipboard operation
pywal copied to clipboard

Error "template_data = "".join(template_data).format(**colors)"

Open aryneko opened this issue 3 years ago • 1 comments

Traceback (most recent call last):
  File "/home/ariel/.local/bin/wal", line 33, in <module>
    sys.exit(load_entry_point('pywal==3.3.0', 'console_scripts', 'wal')())
  File "/home/ariel/.local/lib/python3.10/site-packages/pywal/__main__.py", line 208, in main
    parse_args(parser)
  File "/home/ariel/.local/lib/python3.10/site-packages/pywal/__main__.py", line 185, in parse_args
    export.every(colors_plain)
  File "/home/ariel/.local/lib/python3.10/site-packages/pywal/export.py", line 68, in every
    template(colors, file.path, join(output_dir, file.name))
  File "/home/ariel/.local/lib/python3.10/site-packages/pywal/export.py", line 15, in template
    template_data = "".join(template_data).format(**colors)
ValueError: unexpected '{' in field name

pywal version wal 3.3.0

aryneko avatar Feb 16 '22 17:02 aryneko

I resolved this error by removing any templates in the template directory (.config/wal/templates.)

k3nden avatar Jul 26 '22 21:07 k3nden