Re: (resolved) Re: [libreoffice-users] libreoffice grabs network port

2022-04-25 Thread Dave Howorth
On Mon, 25 Apr 2022 17:05:12 +0100 Mike Scott wrote: [snip] > All's well that end's well, I guess. Mojolicious has a steep learning > curve, but is much easier and cleaner to use than php for this job. > LO works, albeit slowly -- ~20 seconds to do the .odt->.doc > conversion on a pi4. > > Ag

(resolved) Re: [libreoffice-users] libreoffice grabs network port

2022-04-25 Thread Mike Scott
On 22/04/2022 15:38, Dave Howorth wrote: What investigation have you done? Why do you think the problem is with LO rather than with mojolicious or somewhere in between? Also, what is runcmd()? Sorry, should have said it's a wrapper for perl's open3() (itself a wrapper for system() ) whi

Re: [libreoffice-users] libreoffice grabs network port

2022-04-22 Thread Dave Howorth
On Fri, 22 Apr 2022 15:05:53 +0100 Mike Scott wrote: > Hi all. A bit of a saga for me. > > I'm using LO headless from within a web server. > > The server is the perl-based mojolicious, and calls LO do do some > file conversions from .odt to .doc and pdf. > > LO is called like: > runcmd( 'soffi

[libreoffice-users] libreoffice grabs network port

2022-04-22 Thread Mike Scott
Hi all. A bit of a saga for me. I'm using LO headless from within a web server. The server is the perl-based mojolicious, and calls LO do do some file conversions from .odt to .doc and pdf. LO is called like: runcmd( 'soffice', '--headless', '--convert-to', $filter, '--outdir', $outdir, $odt