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)
michele:~$ python
Python 2.4.4c0 (#2, Apr 22 2006, 22:39:06)
[GCC 4.0.3 (Debian 4.0.3-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> wx.__version__
'2.6.3.2'
>>>
The same, on, win (the same py and wx versions) work
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?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
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.
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.
What are the values of title and msg?
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!
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.
michele:~$ python hylapex.py
'You have 10 new fax' 'New fax' <type 'str'> <type 'str'>
<-cut not wx code->
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
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.
michele:~$ python hylapex.py
'You have 10 new fax' 'New fax' <type 'str'> <type 'str'>
<-cut not wx code->
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
It's acting as if it is also expecting a unicode value for the 3rd parameter, but I don't see how that is possible unless something went strangely wrong with the build.
···
--
Robin Dunn
Software Craftsman http://wxPython.org Java give you jitters? Relax with wxPython!