parse issue $PROJECT
❯ kustomize
^^ type x to run that
❯ x env +kustomize && kustomize × parse error unidata.ucar.edu/netcdf │ this is a serious issue. please report the bug ╰─➤ https://github.com/pkgxdev/pkgx/issues/new?title=parse+issue+unidata.ucar.edu/netcdf
kitty, zsh, mac os sonoma 14.1.1
worked on a retry
oh dang, the retry presumably fixed the corrupted file. However we are getting more of these sorts of reports than I'm comfortable with so the bug is there. I wonder specifically what is going wrong.
Same here, which just happened after updating my Mac M1 to Sonoma 14.2 today. (It worked yesterday before updating.)
$ pkgx +npmjs.com sh
× parse error github.com/skystrife/cpptoml
│ this is a serious issue. please report the bug
╰─➤ https://github.com/pkgxdev/pkgx/issues/new?title=parse+issue+github.com/skystrife/cpptoml
$ sh <(curl https://pkgx.sh) +npmjs.com sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3764 100 3764 0 0 7058 0 --:--:-- --:--:-- --:--:-- 7061
#################################################################################################################### 100.0%
× parse error github.com/skystrife/cpptoml
│ this is a serious issue. please report the bug
╰─➤ https://github.com/pkgxdev/pkgx/issues/new?title=parse+issue+github.com/skystrife/cpptoml
$ x
zsh: command not found: x
# works with no args
$ pkgx sh
this is a temporary shell containing the following packages:
when done type: `exit`
pkgx ~/dev/medici/las-web/web
$ pkgx --version
pkgx 1.0.4
Mine is bad because it does not work on a retry, nor with x. Any workarounds appreciated!
pkgx --sync should force fix it. can you paste the contents of your ~/Library/Application\ Support/pkgx/pantry/projects/github.com/skystrife/cpptoml/package.yml first?
pkgx --syncshould force fix it. can you paste the contents of your~/Library/Application\ Support/pkgx/pantry/projects/github.com/skystrife/cpptoml/package.ymlfirst?
$ cat ~/Library/Application\ Support/pkgx/pantry/projects/github.com/skystrife/cpptoml/package.yml
$ ls -al ~/Library/Application\ Support/pkgx/pantry/projects/github.com/skystrife/cpptoml/package.yml
-rw-r--r-- 1 tlarson staff 0 Dec 12 13:17 /Users/tlarson/Library/Application Support/pkgx/pantry/projects/github.com/skystrife/cpptoml/package.yml
wow. empty.
Interesting that it is the ONLY file in the 724 files under that github.com directory that is size 0.
$ ls -l ~/Library/Application\ Support/pkgx/pantry/projects/github.com/*/* | grep " 0 "
-rw-r--r-- 1 tlarson staff 0 Dec 12 13:17 package.yml
pkgx --sync
That worked! Thank you very much.
There should be over 1000 package.yml files alone. I'm guessing it was the last thing written during the unpack of a truncated tarballs.
My pet theory is that github's download repo as tarball isn't working 100%. Either because it's reusing temp files or because we have so many files.
This should effect things less often now, but still periodically happens for sure. I have plans for solutions based on the precept that this is a github tarball corruption issue.