You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import recipe from a json file and it doesn't work.
I tried to export an existing recipe so I get a the valid json format Tandoor is using, then I copy paste the json into the import field in Tandoor (Import Recipe > Source) but it doesn't work neither.
Here is an example of a json file I exported (so good json format) and I can't import it into Tandoor.
I have this error in the logs:
Jan 06 15:13:37Traceback (most recent call last):
Jan 06 15:13:37File "/app/code/tandoor/cookbook/helper/recipe_url_import.py", line 203, in get_from_scraper
Jan 06 15:13:37recipe_json['properties'] = get_recipe_properties(request.space, scrape.schema.nutrients())
Jan 06 15:13:37File "/app/code/.venv/lib/python3.10/site-packages/recipe_scrapers/_schemaorg.py", line 208, in nutrients
Jan 06 15:13:37for key, val in nutrients.copy().items():
Jan 06 15:13:37AttributeError: 'NoneType' object has no attribute 'copy'
Any idea ? Is there something I'm doing wrong ?
The text was updated successfully, but these errors were encountered:
I'm trying to import recipe from a json file and it doesn't work.
I tried to export an existing recipe so I get a the valid json format Tandoor is using, then I copy paste the json into the import field in Tandoor (Import Recipe > Source) but it doesn't work neither.
Here is an example of a json file I exported (so good json format) and I can't import it into Tandoor.
I have this error in the logs:
Any idea ? Is there something I'm doing wrong ?
The text was updated successfully, but these errors were encountered: