slgobinath / libreoffice-code-highlighter

Code snippet highlighter for LibreOffice Writer, Calc and Impress.
https://extensions.libreoffice.org/extensions/code-highlighter
Other
133 stars 16 forks source link

error when selecting language #49

Open ak-karimzai opened 3 years ago

ak-karimzai commented 3 years ago

A Scripting Framework error occurred while running the Python script vnd.sun.star.script:codehighlighter.oxt|python|highlight.py$highlight_gosu_default?language=Python&location=user:uno_packages.

Message: <class 'KeyError'>: 'codehighlighter.oxt' File "/usr/lib/libreoffice/program/pythonscript.py", line 1046, in getScript storageUri = self.provCtx.getStorageUrlFromPersistentUrl( File "/usr/lib/libreoffice/program/pythonscript.py", line 417, in getStorageUrlFromPersistentUrl package = self.mapPackageName2Path[ packageName ]

EzlabYT commented 3 years ago

same issue here

juliocormor commented 3 years ago

same Captura de pantalla de 2021-10-21 16-10-50

ak-karimzai commented 3 years ago

if u a linux user better to change idea from MS word and etc, i found Latex https://en.wikipedia.org/wiki/LaTeX and now I'm using Latex to write documents. latex have special libraries for listing program codes https://nasa.github.io/nasa-latex-docs/html/examples/listing.html.

ak-karimzai commented 3 years ago

.

ak-karimzai commented 3 years ago

why do you close an open issue?

Yes

juliocormor commented 3 years ago

thanks, it's cool you have found an alternative in Latex, but some other users will still face the issue, so keep it open :)

Aiq0 commented 2 years ago

This fork seems to work