reubenur-rahman / vmware-pyvmomi-examples

The example codes are written using the VMware official python library pyvmomi
Apache License 2.0
89 stars 60 forks source link

error while using upload_file_to_vm.py #10

Open jwed opened 7 years ago

jwed commented 7 years ago

Hi all,

I'm facing an error when I use upload_file_to_vm.py it's give me the following error:

Traceback (most recent call last): File "upload_file_to_vm.py", line 126, in main() File "upload_file_to_vm.py", line 92, in main tools_status = vm.guest.toolsStatus AttributeError: 'NoneType' object has no attribute 'guest'

and I checked in vSphere Client the status of the vmtool and it's status was:

VMware Tools: Running (Current).

so what is the problem and is any body used this sample before ??

Thank you