Page 1 of 1

HYPUSS Linux probelms

Posted: January 10th, 2020, 1:39 pm
by Urbandreamer
I'm trying to get HYPUSS b-k to work under linux and getting scrip errors.

Mint 19.3 came with Libreoffice installed, but not the scripting package.
I ran

Code: Select all

sudo apt-get install libreoffice-script-provider-python
and
sudo apt-get install libreoffice


The libreoffice is
Version: 6.0.7.3

The current error is

Code: Select all

A Scripting Framework error occurred while running the Python script vnd.sun.star.script:HypTopUp.py$getPriceSrc?language=Python&location=document.

Message: <class 'uno.com.sun.star.uno.RuntimeException'>: Couldn't convert file url  to a system path for reason (21)
  File "/usr/lib/libreoffice/program/pythonscript.py", line 1039, in getScript
    mod = self.provCtx.getModuleByUrl( fileUri )
  File "/usr/lib/libreoffice/program/pythonscript.py", line 499, in getModuleByUrl
    exec(code, entry.module.__dict__)
  File "vnd.sun.star.tdoc:/1/Scripts/python/HypTopUp.py", line 183, in <module>
  File "/usr/lib/python3/dist-packages/uno.py", line 144, in fileUrlToSystemPath
    return pyuno.fileUrlToSystemPath(url)


Any advice?

Re: HYPUSS Linux probelms

Posted: January 10th, 2020, 2:19 pm
by Urbandreamer
Sorry for the previous post.

I've got it working.

I believe that the problem may have been me attempting to work on a copy of the spreadsheet across the network.
Either that or a reboot fixed the problem.