This extension partly written in Java doesn't execute the Java: https://extensions.libreoffice.org/extensions/libo_plantuml/ It works on Windows. It works on Linux with LibreOffice 6.1 I have tried to execute the command manually in a terminal with success. I have tried to execute the command from at simple test macro, where the parameters are hard coded. It seems that the jar either doesn't execute at all, or only runs for less that a second. Other shell commands execute fine.
I have the same problem with, timeStampBackup_v1-1-8.oxt, displays can not open ...oxt (error message) I am using openjdk 11.0.1 and Apache/ant 1.10.2 to compile my home build LO master and 6.2??? Not sure if this is the cause off the problem. Version: 6.3.0.0.alpha0+ Build ID: ccae6c0faa6f99b4dd84fb05c5cc8efefb3b4d4f CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: kde4; Locale: nl-BE (en_US.UTF-8); UI-Language: en-US Calc: threaded
On pc Debian x86-64 with master sources updated yesterday, I gave it a try. I noticed that if I install the extension for all users, it doesn't work but if I choose "only for me", I don't reproduce the problem. In macros contained in the oxt, I noticed this block: Function getUrl() oPSM = GetProcessServiceManager().DefaultContext() oFac = oPSM.getValueByName("/singletons/com.sun.star.deployment.thePackageManagerFactory") oMan = oFac.getPackageManager("user") oExt() = oMan.getDeployedPackages(null, null) For i = LBound(oExt) to UBound(oExt) if oExt(i).getDisplayName() = "PlantUML in LibreOffice" then Part2= right(oExt(i).URL, len(oExt(i).URL)-57) oPathSub = CreateUnoService( "com.sun.star.util.PathSubstitution" ) Part1= oPathSub.getSubstituteVariableValue("user") CompleteUrl= Part1 & "/uno_packages/cache/uno_packages" & Part2 getUrl = CompleteUrl endif Next i End Function when using, install for all, we don't enter the "For" loop.
Did some more test but now bey opening LO via konsole bash-4.4# /home/build\ kde4\ libreoffice/program/soffice A) steps to reproduce open extention manager try to add some oxt file set for "only for me" then a error popups "Add Extension(s): /root/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu9426mmnoxz.tmp_/timeStampBackup_v1-1-8.oxt does not exist." and this messages is on the konsole: LibreOffice(28473) KSambaSharePrivate::testparmParamValue: We got some errors while running testparm "Load smb config files from /etc/samba/smb.conf Error loading services. " LibreOffice(28473) KSambaSharePrivate::findSmbConf: KSambaShare: Could not find smb.conf! LibreOffice(28473) KSambaSharePrivate::getNetUserShareInfo: We got some errors while running 'net usershare info' LibreOffice(28473) KSambaSharePrivate::getNetUserShareInfo: "Can't load /etc/samba/smb.conf - run testparm to debug it " X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x360413c X Error: BadMatch (invalid parameter attributes) 8 Major opcode: 42 (X_SetInputFocus) Resource id: 0x360413c" Version: 6.3.0.0.alpha0+ Build ID: 82cc30a832dde298832d9f029e0ead94a9d2d14b CPU threads: 8; OS: Linux 4.19; UI render: default; VCL: kde4; Locale: nl-BE (en_US.UTF-8); UI-Language: en-US Calc: threaded B) steps to reproduce open extention manager try to add some oxt file set "for all users" a licence agreement is opening scroll down and accept error message: an error occurred during file opening no error output on the konsole
I can't reproduce it in Version: 6.2.0.0.beta1+ Build ID: 6ab7bfbca4148416233dbf8b9bfc79f3a1dfa821 CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US Calc: threaded using the bisect repositories nor in Version: 6.2.0.0.beta1 Build ID: d1b41307be3f8c19fe6f1938cf056e7ff1eb1d18 CPU threads: 1; OS: Linux 4.15; UI render: default; VCL: kde5; Locale: en-US (en_US.UTF-8); UI-Language: en-US Calc: threaded I've tried both extensions and it works with both options, all users and only for me. What's is different?
@Xisco I forgot to look if i had a corrupt user profile and it did So deleting my old user profile made the solution for me For me its a WFM Will close it if there is no objection???