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

Error during cci task run retrieve_changes #3770

Open
waltonzt opened this issue Apr 10, 2024 · 1 comment
Open

Error during cci task run retrieve_changes #3770

waltonzt opened this issue Apr 10, 2024 · 1 comment
Labels

Comments

@waltonzt
Copy link

Describe the bug

I was working through getting CumulusCI setup when I ran across this issue with the command cci task run retrieve_changes --path unpackaged/config/dev --org dev.

I have tried to uninstall/reinstall cumulus, python, pipx, and sf cli without any luck.

Reproduction steps

  1. Create org with cci org info dev
  2. Make some change in org.
  3. Run cci task run retrieve_changes --path unpackaged/config/dev --org dev to get the change.
  4. Receive error

Your CumulusCI and Python versions

CumulusCI version: 3.86.0 (c:\users\zw\.local\bin\cci)
Python version: 3.12.3 (C:\Users\zw\pipx\venvs\cumulusci\Scripts\python.exe)

Operating System

Windows 11

Windows environment

PowerShell

CumulusCI installation method

pipx

Error Gist

https://gist.github.com/waltonzt/56e308acb72880c03a280dc12ada2e4d

Additional information

No response

@waltonzt waltonzt added the bug label Apr 10, 2024
@waltonzt
Copy link
Author

waltonzt commented Apr 11, 2024

I believe this is due to a misunderstanding on my part.

I was referring to the documentation https://cumulusci.readthedocs.io/en/stable/unpackaged.html where I found the command cci task run retrieve_changes --path unpackaged/config/qa --namespace_tokenize npsp to retrieve unpackaged metadata.

When the --path is set it looks like it uses that value as the root directory when running sfdx force:mdapi:convert

So when I run
cci task run retrieve_changes --path unpackaged/config/dev --org dev

I see in the output that cumulusci tries to run the command
sfdx force:mdapi:convert -r C:\Users\zw\repos\a\unpackaged\config\dev -d force-app

Since there is nothing in the -r folder it gives an error. When I run retreieve_changes without a --path it works fine but it adds it to the force-app folder.

Is what I am explaining expected behavior?

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

1 participant