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
Describe the problem
autopkg should always build a recipe map if one is missing.
If an AutoPkg user installs 3.0 RC1 or uses the the dev branch as of this commit: 1831864 if the next thing they do is attempt to run a recipe (a common thing to do with AutoPkg), they are greeted with this error:
Cannot read the recipe map file!
Cannot parse the recipe map - it's either missing or invalid!
Try adding or removing a repo to rebuild it.
AutoPkg output
$ autopkg run GoogleChrome.download
Cannot read the recipe map file!
Cannot parse the recipe map - it's either missing or invalid!
Try adding or removing a repo to rebuild it.
Expected behavior
autopkg should almost never output this error message.
autopkg should always build a recipe map if one doesn't exist.
Version (please complete the following information):
It seems like the error should trigger a build/rebuild of the map and a retry.
This fails to ever list the repos defined even though they are due to the map file error:
python ..\autopkg\Code\autopkg repo-list
Cannot read the recipe map file!
Cannot parse the recipe map - it's either missing or invalid!
Try adding or removing a repo to rebuild it.
then this ends up fixing it, while also giving the info:
python ..\autopkg\Code\autopkg info
Cannot read the recipe map file!
Cannot find or read the recipe map! Creating it now...
Current preferences:
{'RECIPE_REPOS': {'C:\\Users\\jgstew\\Library\\AutoPkg\\RecipeRepos\\com.github.autopkg.hansen-m-recipes': {'URL': 'https://github.com/autopkg/hansen-m-recipes'},
'C:\\Users\\jgstew\\Library\\AutoPkg\\RecipeRepos\\com.github.autopkg.homebysix-recipes': {'URL': 'https://github.com/autopkg/homebysix-recipes'},
'C:\\Users\\jgstew\\Library\\AutoPkg\\RecipeRepos\\com.github.jgstew.jgstew-recipes': {'URL': 'https://github.com/jgstew/jgstew-recipes'}},
'RECIPE_SEARCH_DIRS': ['.',
'~/Library/AutoPkg/Recipes',
'/Library/AutoPkg/Recipes',
'C:\\Users\\jgstew\\Library\\AutoPkg\\RecipeRepos\\com.github.jgstew.jgstew-recipes',
'C:\\Users\\jgstew\\Library\\AutoPkg\\RecipeRepos\\com.github.autopkg.hansen-m-recipes',
'C:\\Users\\jgstew\\Library\\AutoPkg\\RecipeRepos\\com.github.autopkg.homebysix-recipes']}
THIS IS ONLY INTENDED FOR AUTOPKG BETAS.
Describe the problem
autopkg should always build a recipe map if one is missing.
If an AutoPkg user installs 3.0 RC1 or uses the the dev branch as of this commit: 1831864 if the next thing they do is attempt to run a recipe (a common thing to do with AutoPkg), they are greeted with this error:
AutoPkg output
Expected behavior
autopkg should almost never output this error message.
autopkg should always build a recipe map if one doesn't exist.
Version (please complete the following information):
The text was updated successfully, but these errors were encountered: