#parsing command line arguments 10.2s ERROR on 0.18.17

1 messages · Page 1 of 1 (latest)

marble needle
#

I just updated to 0.18.17 and starting getting this error locally:

dagger call...
▶ connect 2.5s
▶ load module: . 55.7s
▼ parsing command line arguments 10.2s ERROR
! required flag(s) "name" not set

Weirdly enough, this error doesn't appear in my CI.

Any idea what might be going on? I've confirmed that dagger version returns 0.18.17 and updated pyproject.toml, uv.lock and dagger.json to use the new version. No other warnings are emitted. Again, it's working in CI, so something must be cached badly locally?

#

dagger -c with the same arguments works correctly thinkies

austere coral
marble needle
#

it's weird, the issue has resolved itself. Can't reproduce it anymore

austere coral
quick heath
#

for me, 0.18.17 is giving me errors, saying that some files .env and sops/** do not exist. The same with 18.16 works as expected:

   dagger call -m "./dagger/cd" \
    --socket=/var/run/docker.sock \
    --kind-svc=tcp://localhost:3000 \
    --config-file=file://cluster/kind_local.yaml \
    deploy \
    --sec-env=file://.env \
    --env=dev \
    --age-key=file://sops/age.agekey \
    --sops-config=file://sops/.sops.yaml

of course, the files exist

austere coral
#

can you verify please? 🙏