It happens only to me?
If I test with the bluetooth console a script, the font in Text UI control is always the same (normal, green), and if I try to read the font in use Python close. (Nokia 6600)
Deep: python console crash (emulator, too!) if I write:
t=appuifw.Text()
t.font='LatinBold17'
-----> instead of
t.font=u'LatinBold17'
So, i put o string, not unicode.
Originally posted by pimol It happens only to me?
If I test with the bluetooth console a script, the font in Text UI control is always the same (normal, green), and if I try to read the font in use Python close. (Nokia 6600)
Deep: python console crash (emulator, too!) if I write:
t=appuifw.Text()
t.font='LatinBold17'
-----> instead of
t.font=u'LatinBold17'
So, i put o string, not unicode.
Pietro
Verified and fixed. That code now raises a ValueError instead of crashing. The fix will be included in build 1.1.5.