I3status-rust: Configuration parse error

Created on 28 Nov 2020  路  8Comments  路  Source: greshake/i3status-rust

Today I updated to the latest master and a configuration error started to come up:

Configuration error: failed to parse TOML from file contents.
Cause: invalid type: map, expected a string for key `theme` at line 139 column 1

My config for reference.

I didn't found a break change in the commit logs, so I thought it was all ok to update. Do you know the reason for the error?

bug

Most helpful comment

I ended up re-adding it properly to keep the old behaviour.

All 8 comments

What version were you using previously? I just tried with an old release (v0.13.1) and I got something similar:

{"version": 1, "click_events": true}
[[{"background":"#000000","color":"#dc322f","full_text":" Configuration error: failed to parse TOML from file contents.\nCause: cannot find specified icons for key `icons` at line 139 column 1 ","separator":false,"separator_block_width":0}]


Configuration error: failed to parse TOML from file contents.
Cause: cannot find specified icons for key `icons` at line 139 column 1

Actually I think that's too old a release. I'll try bisecting

OK looks like it was #938

What version were you using previously? I just tried with an old release (v0.13.1) and I got something similar:

It was a build of about 2.5 weeks

OK looks like it was #938

Yeah, the build was certainly older than 11 days ago where this PR was merged

This is the line that trips it: alternating_tint_fg = "#111111"

I'll find out what's going on

I removed the alternating_tint_fg since it wasn't implemented anywhere (ie. didn't actually tint the text). @ammgws re-added it as a dummy option. Let us know if you'd actually want it to tint the text, then i'll add that :)

Yeah, I used it before when it made difference, but I didn't notice that it was not having the same effect, I'll remove it from my config

I ended up re-adding it properly to keep the old behaviour.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

resingm picture resingm  路  5Comments

ammgws picture ammgws  路  6Comments

YodaEmbedding picture YodaEmbedding  路  4Comments

Thra11 picture Thra11  路  6Comments

oschoudhury picture oschoudhury  路  6Comments