https://pantsbuild.org/ logo
#general
Title
# general
h

high-yak-85899

05/18/2022, 10:10 PM
Somehow my system decided
--colors
shouldn't be the default. Any tips for what I might have changed or done to make it think this?
h

hundreds-father-404

05/18/2022, 10:11 PM
Copy code
colors = BoolOption(
        "--colors",
        default=sys.stdout.isatty(),
You can force it by setting
[GLOBAL].colors = true
in a
.pants.rc
for example
but also worth trying w/
--no-pantsd
to see if that's related
n

narrow-vegetable-37489

05/18/2022, 10:13 PM
I've had this issue on and off for the past couple of weeks.
--no-pantsd
always seem to solve it. Not sure why pantsd decides to not like colors from time to time. 🤔
👀 2
b

bitter-ability-32190

05/18/2022, 10:24 PM
I've seen this as well. Still can't nail it down. And I restart my computer daily so hard to keep around long enough to reach out for debug info to report
b

busy-vase-39202

05/19/2022, 12:49 AM
Would one of you open an issue about this? Thanks!
b

bitter-ability-32190

05/19/2022, 12:50 AM
I don't feel like I have enough info to do it 😕 Otherwise it's a very "ghostlike" issue.
h

hundreds-father-404

05/19/2022, 12:50 AM
still better than nothing, probably. then people can comment on it "me too - seems like this happens when X"
b

bitter-ability-32190

05/19/2022, 12:50 AM
Fair
b

busy-vase-39202

05/19/2022, 12:52 AM
Yeah, and at least when someone looks for info, they know it's an unexpected thing that can happen rather than second guessing themselves.
👍 1
Thanks! @narrow-vegetable-37489 would you chime in with a +1 that it happens and fill in whatever additional details you might have noticed?
👍 1
4 Views