On an ubuntu 64 bit system.
Macros scripts that used to work nicely with 3.3.2 now die with "general error" and I cannot understand the reason.
For instance, consider the following snippet
srcURL = ConvertToURL( srcFile )
dim oPropDoc(0) as New com.sun.star.beans.PropertyValue
oDoc = StarDesktop.loadComponentFromURL( srcURL, "_blank", 0, _
pdfURL=ConvertToURL( pdfFile )
Dim oPropPDF(1) As New com.sun.star.beans.PropertyValue
Dim oProp(3) As New com.sun.star.beans.PropertyValue
oDoc.close( True )
This used to work just fine with 3.3.2 but now dies at the
oDoc = StarDesktop.loadComponentFromURL( srcURL, "_blank", 0, oPropDoc())
with "General Error" that unfortunately is not a very informative error message.
My fault. I was erroneously passing a relative rather than an absolute path. Sorry for the noise.
There is still a problem, though.
For this case, libreoffice 3.4 seems to generate a general error while 3.3.2 was more correctly reporting a path that could not be handled.
Changed title and importance level accordingly.
*** This bug has been marked as a duplicate of bug 37370 ***