Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
if radioBoxSource.GetSelection():
arrayValue[4]=dynSizer.GetChildren()[1].GetWindow().GetValue()
else:
arrayValue[5]=dynSizer.GetChildren()[1].GetWindow().GetValue()
Normally you get an unicode error if you try to add normal strings that contains characters with an ordinal > 128. But you won't get an error, if these strings are unicode strings. So I guess your GetValue() doesn't return an unicode string (as it should) but a normal string. You can prove this if you try:
print type(dynSizer.GetChildren()[1].GetWindow().GetValue())
It will return <type 'str'> instead of <type 'unicode'> I suppose.
What type of control is it you are querying there? And from where has it gotten its value?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!