From 66eb2a63d3ddbec9de2479594c4d39bf222aebef Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Wed, 2 Nov 2016 00:44:01 +0200 Subject: [PATCH] Change back to using named pipes --- openlp/plugins/presentations/lib/libreofficeserver.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/presentations/lib/libreofficeserver.py b/openlp/plugins/presentations/lib/libreofficeserver.py index 10504e29e..d313bc3b4 100644 --- a/openlp/plugins/presentations/lib/libreofficeserver.py +++ b/openlp/plugins/presentations/lib/libreofficeserver.py @@ -53,7 +53,7 @@ class LibreOfficeServer(object): '--minimized', '--nodefault', '--nofirststartwizard', - '--accept=socket,port=2002;urp;' + '--accept=pipe,name=openlp_pipe;urp;' ] self._process = Popen(uno_command) @@ -69,7 +69,7 @@ class LibreOfficeServer(object): loop = 0 while uno_instance is None and loop < 3: try: - uno_instance = resolver.resolve('uno:socket,port=2002;urp;StarOffice.ComponentContext') + uno_instance = resolver.resolve('uno:pipe,name=openlp_pipe;urp;StarOffice.ComponentContext') except Exception as e: log.warning('Unable to find running instance ') loop += 1