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

ESP-IDF installation downloading forbidden pyparsing package 3.0.9 (VSC-1199) #1054

Closed
1 task done
KonssnoK opened this issue Sep 28, 2023 · 4 comments
Closed
1 task done
Assignees
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)

Comments

@KonssnoK
Copy link

OS

Windows

Operating System version

Win11

Visual Studio Code version

No response

ESP-IDF version

4.4.6

Python version

3.11

Doctor command output

pip version: 23.1.2
pycparser version: 2.21
pyelftools version: 0.29
pygdbmi version: 0.9.0.2
Pygments version: 2.15.1
pyparsing version: 3.0.9
pyserial version: 3.5
pywin32 version: 306
PyYAML version: 6.0
reedsolo version: 1.5.4
requests version: 2.31.0

Extension

No response

Description

ERROR: failed to parse C:/Users/r/esp/ESP-IDF/components/esp_event/linker.lf
Expected end of text, found 'i'  (at char 0), (line:1, col:1)
ninja: build stopped: subcommand failed.

Couldn't link anymore, found
#32

Check packages with
C:\src\espressif\.espressif\python_env\idf4.4_py3.11_env\Scripts\pip.exe list

find out that pyparsing is at 3.0.9.

Try to run
ESP-IDF : Configure ESP-IDF extension

Doesn't start because

The following Python requirements are not satisfied:
Requirement 'pyparsing<2.4.0,>=2.0.3' was not met. Installed version: 3.0.9
To install the missing packages, please run "C:/src/esp-idf/install.bat"
Diagnostic information:

Manually rollback the package

C:\src\espressif\.espressif\python_env\idf4.4_py3.11_env\Scripts\pip.exe uninstall pyparsing
C:\src\espressif\.espressif\python_env\idf4.4_py3.11_env\Scripts\pip.exe install pyparsing==2.3.0

Restart VSCODE,
Run
ESP-IDF : Configure ESP-IDF extension

now the extension is rendered.

Click on "use current installation"

image

Script runs and in the terminal i see

Requirement already satisfied: MarkupSafe>=2.0 in c:\src\espressif\.espressif\python_env\idf4.4_py3.11_env\lib\site-packages (from jinja2->gcovr->-r c:\Users\NR6085\.vscode\extensions\espressif.esp-idf-extension-1.6.4\requirements.txt (line 1)) (2.1.3)
Installing collected packages: pyparsing
Attempting uninstall: pyparsing
Found existing installation: pyparsing 2.3.0
Uninstalling pyparsing-2.3.0:
Successfully uninstalled pyparsing-2.3.0
Successfully installed pyparsing-3.0.9

image

Somebody updated packages without checking for regressions

Debug Message

?

Other Steps to Reproduce

No response

I have checked existing issues, online documentation and the Troubleshooting Guide

  • I confirm I have checked existing issues, online documentation and Troubleshooting guide.
@KonssnoK KonssnoK added the bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue) label Sep 28, 2023
@github-actions github-actions bot changed the title ESP-IDF installation downloading forbidden pyparsing package 3.0.9 ESP-IDF installation downloading forbidden pyparsing package 3.0.9 (VSC-1199) Sep 28, 2023
@radurentea
Copy link
Collaborator

radurentea commented Oct 2, 2023

Hi @KonssnoK,

This issue has been fixed in this PR and it will be available on next release of the extension.

Meanwhile, you can try installing the extension using one of these:
esp-idf-extension.vsix.zip
esp-idf-extension-open.vsix.zip

For more background of the fix and guidance on how install via vsix, check this #1040

@radurentea radurentea self-assigned this Oct 2, 2023
@brianignacio5
Copy link
Collaborator

Any updates @KonssnoK ?

@KonssnoK
Copy link
Author

@brianignacio5 was the new release released?
what i did was to manually replace the package, then i didnt have time to test the zips.

@radurentea
Copy link
Collaborator

Hi @KonssnoK,

It has been released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Bug Report from users on Github (don't use this tag manually, its supposed to be used via the issue)
Projects
None yet
Development

No branches or pull requests

3 participants