You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extension version (available under the Extensions sidebar): docker,python,remote developement
OS and version: Pop OS 19.10
Python version (& distribution if applicable, e.g. Anaconda): docker - python 3.69
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): none
Relevant/affected Python packages and their versions: XXX
Relevant/affected Python-related VS Code extensions and their versions: ms-python.python
Expected behaviour
Run / Start Debugging, it works , as it worked before some unknown update for past 6 months.
Why is now ms-python touching locales?
Actual behaviour
File "/home/vscode/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/main.py", line 78, in
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python3.6/locale.py", line 598, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
just try to debug python code inside any ubuntu 18.04lts container (i've used nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04)
Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
XXX
Output from Console under the Developer Tools panel (toggle Developer Tools on under Help; turn on source maps to make any tracebacks be useful by running Enable source map support for extension debugging)
vscode@pop-os:/workspaces/yolo-darknet$ env DEBUGPY_LAUNCHER_PORT=45079 /usr/bin/python3 /home/vscode/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher /workspaces/yolo-darknet/DarknetVideo.py
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/vscode/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/__main__.py", line 78, in <module>
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python3.6/locale.py", line 598, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Environment data
Expected behaviour
Run / Start Debugging, it works , as it worked before some unknown update for past 6 months.
Why is now ms-python touching locales?
Actual behaviour
File "/home/vscode/.vscode-server/extensions/ms-python.python-2020.3.69010/pythonFiles/lib/python/debugpy/no_wheels/debugpy/launcher/main.py", line 78, in
locale.setlocale(locale.LC_ALL, "")
File "/usr/lib/python3.6/locale.py", line 598, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]
just try to debug python code inside any ubuntu 18.04lts container (i've used nvidia/cuda:10.2-cudnn7-devel-ubuntu18.04)
Logs
Output for
Python
in theOutput
panel (View
→Output
, change the drop-down the upper-right of theOutput
panel toPython
)Output from
Console
under theDeveloper Tools
panel (toggle Developer Tools on underHelp
; turn on source maps to make any tracebacks be useful by runningEnable source map support for extension debugging
)The text was updated successfully, but these errors were encountered: