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
With Munki 3.X versions spruce is triggering many errors when using Deprecate where with older versions of munki it seemed to work fine. I did a little digging and it seems like its related to the near deprecation of the use of repo_path
Or I could be doing something wrong.
./spruce deprecate --auto 3 Traceback (most recent call last): File "./spruce", line 158, in <module> main() File "./spruce", line 43, in main args.func(args) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/deprecate.py", line 48, in deprecate repo = Repo(cache) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 48, in __init__ app.add_dependencies(self) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 212, in add_dependencies version.add_dependencies(repo) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 322, in add_dependencies self.name, name, version)) IndexError: tuple index out of range
./spruce name works fine
./spruce report gives me the same errors
Traceback (most recent call last): File "./spruce", line 158, in <module> main() File "./spruce", line 43, in main args.func(args) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/report.py", line 350, in run_reports expanded_cache, errors = build_expanded_cache() File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/report.py", line 397, in build_expanded_cache expanded_cache["repo_data"] = Repo(expanded_cache["pkgsinfo"]) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 48, in __init__ app.add_dependencies(self) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 212, in add_dependencies version.add_dependencies(repo) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 322, in add_dependencies self.name, name, version)) IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered:
With Munki 3.X versions spruce is triggering many errors when using Deprecate where with older versions of munki it seemed to work fine. I did a little digging and it seems like its related to the near deprecation of the use of repo_path
Or I could be doing something wrong.
./spruce deprecate --auto 3 Traceback (most recent call last): File "./spruce", line 158, in <module> main() File "./spruce", line 43, in main args.func(args) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/deprecate.py", line 48, in deprecate repo = Repo(cache) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 48, in __init__ app.add_dependencies(self) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 212, in add_dependencies version.add_dependencies(repo) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 322, in add_dependencies self.name, name, version)) IndexError: tuple index out of range
./spruce name works fine
./spruce report gives me the same errors
Traceback (most recent call last): File "./spruce", line 158, in <module> main() File "./spruce", line 43, in main args.func(args) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/report.py", line 350, in run_reports expanded_cache, errors = build_expanded_cache() File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/report.py", line 397, in build_expanded_cache expanded_cache["repo_data"] = Repo(expanded_cache["pkgsinfo"]) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 48, in __init__ app.add_dependencies(self) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 212, in add_dependencies version.add_dependencies(repo) File "/Users/serveradmin/Desktop/Repo/tools/Spruce-for-Munki/spruce_tools/repo.py", line 322, in add_dependencies self.name, name, version)) IndexError: tuple index out of range
The text was updated successfully, but these errors were encountered: