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

fish: unable to run export.fish due to python error (IDFGH-14264) #15058

Open
3 tasks done
xobs opened this issue Dec 19, 2024 · 2 comments
Open
3 tasks done

fish: unable to run export.fish due to python error (IDFGH-14264) #15058

xobs opened this issue Dec 19, 2024 · 2 comments
Assignees
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Type: Bug bugs in IDF

Comments

@xobs
Copy link
Contributor

xobs commented Dec 19, 2024

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.5-dev-847-gcb3ac7429c

Operating System used.

macOS

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

What is the expected behavior?

I should be able to run . export.fish

What is the actual behavior?

❯ . export.fish
Checking "python3" ...
Python 3.13.0
python3 has been detected
env: python: No such file or directory
❯

Steps to reproduce.

  1. Run install.fish
  2. Run . export.fish

Build or installation Logs.

No response

More Information.

No response

@xobs xobs added the Type: Bug bugs in IDF label Dec 19, 2024
@xobs
Copy link
Contributor Author

xobs commented Dec 19, 2024

This patch fixes the issue:

diff --git a/export.fish b/export.fish
index e2d9600021..5114f33f59 100644
--- a/export.fish
+++ b/export.fish
@@ -25,5 +25,5 @@ end

 source "$idf_path"/tools/detect_python.fish

-eval ("$idf_path"/tools/activate.py --export)
+eval ("$ESP_PYTHON" "$idf_path"/tools/activate.py --export)
 set -e idf_path

@github-actions github-actions bot changed the title fish: unable to run export.fish due to python error fish: unable to run export.fish due to python error (IDFGH-14264) Dec 19, 2024
@espressif-bot espressif-bot added the Status: Opened Issue is new label Dec 19, 2024
@mfialaf
Copy link
Collaborator

mfialaf commented Dec 19, 2024

Hi @xobs,
thank you for noticing this. I'll take a look and follow up soon.

@espressif-bot espressif-bot added Status: In Progress Work is in progress Status: Reviewing Issue is being reviewed Status: Done Issue is done internally Resolution: NA Issue resolution is unavailable and removed Status: Opened Issue is new Status: In Progress Work is in progress Status: Reviewing Issue is being reviewed labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: NA Issue resolution is unavailable Status: Done Issue is done internally Type: Bug bugs in IDF
Projects
None yet
Development

No branches or pull requests

3 participants