You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/09/30 14:31:49 UTC
[GitHub] [airflow] ashb commented on issue #26802: pdb no longer works with airflow test command since 2.3.3
ashb commented on issue #26802:
URL: https://github.com/apache/airflow/issues/26802#issuecomment-1263653397
Minimal repro:
```python
from contextlib import redirect_stdout
from airflow.utils.log.secrets_masker import RedactedIO
with redirect_stdout(RedactedIO()):
breakpoint()
...
```
```
airflow ❯ python testredir.py
[0] > /home/ash/code/astro/upgrade-test-project/testredir.py(7)<module>()
-> ...
Traceback (most recent call last):
File "/home/ash/code/astro/upgrade-test-project/testredir.py", line 7, in <module>
...
File "/home/ash/code/astro/upgrade-test-project/testredir.py", line 7, in <module>
...
File "/usr/lib/python3.10/bdb.py", line 90, in trace_dispatch
return self.dispatch_line(frame)
File "/usr/lib/python3.10/bdb.py", line 114, in dispatch_line
self.user_line(frame)
File "/usr/lib/python3.10/pdb.py", line 262, in user_line
self.interaction(frame, None)
File "/home/ash/.virtualenvs/airflow/lib/python3.10/site-packages/pdb.py", line 231, in interaction
self._cmdloop()
File "/usr/lib/python3.10/pdb.py", line 322, in _cmdloop
self.cmdloop()
File "/usr/lib/python3.10/cmd.py", line 126, in cmdloop
line = input(self.prompt)
TypeError: 'NoneType' object cannot be interpreted as an integer
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org