libreoffice-code-highlighter icon indicating copy to clipboard operation
libreoffice-code-highlighter copied to clipboard

Failes to run with LO version 7.0 Alpha 1

Open atjensen opened this issue 4 years ago • 7 comments

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 ]

atjensen avatar May 19 '20 01:05 atjensen

Same applies for: LibreOffice 6.4.6.2 40(Build:2)

Chaostheorie avatar Sep 28 '20 19:09 Chaostheorie

Same here for LibreOffice 7.0.1.2 under Debian/GNOME

rocapal avatar Oct 04 '20 08:10 rocapal

Just rename the extension file to codehighlighter.oxt change filename

ffrmns avatar Nov 20 '20 02:11 ffrmns

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.

tkontogi avatar Dec 06 '20 08:12 tkontogi

codehighlighter After reinstalling with extension's name codehighlighter.oxt, it works well. :bowing_man: Thank You!

DhananjayPorwal avatar Apr 11 '21 08:04 DhananjayPorwal

Same for ROSA Linux R11.1, and LO 6.3.6

SergeyDjam avatar May 10 '21 09:05 SergeyDjam

Same for LO Writer 7.2.0.0 alpha on Linux.

eyalroz avatar Jun 09 '21 13:06 eyalroz