If I try to install new or update an old extension, after a while I just see the following message: "an error occurred during file opening".
I would post some logs only if I knew where to find them.
New: Run-Command (Dec 2, 2024), Platform 29.5.3 (Jun 27, 2024)
1,100+ portable packages, 1.1 billion downloads
No Ads November!, Please donate today
LO 7.4.x generated a lot of complaints nowadays. I'm (personally) encountering some weird issues while setting it up, even with a new installation…
The easiest way is to make tests within a fresh LibreOffice/platform.
PS. I've finally decided to reinstall mine from zero, while trying to find the
mouse'srat's hiding place!“All these years that I had spent in the service of mankind brought me nothing but insults and humiliation.”
― Nikola Tesla ―
“I'm such an open book, but you shall read between the lines.”
― Neo Buddha ―
I already tested the latest versions to find a regression window. The installation works in the 7.3.6, but is broken with each version after this: 7.4.0, 7.4.1, 7.4.2. They are still downloadable. What else can I do to find the source of the bug?
Right now, I test a new version of extension by just extracting it from the file and overwrite the content of an old version somewhere deep in the usr folder of LO.
https://portableapps.com/comment/251499#comment-251499
“All these years that I had spent in the service of mankind brought me nothing but insults and humiliation.”
― Nikola Tesla ―
“I'm such an open book, but you shall read between the lines.”
― Neo Buddha ―
Tested once again with the 7.4.2 fresh installation. The option, you are mentioned, was already deactivated. But I still get the error and can't install or update my extension. Any other suggestions?
I probably found out the reason for this bug. Just made a fresh installation in the root of the drive, not into the "PortableApps" folder. Then moved the "CommonFiles" folders, so I would have a Java instance. Then everything works fine: extension installation and update.
Hi Anton.
When you state "made a fresh installation in the root of the drive, not into the "PortableApps" folder." are you talking about LibreOffice. the entire PortableApps folder or something else? It isn't clear to me. Ditto for moving "Common Files", are these just LO or something else?
Finally, I have programs called jPortable Launcher and JPortable Browser Switch included in my portable Apps folder. Are they not sufficient for a Java Instance?
Thanks.
Jojo
Sorry for a late replay. I try to answer your questions.
Usually, one installs LibreOffice in the "LibreOfficePortable" folder, which itself is in the "PortableApps" folder of the drive. Java would be installed in the "CommonFiles\Java\" sub-folder in the same "PortableApps" folder. It would be looks like this:
C:\
├─ PortableApps\
│ ├─ CommonFiles\
│ │ ├─ Java\
│ ├─ LibreOfficePortable\
Because LibreOffice Portable has some problems with long paths (looks like a well known issue), in our case just in case of extension installation or update, we have to make the path shorter. So I move "LibreOfficePortable" folder in the root of the drive. That should be enough for update.
C:\
├─ LibreOfficePortable\
├─ PortableApps\
│ ├─ CommonFiles\
│ │ ├─ Java\
After the update, you can quit the program and move the folder back.
For the usage of the LanguageTool extension, one needs Java. In this case, or if this extension gives you the same errors during the installation, you could also at least move the "Java" folder with "CommonFiles" folder to the root of the drive. The rest of the "CommonFiles" folder could remain in the "PortableApps" folder. In this case, the picture looks like this:
C:\
├─ CommonFiles\
│ ├─ Java\
├─ LibreOfficePortable\
├─ PortableApps\
Your another question: jPortable Launcher is just a launcher for some Java application; and JPortable Browser Switch just "enables or disables the browser plugin bundled with jPortable." Both of them require the actual runtime, in our case jPortable, to actually run the Java code. Side note: The latest (Browser Switch) is probably not so useful anymore, because modern browsers dropped support for Java years ago, and we even rarely saw some Java programs running in the browser (like applets) even earlier.
LibreOffice also needs Java runtime, sometimes for its own feature or for Java-writen extension like LanguageTool. So it needs jPortable installed; the other two applications mentioned by you isn't required for LibreOffice and LanguageTool.