Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to v1.9: Failed to parse configuration #220

Closed
ggwpez opened this issue Jan 9, 2024 · 1 comment
Closed

Update to v1.9: Failed to parse configuration #220

ggwpez opened this issue Jan 9, 2024 · 1 comment

Comments

@ggwpez
Copy link

ggwpez commented Jan 9, 2024

(I figured it out but still open this for others to find)

Dependabot update only bumped the version from 1.8 to 1.9 here and now the config parsing fails.
The solution is lycheeverse/lychee#1338 to convert the integer of the accept array to strings like here.

Full error was:

Error:  Error while loading config: Cannot load configuration file `.config/lychee.toml`: Failed to parse configuration file

Caused by:
    TOML parse error at line 15, column 2
       |
    15 | 	200,
       |  ^^^
    invalid type: integer `200`, expected a string
@ggwpez ggwpez closed this as completed Jan 9, 2024
@mre
Copy link
Member

mre commented Jan 9, 2024

We will support both strings and integers again in the next version.
Tracking issue: lycheeverse/lychee#1338

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants