raphaelm / python-sepaxml

SEPA Direct Debit XML generation in python
MIT License
112 stars 43 forks source link

possible xmlschema 1.1.0 incompatibility #27

Closed posativ closed 4 years ago

posativ commented 4 years ago

Hi,

I've just noticed that my script using fints no longer works. It looks like a recent release of xmlschema brings some incompatibility. Not sure if this is a fints bug though. This is the stacktrace:

    return client.get_balance(account).amount.amount
  File "…/python-fints/lib/python3.7/site-packages/fints/client.py", line 628, in get_balance
    response = self._send_with_possible_retry(dialog, seg, self._get_balance)
  File "…/python-fints/lib/python3.7/site-packages/fints/client.py", line 1234, in _send_with_possible_retry
    response = dialog.send(command_seg)
  File "…/python-fints/lib/python3.7/site-packages/fints/dialog.py", line 156, in send
    self.client.process_response_message(self, response, internal_send=internal_send)
  File "…/python-fints/lib/python3.7/site-packages/fints/client.py", line 241, in process_response_message
    self._process_response(dialog, segment, response)
  File "…/python-fints/lib/python3.7/site-packages/fints/client.py", line 1284, in _process_response
    raise FinTSClientError("Error during dialog initialization, could not fetch BPD. Please check that you "
fints.exceptions.FinTSClientError: Error during dialog initialization, could not fetch BPD. Please check that you passed the correct bank identifier to the HBCI URL of the correct bank.

What works:

What no longer works for me:

posativ commented 4 years ago

NVM the API endpoint just randomly doesn't properly.