[BUG] stderr duplication failed
See original GitHub issuesetuptools version
setuptools==56.0.0
Python version
Python 3.9
OS
Windows
Additional environment information
No response
Description
I use gui_scripts
with a blank function. If i use pip install -e .
or py setup.py install
nothing happens, as expected. If i do pip install .
or use setup.py to make a binary dist then install it, i get stderr duplication failed
in a prompt. This happens before any code gets run.
Expected behavior
Nothing
How to Reproduce
# setup.py
from setuptools import setup
setup(
name="test",
packages=["test"],
entry_points={
"gui_scripts": [
"test-script=test:main"
]
}
)
# test/__init__.py
def main():
pass
Run above commands
Output
Code of Conduct
- I agree to follow the PSF Code of Conduct
Issue Analytics
- State:
- Created 2 years ago
- Comments:133 (57 by maintainers)
Top Results From Across the Web
duplication of messages in stderr and stdout python logging
My question is how to make the message not repeat itself ? I want ERROR on strerr and INFO on stdout. python ·...
Read more >Issue 13582: IDLE and pythonw.exe stderr problem
Running IDLE using python.exe will display a traceback in the console, but IDLE keeps running. However, IDLE won't even bring up a window...
Read more >1204488 – report rpm errors to stderr and log file
Running transaction Failed to obtain the transaction lock (logged in as: root). Error: Could not run transaction. If not 'root', what the heck...
Read more >36437: problem with STDERR and STDOUT redirection
This throws our error-reporting out big-time as not only is the first line interrupted by this block of stderr, the block of stderr...
Read more >Troubleshooting AWS IoT Greengrass V2
This error typically occurs if your device doesn't have sufficient memory to allocate an object in the Java heap. On devices with limited...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just waiting for a response from @rayzchen (and anyone else) and then I should be able to cut a release soon after that.
Thanks @cbrnr and @carlkl for redoing the tests. Looking promising 🤞