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

"legacy Click" is displayed every time I enter a pio command following 5.2.1 upgrade. #4083

Closed
1 task
PuceBaboon opened this issue Oct 18, 2021 · 6 comments
Closed
1 task
Labels
Milestone

Comments

@PuceBaboon
Copy link

  • PlatformIO Core.

NOTE:- This is a -very- minor issue.


Configuration

Operating System

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION="Ubuntu 21.04"
NAME="Ubuntu"
VERSION="21.04 (Hirsute Hippo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 21.04"
VERSION_ID="21.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute

PlatformIO Version (platformio --version):

notadev@castle:~/PlatformIO/ESP32/HB-ESPNow$ platformio --version
legacy Click
PlatformIO Core, version 5.2.1

Description of problem

I did a very minor change to a project this morning, followed by a "pio run" (to make sure I hadn't broken anything). During that run (which was entirely normal) PlatformIO prompted for the 5.2.1 upgrade. I went ahead and upgraded using pip3 -U.

...Building wheels for collected packages: platformio
Building wheel for platformio (setup.py) ... done
Created wheel for platformio: filename=platformio-5.2.1-py3-none-any.whl size=343341 sha256=30a2049ba52252be1ddcbf1f3730207ba9dfeec9436bde4d7816e5e1457e0650
Stored in directory: /root/.cache/pip/wheels/14/28/6c/8a30922e46331a23830bb5a63e77a260faa5efebe21a8025ce
Successfully built platformio
Installing collected packages: platformio
Attempting uninstall: platformio
Found existing installation: platformio 5.2.0
Uninstalling platformio-5.2.0:
Successfully uninstalled platformio-5.2.0
Successfully installed platformio-5.2.1
notadev@castle:~/PlatformIO/ESP32/HB-ESPNow$ pio run -t clean
legacy Click
Please wait while upgrading PlatformIO...
PlatformIO has been successfully upgraded to 5.2.1!

As you can see, as soon as I ran "pio run -t clean" following the installation, I got this enigmatic "legacy Click" message.
I now get that message with every command I run. It doesn't seem to adversely affect anything, as far as I can tell, but it doesn't make much sense, either.

Steps to Reproduce

  1. Upgrade to 5.2.1
  2. Run any pio command (from the command line).

Additional info

VERY LOW PRIORITY
@ivankravets ivankravets added this to the 5.2.2 milestone Oct 19, 2021
@ivankravets
Copy link
Member

Thanks for the issue! Please run pip3 install -U click.

@thisiskeithb
Copy link

Thanks for the issue! Please run pip3 install -U click.

Ran this on macOS Big Sur 11.6 (20G165), VSCode 1.60.2, PIO Core 5.2.1 / Home 3.3.4 and I'm still seeing a legacy Click message on every build/clean action.

@ivankravets
Copy link
Member

@thisiskeithb how did you install PlatformIO? Try to remove ~/.platformio/penv folder and restart VSCode.

@thisiskeithb
Copy link

Try to remove ~/.platformio/penv folder and restart VSCode.

That was it. We usually tell folks to "super delete" their PIO folders when things get really hung up while compiling Marlin, so I probably should have tried that first. Sorry for the noise.

@ivankravets
Copy link
Member

@thisiskeithb sorry, I didn't know that you use VSCode. In your case it was enough to run pip install -U click in PlatformIO Core CLI (within VSCode).

In any case, we will release a new version soon.

@ivankravets ivankravets modified the milestones: 5.2.3, 5.2.2 Oct 19, 2021
@PuceBaboon
Copy link
Author

Fixed with one click! :-)

Many thanks Ivan.

     -John-

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

No branches or pull requests

3 participants