AttributeError: 'NoneType' object has no attribute 'getText'

Bug #1371547 reported by Vipin Balachandran
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Vipin Balachandran

Bug Description

Soap fault handling is failing with AttributeError, therefore hiding the original exception.

Traceback (most recent call last):
  File "/opt/stack/oslo.vmware/tests/integration/", line 46, in test_foo
    vim_util.get_object_property(self.session.vim, datastore, 'hello')
  File "/opt/stack/oslo.vmware/oslo/vmware/", line 366, in get_object_property
    props = get_object_properties(vim, moref, [property_name])
  File "/opt/stack/oslo.vmware/oslo/vmware/", line 314, in get_object_properties
  File "/opt/stack/oslo.vmware/oslo/vmware/", line 240, in request_handler
    fault_string = doc.childAtPath("/Envelope/Body/Fault/"
AttributeError: 'NoneType' object has no attribute 'getText'

Changed in oslo.vmware:
importance: Undecided → Medium
Revision history for this message
Vipin Balachandran (vbala) wrote :
Changed in oslo.vmware:
status: New → In Progress
Changed in oslo.vmware:
status: In Progress → Fix Committed
Changed in oslo.vmware:
milestone: none → 0.7.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers