Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Veyon Community Forum

  1. Home
  2. Help & Troubleshooting
  3. veyon-ctl networkobjects import bug ?

veyon-ctl networkobjects import bug ?

Scheduled Pinned Locked Moved Help & Troubleshooting
1 Posts 1 Posters 308 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zeltron80
    wrote on last edited by zeltron80
    #1

    Hi,

    Working now with veyon-4.1.4.0 and Windows 10
    It seems import room/computers config from csv files doesn't work
    First :
    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;123.45.67.89;00:11:22:33:44:55:66;Room1
    pc-2;123.45.67.90;00:11:22:33:44:55:67;Room1
    pc-3;123.45.67.91;00:11:22:33:44:55:68;Room1
    

    (room created before with networkobjects add room)
    and I import it with this parameter :

    format "%name%;%host%;%mac%;%room%"
    

    It "works" (OK message), but I have only one PC in Veyon, which name is :

    pc-1;123.45.67.89;00:11:22:33:44:55:66;Room1pc-2;123.45.67.90;00:11:22:33:44:55:67;Room1pc-3
    

    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 ?

    Thanks
    E.T.

    1 Reply Last reply
    0

    Powered by NodeBB | Contributors
    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups