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
Clone autopkg repo, switch to dev branch, install dependancies, then try to run anything or do anything that would create autopkg recipe map file.
Like: jgstew@jgstews-iMac autopkg % python3 ./Code/autopkg info
Preferences contents BE SURE TO SANITIZE ANY SENSITIVE DATA SUCH AS PASSWORDS OR ADDRESSES.
Not applicable, none created yet.
AutoPkg output BE SURE TO SANITIZE ANY SENSITIVE DATA SUCH AS PASSWORDS OR ADDRESSES.
jgstew@jgstews-iMac autopkg % python3 ./Code/autopkg info
/Users/jgstew/Library/Python/3.9/lib/python/site-packages/urllib3/__init__.py:34: NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
warnings.warn(
Cannot read the recipe map file!
Cannot find or read the recipe map! Creating it now...
Traceback (most recent call last):
File "/Users/jgstew/Projects/autopkg/./Code/autopkg", line 2725, in <module>
sys.exit(main(sys.argv))
File "/Users/jgstew/Projects/autopkg/./Code/autopkg", line 2721, in main
return subcommands[verb]["function"](argv)
File "/Users/jgstew/Projects/autopkg/./Code/autopkg", line 893, in get_info
read_recipe_map(rebuild=True)
File "/Users/jgstew/Projects/autopkg/Code/autopkglib/__init__.py", line 428, in read_recipe_map
calculate_recipe_map()
File "/Users/jgstew/Projects/autopkg/Code/autopkglib/__init__.py", line 344, in calculate_recipe_map
write_recipe_map_to_disk()
File "/Users/jgstew/Projects/autopkg/Code/autopkglib/__init__.py", line 384, in write_recipe_map_to_disk
with open(DEFAULT_RECIPE_MAP, "w") as f:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/jgstew/Library/AutoPkg/recipe_map.json'
Expected behavior
Running mkdir ~/Library/AutoPkg fixes the issue.
I'd expect AutoPkg to create this directory if it does not exist, rather than throwing an error.
Version (please complete the following information):
OS version: MacOS 13.6
AutoPkg Version: 3.0.0 dev branch
I was NOT running AutoPkg by installing the PKG.
The text was updated successfully, but these errors were encountered:
THIS IS ONLY INTENDED FOR AUTOPKG BETAS.
Describe the problem
Clone autopkg repo, switch to dev branch, install dependancies, then try to run anything or do anything that would create autopkg recipe map file.
Like:
jgstew@jgstews-iMac autopkg % python3 ./Code/autopkg info
Preferences contents
BE SURE TO SANITIZE ANY SENSITIVE DATA SUCH AS PASSWORDS OR ADDRESSES.
Not applicable, none created yet.
AutoPkg output
BE SURE TO SANITIZE ANY SENSITIVE DATA SUCH AS PASSWORDS OR ADDRESSES.
Expected behavior
Running
mkdir ~/Library/AutoPkg
fixes the issue.I'd expect AutoPkg to create this directory if it does not exist, rather than throwing an error.
Version (please complete the following information):
I was NOT running AutoPkg by installing the PKG.
The text was updated successfully, but these errors were encountered: