libreoffice-code-highlighter
libreoffice-code-highlighter copied to clipboard
Failes to run with LO version 7.0 Alpha 1
Am using Highlight Code extension version 1.6 The extension works fine on this desktop with everything up and through 6.4.x
It loads up with the version 7.0 Alpha1 build, Ubuntu 18.04/KDE but throws the following error when attempting to execute tools/Highlight Code:
A Scripting Framework error occurred while running the Python script vnd.sun.star.script:codehighlighter.oxt|python|highlight.py$create_dialog?language=Python&location=user:uno_packages.
Message: <class 'KeyError'>: 'codehighlighter.oxt' File "/home/drew/liboQA/libreofficedev7.0/program/pythonscript.py", line 1047, in getScript self.provCtx.uriHelper.getStorageURI(scriptUri) ); File "/home/drew/liboQA/libreofficedev7.0/program/pythonscript.py", line 417, in getStorageUrlFromPersistentUrl package = self.mapPackageName2Path[ packageName ]
Same applies for: LibreOffice 6.4.6.2 40(Build:2)
Same here for LibreOffice 7.0.1.2 under Debian/GNOME
Just rename the extension file to codehighlighter.oxt change filename
Just rename the extension file to codehighlighter.oxt change filename
And renaming before installing, the downloaded extension's file name to codehighlighter.oxt, is the solution.
Thank you.
codehighlighter After reinstalling with extension's name codehighlighter.oxt, it works well. :bowing_man: Thank You!
Same for ROSA Linux R11.1, and LO 6.3.6
Same for LO Writer 7.2.0.0 alpha on Linux.