veyon-ctl networkobjects import bug ?
zeltron80 last edited by zeltron80
Working now with veyon-188.8.131.52 and Windows 10
It seems import room/computers config from csv files doesn't work
If I export my networkobject conf with export command, clear the conf, and then use import command (exactly the same as export command, just replacing export with import), I receive an Error message, and conf stays empty.
(the %type% parameter is the cause, apparently : if I remove it from import command, and remove type fields in the csv file, no more error message).
But even, when I remove the %type% parameter (and fields), and get "OK", the import is bad :
It seems new lines are not detected : I get only one PC "imported", which name contains the whole file (including separators, but without new lines), excepting the last three fields. These last three fields of the file become missing parameters for the PC.
More clearly , if my file is :
pc-1;184.108.40.206;00:11:22:33:44:55:66;Room1 pc-2;220.127.116.11;00:11:22:33:44:55:67;Room1 pc-3;18.104.22.168;00:11:22:33:44:55:68;Room1
(room created before with networkobjects add room)
and I import it with this parameter :
It "works" (OK message), but I have only one PC in Veyon, which name is :
The three last fields are used as %host%, %mac% and %room% for this PC
I tried a lot of things (change caracter encoding from utf8 to others, try with the same file created under linux console, add \n or \r\n at the end of each line...). I always had the same issue.
Do I miss something ?