Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Deprecate #9

Open
jonbrown21 opened this issue Jul 26, 2018 · 0 comments
Open

Issue with Deprecate #9

jonbrown21 opened this issue Jul 26, 2018 · 0 comments

Comments

@jonbrown21
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant