Donate to Remove ads

Got a credit card? use our Credit Card & Finance Calculators

Thanks to MrFahrenheit,SalvorHardin,Anonymous,johnhemming,Anonymous, for Donating to support the site

HYPUSS Linux probelms

Discussions regarding financial software
Urbandreamer
Lemon Slice
Posts: 865
Joined: December 7th, 2016, 9:09 pm
Has thanked: 53 times
Been thanked: 224 times

HYPUSS Linux probelms

#276415

Postby Urbandreamer » January 10th, 2020, 1:39 pm

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?

Urbandreamer
Lemon Slice
Posts: 865
Joined: December 7th, 2016, 9:09 pm
Has thanked: 53 times
Been thanked: 224 times

Re: HYPUSS Linux probelms

#276429

Postby Urbandreamer » January 10th, 2020, 2:19 pm

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.


Return to “Financial Software - Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest