Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 754645 - x11-terms/alacritty-0.6.0_rc1: Problem with config: unknown variant `Subtract`
Summary: x11-terms/alacritty-0.6.0_rc1: Problem with config: unknown variant `Subtract`
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-11-14 23:55 UTC by Phil Stracchino (Unix Ronin)
Modified: 2021-01-19 18:55 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil Stracchino (Unix Ronin) 2020-11-14 23:55:29 UTC
x11-terms/alacritty-0.6.0_rc1 emits this error when launched with an existing config file.

It is trivially fixable by finding the one instance of 'Subtract' in .config/alacritty/alacritty.yml and changing it to 'Minus'.


Full error text:

[2020-11-14 18:47:18.448058092] [ERROR] [alacritty_config] Problem with config: unknown variant `Subtract`, expected one of `Key1`, `Key2`, `Key3`, `Key4`, `Key5`, `Key6`, `Key7`, `Key8`, `Key9`, `Key0`, `A`, `B`, `C`, `D`, `E`, `F`, `G`, `H`, `I`, `J`, `K`, `L`, `M`, `N`, `O`, `P`, `Q`, `R`, `S`, `T`, `U`, `V`, `W`, `X`, `Y`, `Z`, `Escape`, `F1`, `F2`, `F3`, `F4`, `F5`, `F6`, `F7`, `F8`, `F9`, `F10`, `F11`, `F12`, `F13`, `F14`, `F15`, `F16`, `F17`, `F18`, `F19`, `F20`, `F21`, `F22`, `F23`, `F24`, `Snapshot`, `Scroll`, `Pause`, `Insert`, `Home`, `Delete`, `End`, `PageDown`, `PageUp`, `Left`, `Up`, `Right`, `Down`, `Back`, `Return`, `Space`, `Compose`, `Caret`, `Numlock`, `Numpad0`, `Numpad1`, `Numpad2`, `Numpad3`, `Numpad4`, `Numpad5`, `Numpad6`, `Numpad7`, `Numpad8`, `Numpad9`, `NumpadAdd`, `NumpadDivide`, `NumpadDecimal`, `NumpadComma`, `NumpadEnter`, `NumpadEquals`, `NumpadMultiply`, `NumpadSubtract`, `AbntC1`, `AbntC2`, `Apostrophe`, `Apps`, `Asterisk`, `At`, `Ax`, `Backslash`, `Calculator`, `Capital`, `Colon`, `Comma`, `Convert`, `Equals`, `Grave`, `Kana`, `Kanji`, `LAlt`, `LBracket`, `LControl`, `LShift`, `LWin`, `Mail`, `MediaSelect`, `MediaStop`, `Minus`, `Mute`, `MyComputer`, `NavigateForward`, `NavigateBackward`, `NextTrack`, `NoConvert`, `OEM102`, `Period`, `PlayPause`, `Plus`, `Power`, `PrevTrack`, `RAlt`, `RBracket`, `RControl`, `RShift`, `RWin`, `Semicolon`, `Slash`, `Sleep`, `Stop`, `Sysrq`, `Tab`, `Underline`, `Unlabeled`, `VolumeDown`, `VolumeUp`, `Wake`, `WebBack`, `WebFavorites`, `WebForward`, `WebHome`, `WebRefresh`, `WebSearch`, `WebStop`, `Yen`, `Copy`, `Paste`, `Cut`; ignoring binding
Comment 1 Georgy Yakovlev archtester gentoo-dev 2020-11-15 01:05:09 UTC
Yes, alacritty sometimes requires config updates.
What’s the purpose of this bug?
Package already installs example configuration, it’s up to user to keep homedir configuration file updated updated.
Comment 2 Phil Stracchino (Unix Ronin) 2020-11-15 01:09:02 UTC
(In reply to Georgy Yakovlev from comment #1)
> Yes, alacritty sometimes requires config updates.
> What’s the purpose of this bug?


Just annotating so that anyone else who runs into it knows what to do to fix it.
Comment 3 Georgy Yakovlev archtester gentoo-dev 2020-11-15 01:41:33 UTC
bugs are generally for packages/things that we can fix or work around.


btw, in changelog: https://github.com/alacritty/alacritty/blob/master/CHANGELOG.md

> Add and Subtract keys are now named NumpadAdd and NumpadSubtract respectively
Comment 4 Larry the Git Cow gentoo-dev 2021-01-19 18:55:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7209230840f219e94615e0a81321252e0dfab8fc

commit 7209230840f219e94615e0a81321252e0dfab8fc
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2021-01-19 18:52:28 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2021-01-19 18:55:42 +0000

    x11-terms/alacritty: bump to 0.7.1
    
    Closes: https://bugs.gentoo.org/754645
    Closes: https://github.com/gentoo/gentoo/pull/18590
    Package-Manager: Portage-3.0.14, Repoman-3.0.2
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 x11-terms/alacritty/Manifest               |  55 +++++
 x11-terms/alacritty/alacritty-0.7.1.ebuild | 325 +++++++++++++++++++++++++++++
 2 files changed, 380 insertions(+)