tilt-dev / tilt-dev/tilt

Error: writing tilt api configs...yaml: control characters are not allowed

Open
#5,489 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Description

A user reported this error on tilt up:

Error: writing tilt api configs: error loading config file "/Users/username/.tilt-dev/config": yaml: control characters are not allowed.

The error was fixed by removing /Users/username/.tilt-dev/config so that Tilt could regenerate it.

We do not know what caused the config file to become invalid and do not have a repro for this. It's probably not worth looking into unless there are more reports. I'm filing this so that anyone who hits this error and searches for it can 1) let us know it affected them and 2) see the workaround.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the config loading path reached by tilt up and the file /Users/username/.tilt-dev/config; the issue provides only the YAML parser error and a workaround, not a reproducible case. Done would require identifying a cause or reproduction before defining a fix or documentation change.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.