[wxPython-users] wx message problem on debian
Michele Petrazzo
michele.petrazzo at unipex.it
Mon Jul 3 02:14:48 PDT 2006
Robin Dunn wrote:
> Michele Petrazzo wrote:
>> My application call a wx.MessageBox:
>>
>> File "hylapex.py", line 954, in contr_new_fax
>> wx.MessageBox(str(title), str(msg))
>> File
>> "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_misc.py",
>> line 483, in MessageBox
>> return _misc_.MessageBox(*args, **kwargs)
>
> What is the rest of the error message?
>
>
Excuse me:
File "hylapex.py", line 943, in contr_new_fax
wx.MessageBox(str(msg), str(title), wx.ICON_INFORMATION)
File
"/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_misc.py", line
483, in MessageBox
return _misc_.MessageBox(*args, **kwargs)
exceptions.TypeError: coercing to Unicode: need string or buffer, int found
Note that this happen _after_ the message are shown, so when I press on
"Ok" button.
Thank,
Michele
More information about the wxpython-users
mailing list