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
[v5.1][idf.py] getidf: @click.option('-C', '--project-dir', default=os.getcwd(), type=click.Path()) No such file or directory (IDFGH-10210) #11476
Comments
Solution: Fixed by closing Terminal and reopening it. I'll leave this issue open for others to find. Hopefully we can determine root cause. |
By If you get this the next time I would suggest to run If you get this again then we can re-open it. For now, I don't think others would be affected. We haven't changed anything related to this for quite long time. So I'm closing this. |
To reproduce:
not sure we need to fix this, though: a lot of other programs also misbehave the same way when you yank the CWD... |
yes
yes. I think that is fair. I don't think I would fix it either. But I always file for google-ability! |
Yes, you are right @igrr. I can reproduce that way. Than running anything produces the same issue:
|
cmake does log a nice error message though ;) that said backtraces are usually more useful. Maybe "os.getcwd failed. Has the current directory been deleted?" The odd thing was that my current directory was not deleted. I confirmed. It existed in Finder. So it could have been a terminal bug. It was strange. |
It is interesting that
So I guess any fix could be done only at We will take a closer look at this. |
Added check for existence of current working directory when using idf.py Closes #11476
Added check for existence of current working directory when using idf.py Closes #11476
IDF version.
release/v5.1
Operating System used.
macOS 13.3.1
How did you build your project?
Command line with idf.py
What is the expected behavior?
I am trying to run get_idf
What is the actual behavior?
It completes, but then crashes.
Steps to reproduce.
Not entirely sure, It was not doing this before. It happend after I emptied my trash bin, I think. Or maybe i trashed trying to fix something related to this. Hard to remember.
Build or installation Logs.
More Information.
Every command is hitting this issue right now. I've cleaned /build manually, but still same issue.
The text was updated successfully, but these errors were encountered: