Closed YoSiJo closed 5 years ago
Hey YoSiJo!
The issue is obviously that the UTF-8 output of
requestContent = xmlrpc.client.dumps(tuple_params, methodname)
is given to
req = urllib.request.Request(self.url, bytearray(requestContent, 'ascii'), headers)
with ASCII encoding.
This is within the INWX XML-RPC reference implementation (see also here).
I'm willing to fix this on my end, but are you actually using a different codepage or simply a UTF-8 character? This most likely depends on the encoding of your saved configuration file. It needs to be saved in UTF-8 encoding as the XML which is exchanged with INWX uses this encoding - regardless of any fix.
I have now changed my password. This makes it currently charset=us-ascii
, but as soon as I enter my old password it automatically changes to charset=utf-8
. I can then reproduce the error again.
But I really can't say where it's best to fix it. This unfortunately exceeds my Python knowledge a bit. But I'm always for the right, even if longer way to have.
I have just released a new version v2.1.2 which should fix your issue. Please try it and provide some feedback. :-)
I change to my old and a new password and for both of them, it worked.
IMPORTANT NOTES:
- The dry run was successful.
nice that went fast.
Glad I could help you :-)
Considering this as solved then!
I used a password with high ascii chars. Unfortunately I get the following error.