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
# Note (fabioz): although I can replicate this by creating a file ending as
# .zip! or .egg!, I don't really know what's the real-world case for this
# (still kept as it was added by @jetbrains, but it should probably be reviewed
# later on).
# Note 2: it goes hand-in-hand with 'exists'.
inner_path=inner_path[1:]
zip_path=zip_path+'!'
_apply_func_and_normalize_case turns the path /Users/russau/verytemp/python-test/.zipx/main.py into /Users/russau/verytemp/python-test/.zip/x/main.py. I'm not familiar with the code, I guess it supports a "code in a zip file" feature. Maybe the fix is to test if the filename exists before entering into the "inside a zip file" logic?
Thanks all!
The text was updated successfully, but these errors were encountered:
I can reproduce this in VSCode with ms-python.python extension installed
If I create a file
.zipx/main.py
I see errors in the debugger logI've traced it to this line of code detecting the ".zip" in the folder name
PyDev.Debugger/pydevd_file_utils.py
Lines 489 to 503 in 47300e0
_apply_func_and_normalize_case
turns the path/Users/russau/verytemp/python-test/.zipx/main.py
into/Users/russau/verytemp/python-test/.zip/x/main.py
. I'm not familiar with the code, I guess it supports a "code in a zip file" feature. Maybe the fix is to test if the filename exists before entering into the "inside a zip file" logic?Thanks all!
The text was updated successfully, but these errors were encountered: