f020f8 Overwrite LC_CTYPE

Authored and Committed by zbyszek 2 years ago
1 file changed. 1 lines added. 0 lines removed.
    Overwrite LC_CTYPE
    
    Build failed with the following:
    
    Traceback (most recent call last):
      File "./hwdb/parse_hwdb.py", line 195, in <module>
        groups = parse(fname)
      File "./hwdb/parse_hwdb.py", line 136, in parse
        parsed = grammar.parseFile(fname)
      File "/usr/lib/python3.6/site-packages/pyparsing.py", line 2142, in parseFile
        file_contents = f.read()
      File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 15765: ordinal not in range(128)
    
    In mock, LC_CTYPE is unset, so python3 defaults to ascii, uselessly.
    
    I think "ID_VENDOR_FROM_DATABASE=VENGIT Korlátolt Felelősségű Társaság"
    is the issue here.
    
        
file modified
+1 -0