It looks like I messed up something in my repo. Ho...
# general
b
It looks like I messed up something in my repo. How do I blow away all the states from pants and start over? The symptom is that pants generate-lockfiles never finishes running.
w
Delete the .pants.d and .pids folders from the root probably
b
I had to delete ~/.cache/pants to fix it.
h
Glad that fixed it, but bad that it was necessary
Let us know if it happens again and before you blow things away, and we can guide you on how to capture useful debugging information
b
I couldn't see in the logs what it was hanging on. It ran for 2hrs and wasn't stopping 🙂
w
Python lockfiles?
b
Yes
The log entries I saw are:
Copy code
17:43:20.00 [INFO] request completed: `--python-repos-find-links=-['file:///Users/joe/Library/Caches/nce/24651afc6b566d5fd3e120694dad696d3fc89cebc3b730683ec95e7505f38e68/bindings/find_links/2.17.0/c0089a1c/index.html'] generate-lockfiles`
17:43:20.05 [INFO] Canceled: Generate lockfile for reqs
17:43:45.06 [INFO] Extending leases
17:43:45.07 [INFO] Done extending leases
17:45:05.10 [INFO] Extending leases
17:45:05.11 [INFO] Done extending leases
17:46:25.13 [INFO] Extending leases
17:46:25.14 [INFO] Done extending leases
and that went on for a couple of hours
The problem was that it said completed, but the command line was still counting time.
h
huh