PMM recipe errors out "cannot represent an object"
Opened this issue · 3 comments
Recipe Name
Which recipe were you attempting to run? Please provide a link to the particular file, if possible.
pmm\pmm_1_program-service.recipe.yml
Describe the bug
When I run the recipe I get this error:
Error: ('cannot represent an object', <snowfakery.object_rows.LazyLoadedObjectReference object at 0x000001E260B46B20>)
Environment
Platform: PC
In VSCode: Yes
If yes, did you run the command from the Palette or Terminal: terminal
CCI Version: 3.60.0
Python Version: 3.9.7
Org Setup
- this is in a sandbox with NPSP and PMM
- also tried in a scratch org (with the dev org configuration and PMM)
To Reproduce
- Run
cci task run snowfakery --recipe datasets\npsp\pmm_1_program-service.recipe.yml
Expected behavior
- recipe runs without error
Actual behavior
- recipe errors out
Additional context
- CCI Error Gist
- running
snowfakery datasets\npsp\pmm_1_program-service.recipe.yml
does generate data.
This issue is related to the discussion topic here: #144 (comment)
That looks like a Snowfakery/CCI bug, TBH.
Based on the traceback I believe a workaround is to run with the simpler generate_and_load_from_yaml
command which is slower, simpler, and for the time being sometimes more reliable by virtue of its simpler code.