Hi,
I’ve been using Julia without issue for 6+ months. A few weeks ago I turned my computer in for a SSD upgrade, resulting in a fresh install of Win10 (and therefore Julia). I am now seeing Pkg.TOML.ParserErrors.
After installing Julia, I add some packages and everything appears OK until I try adding or updating packages, say a day later.
I’ve looked at this post and gc also fails with a similar error.
When I look into the files in ~/.julia/packages it appears that they are getting corrupted at the end of the file. (I have a copy of my ~/.julia folder just after the fresh install and adding some packages and those files are not corrupt.)
For example, the end of DataFrames.jl is:
...
include("other/precompile.jl")
precompile()
end # module DataFrame�
And if I look at one of the Artifacts.toml files that gc
fails on, I see similar corruption, e.g.
~/.julia/packages/Libiconv_jll/bLsPg/Artifacts.toml
...
[[Libiconv]]
arch = "x86_64"
git-tree-sha1 = "be77f99c5f7180aac08dd6747287e0fab5a516c2"
os = "windows"
[[Libiconv.download]]
sha256 = "e2a702f56b98f5374668b11a33eb653e53063dacd0af085fcd5bfcce58f6fd53"
url = "https://github.com/JuliaBinaryWrappers/Libiconv_jll.jl/releases/download/Libiconv-v1.16.0+5/Libiconv.v1.16.0.x86_64-w64-mingw�u�����-{
I’m not seeing problems with other software (AFAIK) since the SSD upgrade, and I’ve seen this behavior in Julia on both versions 1.5.3 and 1.5.4. Any ideas what might be wrong or where to look next?
Thanks,
Dave