Hello
After upgrading to opensuse11.1 and oo3.0
this does not work anymore .
with the exception of :
import uno
import com.sun.star.Connections
all others fail …
This worked before in oo2.5
basically I only can start oo3.0 from within
python , any advanced page creation fails.>:(
import sys
def printred(s):
print ‘\0331;48m%s\0331;m’ % s
for pyuno
sys.path.append(’/usr/lib64/ooo3/basis3.0/program/’)
sys.path.append(’/usr/lib64/ooo3/ure/lib/’)
try:
import uno
except:
printred('uno.py import error ')
try:
from com.sun.star.awt import Size
except:
printred(‘import error com.sun.star.awt’)
try:
from com.sun.star.beans import PropertyValue
except:
printred(‘import error com.sun.star.beans’)
try:
from com.sun.star.style.BreakType import PAGE_BEFORE, PAGE_AFTER
except:
printred(‘import error com.sun.star.style.BreakType’)
try:
from com.sun.star.connection import NoConnectException
except:
printred(‘import error com.sun.star.connection’)
try:
from com.sun.star.text.ControlCharacter import PARAGRAPH_BREAK
except:
printred(‘PARAGRAPH_BREAK import error’)
try:
from com.sun.star.text.TextContentAnchorType import AS_CHARACTER
except:
printred(‘AS_CHARAKTER import error’)
try:
import unohelper
except:
printred(‘unohelper import error’)
What am I missing in the new install ?
Thanks
Db