Skip to content

errors with legacy color schemes #4

@clach04

Description

@clach04

get errors like:

(py3venv) C:\code\terminal\base16_base24\base16-putty>python C:\code\terminal\base16_base24\tinted-builder-python\base24.py  --verbose --schemes-dir C:\code\terminal\base16_base24\base16-tomorrow-schemes  --config templates\config.yaml
7
DEBUG conf {'base16': {'extension': '.reg', 'output': 'putty'}, 'base24': {'extension': '.reg', 'output': 'putty', 'supported-systems': ['base24']}}
DEBUG mkdir base_output_dir 'putty'
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\vim_tomorrow-night.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\tomorrow-night.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\tomorrow.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\vim_tomorrow-night-eighties.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\vim_tomorrow.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\tomorrow_20120906.yaml: KeyError('name')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\vim_tomorrow_hacked.yaml: KeyError('palette')
DEBUG mkdir base_output_dir 'putty'
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\vim_tomorrow-night.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\tomorrow-night.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\tomorrow.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\vim_tomorrow-night-eighties.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\vim_tomorrow.yaml: KeyError('palette')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\tomorrow_20120906.yaml: KeyError('name')
ERRO: C:\code\terminal\base16_base24\base16-tomorrow-schemes\vim_tomorrow_hacked.yaml: KeyError('palette')
Finished building process.

This strongly suggests this tool does not follow the spec at https://github.com/tinted-theming/home/blob/main/builder.md#schemes

The legacy scheme format is a fallback meant only for the Base16 and Base24 scheme systems.

These files have the following structure:

scheme: "Scheme Name"
author: "Scheme Author"
description: "a short description of the scheme"
base00: "000000"
base01: "111111"
base02: "222222"
base03: "333333"
base04: "444444"
base05: "555555"
base06: "666666"
base07: "777777"
base08: "888888"
base09: "999999"
base0A: "aaaaaa"
base0B: "bbbbbb"
base0C: "cccccc"
base0D: "dddddd"
base0E: "eeeeee"
base0F: "ffffff"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions