From umesh.sundareshan at gmail.com Fri Oct 12 16:52:30 2018 From: umesh.sundareshan at gmail.com (Umesh Sundaresh) Date: Fri, 12 Oct 2018 22:22:30 +0530 Subject: [LDTP-Dev] LDTP functions fail with 'xmlrpc.client.Fault: :cannot use LOCALE flag with a str pattern"' Message-ID: Hi, I am trying to run LDTP on my Mac (10.12.6) using Python 3.7. So far, I have been able to bring up 'ldtp' and run some ldtp client functions like 'getapplist' successfully. However, when I try to run anything else like, getwindowlist() or guiexist(), I see the following error. I tried googling, but I couldn't find anything relevant. If any of you can provide me some help here, it would be greatly appreciated. Thanks, Umesh >>> atomac.ldtp.guiexist('*Chrome') Traceback (most recent call last): File "", line 1, in File "/Users/umesh_sundareshan/Downloads/pyatom-master/atomac/ldtp/__init__.py", line 419, in guiexist return _remote_guiexist(window_name, object_name) File "/Users/umesh_sundareshan/Downloads/pyatom-master/atomac/ldtp/client.py", line 80, in __call__ return self.__send(self.__name, args) File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 1452, in __request verbose=self.__verbose File "/Users/umesh_sundareshan/Downloads/pyatom-master/atomac/ldtp/client.py", line 204, in request raise e File "/Users/umesh_sundareshan/Downloads/pyatom-master/atomac/ldtp/client.py", line 166, in request return unmarshaller.close() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/xmlrpc/client.py", line 656, in close raise Fault(**self._stack[0]) xmlrpc.client.Fault: :cannot use LOCALE flag with a str pattern"> >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: