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

inspec : Cannot process the XML from the 'Error' stream of 'C:\opscode\inspec\bin\inspec.bat': Data at the root level is invalid. Line 1, position 1. #6589

Open
johnkubik opened this issue Aug 2, 2023 · 1 comment

Comments

@johnkubik
Copy link

johnkubik commented Aug 2, 2023

Running inspec exec on my vmware instances results in:
inspec : Cannot process the XML from the 'Error' stream of 'C:\opscode\inspec\bin\inspec.bat': Data at the root level is invalid. Line 1, position 1.

Describe the problem

Any time I run the inspec against any targest i get an XML error.

This is on windows 2019 inspe -v: 5.22.3

I looked all over and cant find a way to fix this.

@clintoncwolfe
Copy link
Contributor

How have you installed InSpec - from Chef Workstation or from the individual InSpec MSI package? This could be a packaging issue, but it seems unlikely.

How are you running inspec? Is this directly from the CLI? Could you paste the full invocation you are running?

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

2 participants