Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.14k stars 299 forks source link

Komodo Ide cannot load URI when is located in a directori containing accents "`" in the name #3923

Open ocstx opened 3 years ago

ocstx commented 3 years ago

Short Summary

My organization OneDrive folder is named "OneDrive - Universitat Autònoma de Barcelona" and here is where I have all my working documents. When I debug a python script inside there is an error, Komodo cannot access the file because it has changed the letter "ò" to something different, then it asks me to map to seme other drive. Which it does not work because the only thing I can do is to privide a symbòlic link but it then it complains because it is a symbolic link. PS: Yes I know, the name was for sure not chosen by someone who deals with comptuer systems everyday.

Steps to Reproduce

Load a file in a directori Called "Universitat autònoma de barcelona" and try to debug it

Expected results

It runs

Actual results

It complains about don't finding the file

Platform Information

Komodo Edit or IDE? Komodo IDE, version 12.0.1, build 91869, platform macosx. Built on Mon Feb 10 19:05:50 2020. Komodo Version? Komodo IDE, version 12.0.1, build 91869, platform macosx. Built on Mon Feb 10 19:05:50 2020. Operating System (and version)? MacOSX Big sur 11.2.1

Additional Information

ocstx commented 3 years ago

I found a workaround on this, but It is very weird (at least to me). When the error dialog appears and ask for mapping say yes Note: You can see that the character with an accent has been changed to another none text character or to several characters. then press the "Local" button select exactly the same folder (yes the same, with the accents) and it works I also have gone to preferences and modified the mapping so insted to map the subfolder I'm just mapping the folder with accents and it works too. Sometimes a second error is generated, this time you can see the character with an accent has been changed to another different than the first time. Say yes to mapping and repeat the operation with this new character. It works I believe this is a thing of how the debugger handles de filenames. I have observed that without mapping anything if I just "run" the script (without debugging or stops) it runs without a problem. please see the image regarding the mappings:

th3coop commented 3 years ago

Glad you found a workaround @ocstx.

ocstx commented 3 years ago

Sorry, the workaround does not work. "step into" is the only thing that I tested in python and the workaround works. But it does not work when you put a stop in the code and press "Start or continue debugging". The script continues until the end totally ignoring the stop. In perl, is the same "step into" works, but not "Start or continue debugging"