vmware / vmware/pyvmomi

ParseError when accessing vm.config

Open
#283 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs verification
Dominant language
Python
Stars
2.3k
Forks
763
PR merge metrics
No merged PRs in 30d

Description

vm = get_obj(self.content, [vim.VirtualMachine], "test1234")
print vm
print vm.config

=>
'vim.VirtualMachine:vm-153'
[...]
pyVmomi.SoapAdapter.ParserError: 'xml document: \x1f\x8b\x08\x00\x00\x00\x00\x00\x00\x03\xd5\x1b]s\xe3\xb8\xed\xfd~\x85&Ow\x0f\xb2>-\xcb\xaeV7\x89\x93\xedfv\xb3\xc9\xc4I\xae\xd3N\xa7CK\xb4\xadF\x12U\x91R\xe2\xfe\xfa\x82\xa2>m\xd9\x91\xf7\x92\xbb\xe9\x8c'\x11\x01\x90\x00\x01\x10\x04!\xca\xf9\xf55\n\xa5\x1c\xa74 \xf1\xa73m\xa4\x9eI8\xf6\x88\x1f\xc4\xebOg\x8f\x0f\x9fe\xfb\xecW\xf7'\x87\x12\x94\xe08\x9f]\xc59\x0eI\x82%\xe8\x16\xd3\x99\x00{\x9f\xce6\x8c%3E\xa1\xde\x06G\x88\x8e\x00\xcbQ#\x92\xae\x15\xfe\xa0Tc_g?u\xba\xe6C\xba\n\x96M\xd7W\xea\xd7\xdd^^^F/FA\xad\xab\xaa\xa6\xfc\xed\xe6\xdb\xa2\x18\xa9E\x1d\xbcM-\x071e(\xf6\xf0Yk\xb2\x17\xc4\xdfB\xf3\x1e\xb34\xc09\xbeKA\x8a\x94\x05\x98^\xbd\xdec\x9a\x90\x98\x96z\xf8t\x96\xa5\xf1,\x0f"}|\xe6:)f\xd0\xccQ\xe8:d\xf9o\xec1Z<Hl\x9b\xe0OgOA\xca2\x14\xde o\x13\xc4\xc0.\x8fdml8\nP\xb8N\x02,\x16\x98\xb9N\x8c"\xecz$^\x05kG)\x1a\x0e\x0c(\xc1\f}\xc3\xcc\x0b\xca\xebxE\x80\xbf\xb7A\xf1\x1a?\t\x9b\xba\x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6\x15u\xb5\x8b8\x00\x00 parse error at: line:1, col:0'

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure with a vim.VirtualMachine object and access to vm.config, then trace the parser entry point handling the returned response. The issue provides no file or test names; done means the response is parsed successfully and vm.config can be accessed without ParserError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.