#4614 (expected response XML root element to be a SOAP envelope)
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
pm prep in pierre says ValueError: Problem installing fixture '/home/luc/work/lino/lino/modlib/checkdata/fixtures/checkdata.py': expected response XML root element to be a SOAP envelope
Concepts sous-jacents
Commentaires
- 4 ans, 2 mois ago by Luc Saffre about #4614 (expected response XML root element to be a SOAP envelope) : I sent an email to Martin Leblanc, the author of pyvat.
- 4 ans, 2 mois ago by Luc Saffre about #4614 (expected response XML root element to be a SOAP envelope) : I wrote a comment to the issue tracker on github. Let's hope that iconfinder finds time to make a relase.
- 4 ans, 2 mois ago by Luc Saffre about #4614 (expected response XML root element to be a SOAP envelope) : I manually changed my pyvat as in zoomie's pull request. Yes, that fixes the issue. En passant I fixed a bug that occured when some server was not available. The German server is unavailable at th moment, so I could test it. I also optimized that log message, it now says: pyvat.check_vat_number('DE1...
- 4 ans, 2 mois ago by Luc Saffre about #4614 (expected response XML root element to be a SOAP envelope) : No, it's not only Estonia, it is the central VIES server. And pyvat project has been notified of the issue: [url github.com/iconfinder/pyvat/issues/58]. And a user zoomie even has already submitted a pull request to fix it. But iconfinder (the author) has not yet reacted.
- 4 ans, 2 mois ago by Luc Saffre about #4614 (expected response XML root element to be a SOAP envelope) : I added a print call to the pyvat code. The "culprit" is the Estonian VAT server. It responds: <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><ns2:checkVatResponse xmlns:ns2="urn:ec.europa.eu:taxud:vies:services:checkVat:types"><ns2:countryCode>EE</ns2:cou...
- 4 ans, 2 mois ago by Luc Saffre about #4614 (expected response XML root element to be a SOAP envelope) : It's now already the second day that we get this error message when running pm prep in pierre. It's not a connectivity error, otherwise Lino would retry and then silently ignore it. Looks as if one of the servers consulted by pyvat is not working correctly or has updated its API. "pip install -U pyv...