Skip to content

Fix "ProtocolError" object attribute error#98

Open
harunanase wants to merge 1 commit into
gamegos:masterfrom
harunanase:fix_ProtolcolError_object_attribute_error
Open

Fix "ProtocolError" object attribute error#98
harunanase wants to merge 1 commit into
gamegos:masterfrom
harunanase:fix_ProtolcolError_object_attribute_error

Conversation

@harunanase

@harunanase harunanase commented May 25, 2021

Copy link
Copy Markdown

Bug description

  • xmlrpc.client.ProtocolError does not have the faultString attribute.
  • Sample error log:
    AttributeError: type object 'ProtocolError' has no attribute 'faultString'
    

My solution

"xmlrpc.client.ProtocolError" does not have
the "faultString" attribute, the correct
attribute of error message is "errmsg".
Checkout the python3 doc:
https://docs.python.org/3/library/xmlrpc.client.html#xmlrpc.client.ProtocolError.errmsg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant