[Libreoffice] problem with unopkg on Linux/AMD64 using SDK-3.3

Lars Callenbach lars.callenbach at gmx.de
Tue Jun 28 10:00:13 PDT 2011


Hello,

I have written an addin for Calc. It works fine using (Windows XP - OpenOffice 3.2/Libre Office 3.3) and (Linux - OpenOffice 3.2). But it fails under Libre Office 3.3 with an error message:
#####
[root] /opt/libreoffice/basis3.3/sdk/examples/cpp/Calc_test: "/opt/libreoffice/program/unopkg" add -v -f CalcAddins.oxt 

ERROR: Error binding package: vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/luecz64g.tmp_/CalcAddins.oxt
       Cause: (com.sun.star.ucb.InteractiveAugmentedIOException) { { { { Message = "an error occured during file opening", Context = (com.sun.star.uno.XInterface) @1ddd9d8 (ImplementationName = "com.sun.star.comp.ucb.FileContent") }, Classification = (com.sun.star.task.InteractionClassification) ERROR }, Code = (com.sun.star.ucb.IOErrorCode) NOT_EXISTING }, Arguments = ([]any) { { (com.sun.star.beans.PropertyValue) { Name = "Uri", Handle = (long) -1, Value = (any) { "file:///root/.libreoffice/3/user/uno_packages/cache/uno_packages/luecz64g.tmp_/CalcAddins.oxt" }, State = (com.sun.star.beans.PropertyState) DIRECT_VALUE } }, { (com.sun.star.beans.PropertyValue) { Name = "ResourceName", Handle = (long) -1, Value = (any) { "/root/.libreoffice/3/user/uno_packages/cache/uno_packages/luecz64g.tmp_/CalcAddins.oxt" }, State = (com.sun.star.beans.PropertyState) DIRECT_VALUE } } } }

unopkg failed.
#####

What do I have to change to get a working addin?


Regards,
  Lars

-- 
NEU: FreePhone - kostenlos mobil telefonieren!			
Jetzt informieren: http://www.gmx.net/de/go/freephone


More information about the LibreOffice mailing list