-
-
Notifications
You must be signed in to change notification settings - Fork 256
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
colorama is not working with Travis CI under specific circumstance #165
Comments
This is probably because the users of Consider this simple script (let's put it in a file named "a.py"): import colorama
colorama.init()
print(colorama.Fore.RED + 'hello' + colorama.Fore.RESET) And this script that executes "a.py" in a subprocess (let's call it "b.py") import subprocess
proc = subprocess.Popen("python a.py", stdout=subprocess.PIPE, shell=True)
output, error = proc.communicate()
print(output) If you run the first script directly ( |
Hi @wiggin15,
|
Reading directly from |
Closing as this is old enough but people can alternatively just set the Stay safe and healthy. |
Hello there!
This issue is more likely a
help wanted
than anything.I'm writing PyFunceble (in this issue I'm referencing to the
dev
branch) and since more than 2 months, I'm trying to find why colorama is not working under a specific circumstance.So back to our issue:
Case that it is working
As PyFunceble is running for more than 6 months every day under Travis CI, server and sometimes PC, I consider the following as safe to mention.
Locally
If I run
PyFunceble
(the executable) locally it's working.Same if I create a script like the following, it's working.
#!/usr/bin/bash PyFunceble -d github.com
Travis CI
Under Travis CI if I run
PyFunceble
directly for testing, it is working as you can see in the following link.Case that it is not working
Locally
No case found after months of testing and using.
Travis CI
If we create a
.py
file or a bash script, and runPyFunceble
from inside the script, it is not working.Examples:
Maybe I forgot to configure something, but I'm still not understanding this issue...
So, does anyone know what am I missing and why it is not working?
Thanks in advance for taking the time to read this issue and for the time you may take to answer this issue.
Have a nice day/night.
Cheers,
Nissar
The text was updated successfully, but these errors were encountered: