pdb unusable due to invisible stdout
See original GitHub issueSystem information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 18.04
- Ray installed from (source or binary): source
- Ray version: 0.6.3@3a66d47a3a4b3fc31f82eb26fdff2ea282f85e1b
- Python version: 3.6
- Exact command to reproduce:
- Set ipdb trace (
import ipdb; ipdb.set_trace()
) somewhere in the tune logging example, for example here: https://github.com/ray-project/ray/blob/aad48ee5a50e3afa13239fbed895e58f0b21811f/python/ray/tune/examples/logging_example.py#L39 - Run the logging example, e.g.
python ${RAY_PATH}/python/ray/tune/examples/logging_example.py
- Set ipdb trace (
Describe the problem
In the latest master, stdout somehow gets handled incorrectly, thus making pdb unusable. This happens at least for trainables run with tune.run_experiments
. Things work fine before https://github.com/ray-project/ray/commit/ef527f84abf0cee7ac6ad832828ff92311440ee4.
Issue Analytics
- State:
- Created 5 years ago
- Comments:17 (10 by maintainers)
Top Results From Across the Web
best way to deal with python pdb flakiness re/stdout?
This answer is just to supplement Ned's, as a way of wrapping the pdb.py main() function in a manner which doesn't require copying...
Read more >2 Creating and Configuring an Oracle Database
Open a command window. Note: Use this command window for the subsequent steps. Set the ORACLE_SID environment variable. Restrictions related ...
Read more >Oracle 12c: SEED (PDB$SEED) pluggable database is in ...
In a real time scenario, the seed pluggable database may become unusable due to a number of unforeseen reasons. ##--- ##--- deleting system ......
Read more >The new AutoUpgrade utility in Oracle 19c - Mike.Dietrich
What is the AutoUpgrade? The Oracle Database AutoUpgrade utility is a new tiny little command line tool which allows you to upgrade your ......
Read more >doctest — Test interactive Python examples — Python 3.11.1 ...
and a detailed report of all examples tried is printed to standard output, ... might depend on resources which would be unavailable to...
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
Can we actually make this issue a high priority?
In a separate project I’m working on, it’s incredibly hard to debug things now… (this is not specific to Tune)
That’s true, if Tune supported
local_mode=True
, then it would just work out of the box. The relevant issue is https://github.com/ray-project/ray/issues/2796.