Make informative output more obvious
Change-Id: I9088da9fd2eb1b3ea6be6fda85e058abe8d57286
This commit is contained in:
parent
e8807620d2
commit
fd0ecb1897
@ -18,15 +18,17 @@ 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("PYTHONPATH=/installation/opt/program")
|
print("to something like:")
|
||||||
print("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
|
print(" PYTHONPATH=/installation/opt/program")
|
||||||
|
print(" URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
|
||||||
raise
|
raise
|
||||||
|
|
||||||
try:
|
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("URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
|
print("to something like:")
|
||||||
|
print(" URE_BOOTSTRAP=file:///installation/opt/program/fundamentalrc")
|
||||||
raise
|
raise
|
||||||
|
|
||||||
### utilities ###
|
### utilities ###
|
||||||
|
Loading…
x
Reference in New Issue
Block a user