pyvmomi icon indicating copy to clipboard operation
pyvmomi copied to clipboard

Upload file to vm Error: [AttributeError: 'NoneType' object has no attribute 'fileManager']

Open manaswinis opened this issue 4 years ago • 1 comments

Hi,

I'm trying to execute the example code to upload file to vm. But I'm getting below error: url = content.guestOperationsManager.fileManager.InitiateFileTransferToGuest(vm, creds, inputs['vm_path'], AttributeError: 'NoneType' object has no attribute 'fileManager'

VSphere login, reverting snapshot are working fine, but when I try to upload file to vm the above error is occuring.

How to resolve this issue. Any help would be appreciated.

Thanks, Manaswini

manaswinis avatar Mar 06 '20 03:03 manaswinis