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
When I launch a new terminal in vscode, my .env variables are incorrectly read.
Steps to reproduce:
Use the following env variable ORACLE_DB_CONN_STR=oracle+oracledb://user:password@(DESCRIPTION=(LOAD_BALANCE=on)(FAILOVER=ON)...)
When you launch a terminal you can see that it was read as ORACLE_DB_CONN_STR=oracle+oracledb://user:password@(DESCRIPTION
I tried to load the same env var with django-environ, python-dotenv and they are working fine if there is no auto-load from the python extension.
I tried escaping.
My app works totally fine when I disable auto-loading of env variables with "python.envFile": "", in my settings.json file.
When the env variable is exported incorrectly during the terminal launch, it's also causing my application to fail. Basically django-environ is reading the already incorrectly exported value.
Type: Bug
Behaviour
When I launch a new terminal in vscode, my .env variables are incorrectly read.
Steps to reproduce:
ORACLE_DB_CONN_STR=oracle+oracledb://user:password@(DESCRIPTION=(LOAD_BALANCE=on)(FAILOVER=ON)...)
ORACLE_DB_CONN_STR=oracle+oracledb://user:password@(DESCRIPTION
django-environ
,python-dotenv
and they are working fine if there is no auto-load from the python extension."python.envFile": "",
in my settings.json file.launch.json
configurationExtension version: 2024.10.0
VS Code version: Code 1.93.1 (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Linux x64 6.10.10-arch1-1
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: