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 "<stdin>", line 1, in <module>

  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: <Fault 1: "<class 'ValueError'>:cannot use LOCALE flag
with a str pattern">

>>>
_______________________________________________
LDTP-dev mailing list
LDTP-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/ldtp-dev

Reply via email to