-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Has anyone had any luck integrating with Libreoffice 6.2.x or 6.3.x in a Linux environment? #46
Comments
Hi, How did you install LibreOffice? We have some Ubuntu 18.04 LTS servers running successfully with the version 6.3.0.4. Here is the link: http://downloadarchive.documentfoundation.org/libreoffice/old/6.3.0.4/deb/x86_64/LibreOffice_6.3.0.4_Linux_x86-64_deb.tar.gz Best regards, |
So, I'm running on Alpine and thus the only binary installs are from the Alpine repo. I guess there's something interesting going on with the Python/LO library integration that I haven't figured out yet. |
I’ve already tried to run Carbone in Alpine for a Docker image, but many things were missing and I didn’t succeed. Good luck with it, it’s hard 😄 |
Ok - I got one run out of it (docker/alpine) - I figured out how the python/libreoffice binding works (at least enough to be dangerous). I need to do a few more tests now to see if I've really got it. |
So, I have succeeded in figuring out how to integrate with 6.2.x and 6.3.x in Alpine (in Docker). Feel free to contact me if you would like to know what I had to do. Cheers! Nathan |
@ngaldridge I would be interested in this. Are you able to send a gist of your Dockerfile? |
Hi, We are investigating the idea again, we will come back to you. |
Hi @pdittaro You can take a look at carbone-docker if you want a packaged Docker image with a Carbone API exposed. (Upgraded to LibreOffice 6.3.3.1 this morning). You also could be interested in carbone-connect to have a similar Carbone JS API with some improvements (Promises and Streams). |
@ngaldridge would you be able to share your Alpine solution? I've got it working with @fleebzz's carbone-docker container (and using newer node images than the 8 one in there), but interested in seeing your Alpine one as well if available. Thanks. |
bcgov/alpine-node-libreoffice#7 I am running into an almost similar issue but the Office is the one that dies. Anyone with a solution ?
|
ngaldridge Hi there, could you share the install instruction on docker alpine 🙏 ? |
For anyone who may still be trying to get this running in Docker, I recently got this working for a project using |
After a long time without update I pushed two new versions of carbone-docker with some major upgrades:
Both versions include these upgrades :
Simplest way to integrate this Docker image is to use carbone-connect to have a similar Carbone JS API that will use a remote Carbone instance and with some improvements (Promises and Streams). |
Hello @fleebzz, For the past year, we've been publishing the latest versions of the Carbone Cloud API as containers on Docker Hub, which you can use for free: Docker Hub - Carbone. You'll have access to the latest Carbone version 4, featuring LibreOffice 24.8, with or without all fonts pre-installed. By default, it doesn't include enterprise features (such as dynamic pictures, charts, barcodes, etc.). To enable these features, please contact the Carbone team at [email protected]. When the server starts, you can interact with the following endpoints (the same as the Carbone Cloud API):
To easily interact with the Carbone Server, you can use one of our pre-made SDKs for Javascript, Node, Golang, PHP, and more: Carbone SDKs. Here is the documentation for Carbone Docker, where you'll find options and configurations (such as storing templates in S3 or Azure). Important announcement: We are excited to share that we will be releasing Carbone v5 as a Docker container in the coming days. This new version includes an even more efficient engine, numerous bug fixes, and a new DOCX to PDF converter that offers improved accuracy and rendering. |
Hi,
Has anyone had any luck integrating with a Libreoffice 6.2.x or 6.3.x in a linux environment?
I set PYTHONPATH="/usr/lib/libreoffice/program" so that Carbone can find Uno, but I get some strange errors when Carbone's converter.py is attempting to import from com.sun.star...
When I run the test program with Nodejs debug turned on, i get:
Thanks in advance for any advice!
Cheers,
Nathan
The text was updated successfully, but these errors were encountered: