Make informative output more obvious

Change-Id: I9088da9fd2eb1b3ea6be6fda85e058abe8d57286
This commit is contained in:
Stephan Bergmann 2013-04-26 11:20:34 +02:00
parent e8807620d2
commit fd0ecb1897

View File

@ -18,15 +18,17 @@ try:
import uno
except ImportError:
print("pyuno not found: try to set PYTHONPATH and URE_BOOTSTRAP variables")
print("PYTHONPATH=/installation/opt/program")
print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
print("to something like:")
print(" PYTHONPATH=/installation/opt/program")
print(" URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
raise
try:
from com.sun.star.document import XDocumentEventListener
except ImportError:
print("UNO API class not found: try to set URE_BOOTSTRAP variable")
print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
print("to something like:")
print(" URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
raise
### utilities ###