Convert csv to dbf failed (headless)


i working a long time on this problem, without any result.

Input-Table (csv):



Command (Ubuntu 16.04, LO build2)
libreoffice --calc --headless --convert-to DBF --infilter=“csv:59,34,0,0,1/2/2/2/3/2/4/2,0,true,false,false” test.csv

convert /root/test.csv → /root/test.DBF using filter : dBase
Error: Please verify input parameters… (SfxBaseModel::impl_store <file:///root/test.DBF> failed: 0x20d(Error Area:Io Class:General Code:13))

I was testing some different commands with other setting eq. Charset. But nothings helped.

Windows 10:

“C:\Program Files\LibreOffice\program\scalc.exe” --headless --convert-to DBF --infilter=“csv:59,34,0,0,1/1/2/1/3/1/4/1,0,true,false,false” G:\test.csv --outdir G:\

Output: test.dbf - perfect!

Does anyone have an idea?


Convert dbf to csv failed

From the description details I take the title to read “Convert csv to dbf failed

No problem executing your command on LibreOffice / / / on openSUSE Leap 15.2 using TDF packages ( / not distro packages).

On Ubuntu 18.04 using LibreOffice from PPAppa:libreoffice/libreoffice-6-2 I get:

user@system:/tmp/> libreoffice --calc --headless --convert-to DBF --infilter="csv:59,34,0,0,1/2/2/2/3/2/4/2,0,true,false,false" test.csv
convert /tmp/test.csv -> /tmp/test.DBF using filter : dBase

So no problem as well (Got no Ubuntu 16.04 to test that as well).

@anon73440385: thx! i read your comment only now (i got no message). i will try it once again and report back!

Yeah! Testing on a new test-system (Ubuntu 20.04), fresh install → same problem. After

sudo apt-add-repository ppa:libreoffice/ppa
sudo apt update
sudo apt install libreoffice

everything fine! LibreOffice 00(Build:2)


Testing on Live-Server: After update the same Version number ( because of Ubuntu 16.04) - but it’s works too …