You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while trying to connect to vcenter using pyvomi module, noticed the below issue. class StubAdapterAccessorMixin has no attribute '__init__'
There is no init method found in this file
Replace the hostname,username,password with proper values
Run the below code
from pyVim.connect import SmartConnect
c = SmartConnect(host="hostname", user="username", pwd='password')
print(c.CurrentTime())
Expected behavior
vcenter connection should be established without throwing any error. As per the sample program, it should print current time after connecting to vcenter.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
while trying to connect to vcenter using pyvomi module, noticed the below issue.
class StubAdapterAccessorMixin has no attribute '__init__'
There is no init method found in this file
Solution:
It worked when I commented out the below line
https://github.com/vmware/pyvmomi/blob/master/pyVmomi/SoapAdapter.py#990
We need to remove it I believe
Reproduction steps
Expected behavior
vcenter connection should be established without throwing any error. As per the sample program, it should print current time after connecting to vcenter.
Additional context
No response
The text was updated successfully, but these errors were encountered: