theY4Kman / infusionsoft-client

Sexy Infusionsoft XML-RPC API client
https://pypi.python.org/pypi/infusionsoft-client
Apache License 2.0
7 stars 1 forks source link

Error when used in conjunction with django-debug-toolbar #9

Closed theY4Kman closed 7 years ago

theY4Kman commented 7 years ago

Traceback:

Traceback (most recent call last):
  ... snipped ...

  File "/path/to/venv/lib/python3.6/site-packages/debug_toolbar/middleware.py", line 132, in process_response
    panel.generate_stats(request, response)
  File "/path/to/venv/lib/python3.6/site-packages/debug_toolbar/panels/versions.py", line 29, in generate_stats
    versions += list(self.gen_app_versions())
  File "/path/to/venv/lib/python3.6/site-packages/debug_toolbar/panels/versions.py", line 39, in gen_app_versions
    version = self.get_app_version(app)
  File "/path/to/venv/lib/python3.6/site-packages/debug_toolbar/panels/versions.py", line 47, in get_app_version
    version = get_version()
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1112, in __call__
    return self.__send(self.__name, args)
  File "/path/to/venv/lib/python3.6/site-packages/infusionsoft/client.py", line 44, in __request
    return self.__real_request(methodname, args)
  File "/path/to/venv/lib/python3.6/site-packages/infusionsoft/client.py", line 24, in __request
    return self.__real_request(methodname, args)
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1452, in __request
    verbose=self.__verbose
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1154, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1170, in single_request
    return self.parse_response(resp)
  File "/usr/lib/python3.6/xmlrpc/client.py", line 1342, in parse_response
    return u.close()
  File "/usr/lib/python3.6/xmlrpc/client.py", line 656, in close
    raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 0: 'No such handler: get_version'>