Comments (10)
Weird! I will let you know if I find an explanation.
Thanks.
from unoserver.
Try without --daemon
and see what happens. Maybe it crashes?
from unoserver.
$ sudo unoserver --executable /usr/lib/libreoffice/program/soffice.bin
[sudo] password for olivier:
INFO:unoserver:Starting unoserver.
INFO:unoserver:Command: /usr/lib/libreoffice/program/soffice.bin --headless --invisible --nocrashreport --nodefault --nologo --nofirststartwizard --norestore -env:UserInstallation=file:///tmp/tmp8ip81ibp --accept=socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext
$
Is there a log file somewhere?
from unoserver.
No, Libreoffice is very bad at logging. As a last attempt, try just running libreoffice. It seems it doesn't start properly.
from unoserver.
unoconvert is OK if I run this command in a separate shell:
/usr/lib/libreoffice/program/soffice.bin --headless --invisible --nocrashreport --nodefault --nologo --nofirststartwizard --norestore -env:UserInstallation=file:///tmp/tmp8ip81ibp --accept="socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ComponentContext"
from unoserver.
Since that is literally all Unoserver does, I can't explain that.
from unoserver.
Had the same problem, solved by doing:
$ unoserver --daemon --executable /usr/lib/libreoffice/program/soffice
Please note it's not soffice.bin, and please don't start it with sudo!
Then unoconvert worked. Tested in a python virtual env.
from unoserver.
Normally unoserver just calls libreoffice
, but unless you have a broken install somewhere, that would be /usr/lib/libreoffice
, which is a symlink to /usr/lib/libreoffice/program/soffice
, so I'm curious to why --executable /usr/lib/libreoffice/program/soffice
would make a difference.
from unoserver.
Normally unoserver just calls
libreoffice
, but unless you have a broken install somewhere, that would be/usr/lib/libreoffice
, which is a symlink to/usr/lib/libreoffice/program/soffice
, so I'm curious to why--executable /usr/lib/libreoffice/program/soffice
would make a difference.
Yes it works too without specifying the executable.
I specified that in case the OP needs it.
from unoserver.
True, they specified soffice.bin, I'll try to remember that if somebody else has this issue to see if that makes a difference.
from unoserver.
Related Issues (20)
- Issue with unoconverter initialization: Binary URP bridge disposed during call on Windows 10 HOT 1
- Error code -11 when converting docx to pdf via unoconvert HOT 7
- Details about concurrent executions of unoconv in the README could be useful HOT 5
- Unoserver PV6 Interface Support HOT 3
- Convert a specific PDF page to a PNG HOT 1
- Unoserver Hangs randomly HOT 3
- unoserver sometimes generates errored PDF files without crashing HOT 3
- Support for embedded images in HTML exports HOT 2
- Conversion errors when running in Docker containers HOT 1
- Sometimes
- Sometimes I get xmlrpc.client.Fault: <Fault 1: "<class 'unoserver.converter.com.sun.star.connection.NoConnectException'>:Connector : couldn't connect to socket (Connection refused) at ./io/source/connector/connector.cxx:118"> HOT 4
- Not all export filters seem to be able to handle private:stream HOT 4
- Convert works fine by soffice but unoconvert never complete with some file HOT 3
- Introducing timeout and retrying mechanism HOT 1
- How to convert just first page from Document to PDF?
- Option to Bind Domain Socket
- DeprecationWarning Is this slated to be fixed? HOT 2
- Troubleshooting unoconvert Network Connection Error on Ubuntu 22.04 with Python 3.10 and LibreOffice 7.3.7.2 in a Closed Network Environment HOT 7
- Why --uno-interface defaulting to --interface value instead of 127.0.0.1 HOT 2
- The value of --host-location ignored for outfile HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unoserver.