https://bugs.documentfoundation.org/show_bug.cgi?id=161331
--- Comment #3 from Hossein <hoss...@libreoffice.org> --- The problem also happens on Windows, but with slightly different error message: $ instdir/program/python sample.py C:\cygwin64\home\user\lode\dev\core\instdir\program\officehelper.py:94: DeprecationWarning: invalid escape sequence \P """Bootstrap PyUNO Runtime. warn:io.connector:18708:10072:io/source/connector/connector.cxx:93: Connector : couldn't connect to pipe "uno808075796421522": 1 warn:io.connector:18708:10072:io/source/connector/connector.cxx:93: Connector : couldn't connect to pipe "uno808075796421522": 1 True Fatal Python error: _Py_CheckFunctionResult: a function returned a result with an error set Python runtime state: initialized Traceback (most recent call last): File "C:\cygwin64\home\user\lode\dev\core\instdir\program\uno.py", line 513, in _uno_struct__setattr__ return setattr(self.__dict__["value"], name, value) AttributeError: args The above exception was the direct cause of the following exception: SystemError: <PyUNO_callable object at 0x000002AD96C748B0> returned a result with an error set Current thread 0x00002758 (most recent call first): File "C:\cygwin64\home\user\lode\dev\core\sample.py", line 35 in handle File "C:\cygwin64\home\user\lode\dev\core\sample.py", line 23 in main File "C:\cygwin64\home\user\lode\dev\core\sample.py", line 57 in <module> -- You are receiving this mail because: You are the assignee for the bug.