AttributeError on Python 3
alexandrevicenzi opened this issue · 0 comments
alexandrevicenzi commented
sys.exc_type
has been deprecated a long time ago and was removed in Python 3 which causes this error:
response = xmlrpclib.dumps(
> xmlrpclib.Fault(1, "%s: %s" % (sys.exc_type.__name__, sys.exc_info()[1])),
allow_none=self.allow_none, encoding=self.encoding)
E AttributeError: module 'sys' has no attribute 'exc_type'
venv3/lib/python3.7/site-packages/kobo/django/xmlrpc/dispatcher.py:112: AttributeError