-
Notifications
You must be signed in to change notification settings - Fork 33
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
Local Template Cannot Be Found in 3.5.0, able to 3.4.3 #331
Comments
Thanks for the report. Did you happen to use the early access flag at all before this? We have an attempted fix in #321 . |
Im not sure what you meant by adding the "early access flag," so attached is fresh install of pros==3.5.0, using --disable-early-access and --early-access flags when building the new project, sorry if i misunderstood something both still fail
seems like conductor fetch is not putting the files in the right place |
I believe this bug to be addressed in #321. If possible, could you test this for us? Reproduction of the bug has proven difficult on our end. Steps:
|
furthest i could get without intervention, has this to do with my environment? I have added the .zshrc contents, and the python version is gloabaly added to PATH |
Expected Behavior:
pros c fetch ARMS@3.2.0.zip
pros c apply ARMS@3.2.0
successfully applies template to project
Actual Behavior:
pros c fetch ARMS@3.2.0.zip
sucessfull
pros c query-templates
does not include ARMS
{'name': 'okapilib', 'version': '5.0.0', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': True} {'name': 'okapilib', 'version': '4.8.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.7.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.6.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.5.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.4.1', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.4.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.3.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.2.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.1.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.5', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.4', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.3', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.2', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.1', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '8.3.7', 'location': 'kernel-beta-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '8.3.6', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': True} {'name': 'liblvgl', 'version': '8.3.3', 'location': 'kernel-beta-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '8.3.2', 'location': 'kernel-beta-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '8.3.0', 'location': 'kernel-beta-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '5.3.3', 'location': 'kernel-beta-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '4.0.6', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': True} {'name': 'kernel', 'version': '4.0.5', 'location': 'kernel-beta-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '4.0.4', 'location': 'kernel-beta-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '4.0.3', 'location': 'kernel-beta-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '4.0.0', 'location': 'kernel-beta-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.8.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.7.3', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.7.2', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.7.1', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.7.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.6.2', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.6.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.5.4', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.5.3', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.5.2', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '2.12.2', 'location': 'pros-mainline', 'target': 'cortex', 'local': False}
pros c apply ARMS@3.2.0
raises
pros.conductor.project.template_resolution.InvalidTemplateException: Could not find a template satisfying ARMS@>=0 (BaseTemplate) for v5
downgrades to pros-cli==3.4.3
after fetching,
pros c query-templates
gives
{'name': 'okapilib', 'version': '5.0.0', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.8.0', 'location': 'pros-mainline', 'target': 'v5', 'local': True} {'name': 'okapilib', 'version': '4.7.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.6.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.5.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.4.1', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.4.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.3.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.2.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.1.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.5', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.4', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.3', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.2', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'okapilib', 'version': '4.0.1', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '8.3.6', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '8.3.3', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '8.3.2', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '8.3.0', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'liblvgl', 'version': '5.3.3', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '4.0.6', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '4.0.5', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '4.0.4', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '4.0.3', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '4.0.0', 'location': 'kernel-early-access-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.8.0', 'location': 'pros-mainline', 'target': 'v5', 'local': True} {'name': 'kernel', 'version': '3.7.3', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.7.2', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.7.1', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.7.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.6.2', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.6.0', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.5.4', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.5.3', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '3.5.2', 'location': 'pros-mainline', 'target': 'v5', 'local': False} {'name': 'kernel', 'version': '2.12.2', 'location': 'pros-mainline', 'target': 'cortex', 'local': False} {'name': 'LemLib', 'version': '0.4.7', 'location': 'local', 'target': 'v5', 'local': True} {'name': 'ARMS', 'version': '3.2.0', 'location': 'local', 'target': 'v5', 'local': True}
pros c apply ARMS@3.2.0
properly gives
Updating kernel-early-access-mainline... Done Updating pros-mainline... Done Applying ARMS@3.2.0 [####################################] 100% Finished applying ARMS@3.2.0 to /auton
(notice the last line of the 3.4.3 output has ARMS, but the 3.5.0 does not)
Steps to reproduce:
install
pros-cli
withpip install pros-cli==3.5.0
download ARMS@3.2.0.zip from here
pros c new-project ./auton v5 3.8.0
mv
ARMS@3.2.0.zip to project foldercd
project folderin project folder,
pros c fetch ARMS@3.2.0.zip
in project folder,
pros c apply ARMS@3.2.0
this line fails
pip uninstall pros-cli
pip install pros-cli==3.4.3
pros c fetch ARMS@3.2.0.zip
pros c apply ARMS@3.2.0
this works now
System information:
Operating System:
OSX 14.3
python==3.10.13
PROS Version:
pros, version 3.5.0
Additional Information
Screenshots/Output Dumps/Stack Traces
The text was updated successfully, but these errors were encountered: