unoconv / unoserver

MIT License
596 stars 81 forks source link

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

Closed HirotoKagotani closed 10 months ago

HirotoKagotani commented 1 year 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 10 months ago

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

regebro commented 10 months ago

2.0.1 released