Convert csv to dbf failed (headless)

Hi,

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

Input-Table (csv):

“a”;“b”;“c”;“d”

“1”;“2”;“3”;“4”

Command (Ubuntu 16.04, LO 6.2.8.2 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

Output:
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?

Andreas

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 6.2.8.2 / 6.3.6.2 / 6.4.7.2 / 7.0.3.1 on openSUSE Leap 15.2 using TDF packages (libreoffice.org / not distro packages).

On Ubuntu 18.04 using LibreOffice 6.2.8.2 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 7.0.4.2 00(Build:2)

Thx!

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