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

Failed to register package for vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE/uno_packages/lu21750av1h1p.tmp_/codehighlighter.oxt/python #48

Open Villelmo opened 3 years ago

Villelmo commented 3 years ago

I install the package but i get the following error. Restart libreoffice but the extension is disable.

eik-dahms commented 2 years ago

I have the same issue on Ubuntu. I also tried to run impress as sudo and got the same error.


Edit

after some googeling I found the solution: https://stackoverflow.com/questions/61638794/failed-to-register-package-for-vnd-sun-star-expanduno-user-packages-cache-uno

It seems to be quite important to rename the downloaded file to the extension name only. e.g. codehighlighter.oxt -> codehighlighter.oxt

Maybe I overread a hint to that in the installation guide or on the extension page. If not @slgobinath , maybe one could add a hint fo this problem for ubuntu(linux?) users?