Make informative output more obvious
Change-Id: I9088da9fd2eb1b3ea6be6fda85e058abe8d57286
This commit is contained in:
@@ -18,6 +18,7 @@ try:
|
|||||||
import uno
|
import uno
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables")
|
print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables")
|
||||||
|
print("to something like:")
|
||||||
print(" PYTHONPATH=/installation/opt/program")
|
print(" PYTHONPATH=/installation/opt/program")
|
||||||
print(" URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
|
print(" URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
|
||||||
raise
|
raise
|
||||||
@@ -26,6 +27,7 @@ try:
|
|||||||
from com.sun.star.document import XDocumentEventListener
|
from com.sun.star.document import XDocumentEventListener
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("UNO API class not found: try to set URE_BOOTSTRAP variable")
|
print("UNO API class not found: try to set URE_BOOTSTRAP variable")
|
||||||
|
print("to something like:")
|
||||||
print(" URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
|
print(" URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
|
||||||
raise
|
raise
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user