unoconv / unoserver

MIT License
495 stars 69 forks source link

The value of --host-location ignored for outfile #97

Closed HirotoKagotani closed 5 months ago

HirotoKagotani commented 7 months ago

When I install and run unoserver and LibreOffice on a VirtualBox guest machine, then I run unoconvert on the VirtualBox host:

unoconvert --host-location remote --host 127.0.0.1 sample.docx sample.pdf

the outfile "sample.pdf" is created in the guest machine. (Note: port 2003 is forwarded to the guest machine)

The outpath argument for the remote methods convert() and compare() should be None when self.remote is True.

regebro commented 6 months ago

Good point, I had not considered the context of port forwarding.

regebro commented 5 months ago

2.0.1 released