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

Windows Error #26

Open DavidReyer opened 6 years ago

DavidReyer commented 6 years ago

Hi

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

Message: <class 'KeyError'>: 'codehighlighter.oxt' File "D:\Program Files\LibreOffice 5\program\pythonscript.py", line 993, in getScript self.provCtx.uriHelper.getStorageURI(scriptUri) ); File "D:\Program Files\LibreOffice 5\program\pythonscript.py", line 381, in getStorageUrlFromPersistentUrl package = self.mapPackageName2Path[ packageName ]

This is the Error im getting every time i try to use this extension. I've done everything to install this properly, running Win10 and everything on the newest version. This seems to be exactly the same error as the other issue posted some days ago but this time on Windows and not on Fedora. Please mark that this Extension is currently not working and save peoples time.

icecore2 commented 6 years ago

Same here...+1

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

Message: <class 'KeyError'>: 'codehighlighter.oxt'
  File "D:\Program Files\LibreOffice\program\pythonscript.py", line 993, in getScript
    self.provCtx.uriHelper.getStorageURI(scriptUri) );
  File "D:\Program Files\LibreOffice\program\pythonscript.py", line 381, in getStorageUrlFromPersistentUrl
    package = self.mapPackageName2Path[ packageName ]
zorrotb commented 6 years ago

Same here… +1 (v1.4) + Python v3.6

`` Une erreur de structure de script s'est produite lors de l'exécution du script vnd.sun.star.script:codehighlighter.oxt|python|highlight.py$highlight_powershell_default?language=Python&location=user:uno_packages en Python.

Message : <class 'KeyError'>: 'codehighlighter.oxt' File "C:\Program Files\LibreOffice\program\pythonscript.py", line 993, in getScript self.provCtx.uriHelper.getStorageURI(scriptUri) ); File "C:\Program Files\LibreOffice\program\pythonscript.py", line 381, in getStorageUrlFromPersistentUrl package = self.mapPackageName2Path[ packageName ]

fabiodesouza commented 6 years ago

Same here… libreoffice v6.1.0.3 and python 3.4.4 with pygments

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

Message: <class 'KeyError'>: 'codehighlighter.oxt' File "C:\Program Files\LibreOffice\program\pythonscript.py", line 1011, in getScript self.provCtx.uriHelper.getStorageURI(scriptUri) ); File "C:\Program Files\LibreOffice\program\pythonscript.py", line 381, in getStorageUrlFromPersistentUrl package = self.mapPackageName2Path[ packageName ]