Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ocstx opened this issue Feb 14, 2021 · 3 comments

Comments

@ocstx
Copy link

ocstx commented Feb 14, 2021

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
Copy link
Author

ocstx commented Feb 17, 2021

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
Copy link
Member

th3coop commented Feb 18, 2021

Glad you found a workaround @ocstx.

@th3coop th3coop added this to the Backlog milestone Feb 18, 2021
@ocstx
Copy link
Author

ocstx commented Feb 19, 2021

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants