Converting CSV to .ods Format

asked 2015-10-23 17:18:55 +0100

MichaelJohn gravatar image

updated 2016-03-16 13:07:19 +0100

Alex Kemp gravatar image

I am running LibreOffice under Linux Mint 13. Currently I am developing an application written in Python that needs to convert a CSV file into a .ods file. If I use the command "soffice --headless --convert-to ods -outdir /tmp /tmp/tmpPMQama" where "tmpPMQama" is a temporary file in CSV format the .ods file is created only if I run it as 'root' despite the '/tmp' directory being 'rwxrwxrwx' - i.e. read & write for everyone. Running the application as 'root' is unacceptable for many reasons but if the file is not converted the application cannot move to the next stage.

Any suggestions much appreciated...

edit retag flag offensive close merge delete