ich habe ein kleine Tool mit wxpython entwickelt und es funktioniert fehlerfrei. Ich habe den Script mit py2exe konvertiert und beim Starten des exe ist folgende Fehler aufgetaucht:
Code: Alles auswählen
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7219: ordinal not in range(128)
Code: Alles auswählen
line_no_12 = [Lines.index(x) for x in Lines if ('<PORT format-rev="1" id="' + BUS_LIST[0] + '"' + ' toolId="VECTOR-HW01" xsi:type="port">') in x][0] + 1
kann man das irgendwie lösen?