When creating an IGuestSession via IGuest.create_session() if a zero-length password is given an error will be raised. This was found originally by @aGGeRReS in issue #47. Proposed fix is to throw a better error message if this error is caught and an empty password is used.
To login to the Guest Session with an empty password.
ACTUAL RESULTS
Raises an exception
gs = session.console.guest.create_session('win7', '')
File "/usr/local/lib/python2.7/dist-packages/virtualbox/library_ext/guest.py", line 24, in create_session
raise SystemError("GuestSession failed to start")
SystemError: GuestSession failed to start
ENVIRONMENT
master
branch?SUMMARY
When creating an
IGuestSession
viaIGuest.create_session()
if a zero-length password is given an error will be raised. This was found originally by @aGGeRReS in issue #47. Proposed fix is to throw a better error message if this error is caught and an empty password is used.STEPS TO REPRODUCE
EXPECTED RESULTS
To login to the Guest Session with an empty password.
ACTUAL RESULTS
Raises an exception