Pkg.jl: More helpful error messages if TOML files are corrupted

Created on 9 May 2020  路  4Comments  路  Source: JuliaLang/Pkg.jl

As already described in JuliaLang/TOML.jl#20, my ~/.julia/logs/manifest_usage.toml somehow got corrupted. I managed to eventually track it down, but it wasn't a very fun experience. It would be great to provide more details on which file and which line is affected and some additional context on the specific entry affected. Maybe also some tips for how to fix this? This already came up in #1017, but as that is quite a long thread, I though it made sense to track this in a dedicated issue.

Most helpful comment

Heh I was actually also thinking of just rewriting it...

All 4 comments

Honestly, I think TOML needs a rewrite/redesign. On my todo list, but hasn't made it to the top yet.

Heh I was actually also thinking of just rewriting it...

Was this page helpful?
0 / 5 - 0 ratings