sethmlarson / virtualbox-python

Complete implementation of VirtualBox's COM API with a Pythonic interface.
https://pypi.org/project/virtualbox
Apache License 2.0
354 stars 75 forks source link

Failed to find attribute guest #120

Closed applejuiceyy closed 1 year ago

applejuiceyy commented 5 years ago
ENVIRONMENT
SUMMARY

Can't find attribute guest in virtualbox.library_ext.console.IConsole object, it was working before, now it ism't working anymore

STEPS TO REPRODUCE

Follow examples (with necessary changes)

EXPECTED RESULTS

Run normally

ACTUAL RESULTS
Traceback (most recent call last):
  File "<pyshell#8>", line 1, in <module>
    gs = session.console.guest.create_session('runner', '')
  File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\virtualbox\library.py", line 14536, in guest
    ret = self._get_attr("guest")
  File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\virtualbox\library_base.py", line 165, in _get_attr
    attr = self._search_attr(name, prefix='get')
  File "C:\Users\User\AppData\Local\Programs\Python\Python36-32\lib\site-packages\virtualbox\library_base.py", line 161, in _search_attr
    raise AttributeError("Failed to find attribute %s in %s" % (name, self))
AttributeError: Failed to find attribute guest in <virtualbox.library_ext.console.IConsole object at 0x03C2B690>
sethmlarson commented 4 years ago

Are you using a different Virtualbox and Virtualbox SDK versions? Maybe that's the issue, try updating the SDK.

sethmlarson commented 1 year ago

I no longer have time to maintain this library, so am closing this issue.