Comment 6 for bug 1926292

Revision history for this message
alex conte (aconte) wrote :

Hello I tried the command you send me and I got this message:

Traceback (most recent call last):
  File "/snap/autoinstall-generator/80/usr/bin/autoinstall-generator", line 56, in <module>
    sys.exit(main())
  File "/snap/autoinstall-generator/80/usr/bin/autoinstall-generator", line 47, in main
    out = convert_file(infile, args)
  File "/snap/autoinstall-generator/80/lib/python3.6/site-packages/autoinstall_generator/merging.py", line 206, in convert_file
    directives.append(convert(line.strip('\n'), idx + 1))
  File "/snap/autoinstall-generator/80/lib/python3.6/site-packages/autoinstall_generator/convert.py", line 280, in convert
    return dispatch(line, pkg, key, value, linenumber)
  File "/snap/autoinstall-generator/80/lib/python3.6/site-packages/autoinstall_generator/convert.py", line 251, in dispatch
    return debconf_fragment(value, line, linenumber)
  File "/snap/autoinstall-generator/80/lib/python3.6/site-packages/autoinstall_generator/convert.py", line 163, in debconf_fragment
    key = f'{chunks[0]} {chunks[1]}'
IndexError: list index out of range

Regards.