Halium / projectmanagement

142 stars 32 forks source link

halium on cedric Golpe #263

Open Golpe82 opened 3 years ago

Golpe82 commented 3 years ago

Tree:

Golpe82 commented 3 years ago

when building system image i got errors in 2 files, this are the solutions:

Golpe82 commented 3 years ago

getting error

Traceback (most recent call last):
  File "/home/golpe/halium/out/host/linux-x86/bin/insertkeys.py", line 5, in <module>
    import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'

solved with line 5 import configparser line 111 class ParseConfig(configparser.ConfigParser): in out/host/linux-x86/bin/insertkeys.py

Golpe82 commented 3 years ago

getting error

Traceback (most recent call last):
  File "/home/golpe/halium/out/host/linux-x86/bin/insertkeys.py", line 260, in <module>
    key_map = config.generateKeyMap(options.target_build_variant.lower(), options.key_directory)
  File "/home/golpe/halium/out/host/linux-x86/bin/insertkeys.py", line 141, in generateKeyMap
    keyMap[tag] = GenerateKeys(path)
  File "/home/golpe/halium/out/host/linux-x86/bin/insertkeys.py", line 84, in __init__
    sys.exit("Detected erroneous line \""+ line + "\" on " + str(lineNo)
TypeError: can only concatenate str (not "bytes") to str

solved with: line 84 sys.exit("Detected erroneous line \""+ line.decode("utf-8") + "\" on " + str(lineNo) in out/host/linux-x86/bin/insertkeys.py

Golpe82 commented 3 years ago

getting error:

Detected erroneous line "-----BEGIN CERTIFICATE-----" on 1 in pem file: build/target/product/security//platform.x509.pem