Coder Social home page Coder Social logo

Comments (11)

cmallwitz avatar cmallwitz commented on September 16, 2024

from financials-extension.

R7914T avatar R7914T commented on September 16, 2024

before writing I replaced one of the pulls, but it reverted to the string I posted.

from financials-extension.

R7914T avatar R7914T commented on September 16, 2024

I am trying to understand what has gone wrong. So far I have reinstalled libreoffice, and am trying to reinstall the extension but I keep getting the error message I quoted in the opening post to this query.

Looking at your readme, I find the comment

"Additionally, starting with version 3 of the extension, it contains all non-standard Python packages it uses (dateutil, pytz, pyparsing). Consequently, it is no longer necessary to install anything to your system."

But later on in the same readme it states:

"Build:

You will need the LibreOffice SDK installed.

On my system (Ubuntu) I installed packages: libreoffice-dev libreoffice-java-common libreoffice-script-provider-python

depending on your location...

cd ~/tech/IdeaProjects/Financials-Extension/

python3 -m unittest discover src

This builds file Financials-Extension.oxt

./compile.sh
Tested with:

Windows 10 / LibreOffice Calc 7.1.2.2 / Python 3.8.8
Ubuntu 20.04 / LibreOffice Calc 6.4.3.2 / Python 3.8.2"

As I am using 20.04 does this mean I need to install those items mentioned, even though you advise nothing needs to be installed on the system?

R

from financials-extension.

R7914T avatar R7914T commented on September 16, 2024

As I am anxious to get my share summary system working again, I have unsuccessfully followed the build instructions:

`root@robins-desktop:/home/robins/tech/financial-extension# python3 -m unittest discover src
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/usr/lib/python3.8/unittest/main.py", line 18, in
main(module=None)
File "/usr/lib/python3.8/unittest/main.py", line 100, in init
self.parseArgs(argv)
File "/usr/lib/python3.8/unittest/main.py", line 124, in parseArgs
self._do_discovery(argv[2:])
File "/usr/lib/python3.8/unittest/main.py", line 244, in _do_discovery
self.createTests(from_discovery=True, Loader=Loader)
File "/usr/lib/python3.8/unittest/main.py", line 154, in createTests
self.test = loader.discover(self.start, self.pattern, self.top)
File "/usr/lib/python3.8/unittest/loader.py", line 346, in discover
raise ImportError('Start directory is not importable: %r' % start_dir)
ImportError: Start directory is not importable: 'src'
root@robins-desktop:/home/robins/tech/financial-extension#

`

from financials-extension.

cmallwitz avatar cmallwitz commented on September 16, 2024

from financials-extension.

cmallwitz avatar cmallwitz commented on September 16, 2024

from financials-extension.

R7914T avatar R7914T commented on September 16, 2024

I have just downloaded the oxt ext from your site on github. I put it into a directory under home. Checked that it was executable.

From the Ext Manager I tried to add the oxt file in, but the error message states that it does not exist in the uno_packages temp dir.

I also tried 2X clicking the file on the disk. Ext manager opens it but gives the same error message.

from financials-extension.

R7914T avatar R7914T commented on September 16, 2024

I tried to install it manually by placing the oxt file into a sub dir with the same name and path as in the error message as above.

I can see it in the ext manager but it has an error: the status of this extension is unknown.

When I clicked on the enable button it stated:

Insert duplicate implementation name
com.financials.getinfo.python.FinancialsImpl
(Button for ok when clicked does not install)

from financials-extension.

R7914T avatar R7914T commented on September 16, 2024

I have it working. I found a backup of the .config/ libreoffice directory. I deleted it on the HD and then restored the backup. Without deleting it was unable to restore the F-E files, so some of the problem must have been to do with permissions but it did not look like it when I examined the directory settings. I checked the drive structure. There were no errors.

Otherwise, I do not know why I could not reinstall without resorting to the backup.

from financials-extension.

cmallwitz avatar cmallwitz commented on September 16, 2024

from financials-extension.

cmallwitz avatar cmallwitz commented on September 16, 2024

Closing this in the meantime...

from financials-extension.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.