[COLOR=#000000][FONT=Times New Roman]A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.[/FONT][/COLOR]
[TABLE="width: 100%"]
[TR]
[TD="bgcolor: #d8bbff"] [URL="file:///home/www/www.mcdee.net/elite/scripts/bindings.py"]/home/www/www.mcdee.net/elite/scripts/bindings.py[/URL] in ()[/TD]
[/TR]
[TR]
[TD][COLOR=#909090] 566 # Save a copy of the file for debug purposes
[/COLOR][/TD]
[/TR]
[TR]
[TD][COLOR=#909090] 567 with open ('/home/www/www.mcdee.net/elite/configs/' + rnd, 'w') as xmlOutput:
[/COLOR][/TD]
[/TR]
[TR]
[TD="bgcolor: #ffccee"]=> 568 xmlOutput.write(xml)[/TD]
[/TR]
[TR]
[TD][COLOR=#909090] 569
[/COLOR][/TD]
[/TR]
[TR]
[TD][COLOR=#909090] 570 parser = etree.XMLParser(encoding='utf-8')
[/COLOR][/TD]
[/TR]
[TR]
[TD][COLOR=#909090][B]xmlOutput[/B] = <_io.TextIOWrapper name='/home/www/www.mcdee.net...nfigs/gkecqp' mode='w' encoding='ANSI_X3.4-1968'>, xmlOutput.[B]write[/B] = <built-in method write of _io.TextIOWrapper object>, [B]xml[/B] = '<?xml version="1.0" encoding="UTF-8" ?>[COLOR=#c040c0]\r\n[/COLOR]<Root P...leOn Value="0" />[COLOR=#c040c0]\r\n\t[/COLOR]</CamTranslateZHold>[COLOR=#c040c0]\r\n[/COLOR]</Root>'[/COLOR][/TD]
[/TR]
[/TABLE]
[COLOR=#000000][FONT=Times New Roman][B]UnicodeEncodeError[/B]: 'ascii' codec can't encode character '\u016f' in position 2101: ordinal not in range(128)
args = ('ascii', '<?xml version="1.0" encoding="UTF-8" ?>[COLOR=#c040c0]\r\n[/COLOR]<Root P...leOn Value="0" />[COLOR=#c040c0]\r\n\t[/COLOR]</CamTranslateZHold>[COLOR=#c040c0]\r\n[/COLOR]</Root>', 2101, 2102, 'ordinal not in range(128)')
encoding = 'ascii'
end = 2102
object = '<?xml version="1.0" encoding="UTF-8" ?>[COLOR=#c040c0]\r\n[/COLOR]<Root P...leOn Value="0" />[COLOR=#c040c0]\r\n\t[/COLOR]</CamTranslateZHold>[COLOR=#c040c0]\r\n[/COLOR]</Root>'
reason = 'ordinal not in range(128)'
start = 2101
with_traceback = <built-in method with_traceback of UnicodeEncodeError object>[/FONT][/COLOR]