I'm getting errors when trying to run the `generat...
# general
n
I'm getting errors when trying to run the
generate-resolves
goal in
2.17.*
.
Copy code
19:42:06.01 [ERROR] 1 Exception encountered:

Engine traceback:
  in `generate-lockfiles` goal

ProcessExecutionFailure: Process 'Generate lockfile for python-default' failed with exit code 2.
stdout:

stderr:
usage: pex_v2.1.130 [-h] [-V] {interpreter,lock} ...
pex_v2.1.130: error: a subcommand is required
I am also having trouble migrating to the new resolved-based lockfiles for tools -- Pants complains the resolve does under
[tool].install_from_lockfile
does not exist even though it is clearly defined under
[python].resolves
. Will revisit that once I get past the above issue.
h
That error is very disturbing
Can you post your pants.toml?
Hey @nice-florist-55958 would love more data on that error, since it seems pretty concerning that Pants is issuing an incorrect command to pex somehow