ScrolledMessageDialog error

luisgustavo at petrobras.com.br luisgustavo at petrobras.com.br
Thu Mar 1 05:44:27 PST 2007


Friends,

        My program is failing when it tries to open a
ScrolledMessageDialog. The button works sometimes but after this bug it
won´t. open the dialog again:

Traceback (most recent call last):
  File "C:\svnteste\fouling\runner\fouling.py", line 429, in onExecClick
    dlg = wx.lib.dialogs.ScrolledMessageDialog(self, s, "message test")
  File
"C:\Python24\lib\site-packages\wx-2.8-msw-unicode\wx\lib\dialogs.py", line
38, in __init__
    style=wx.TE_MULTILINE | wx.TE_READONLY)
  File "C:\Python24\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py",
line 1690, in __init__
    _controls_.TextCtrl_swiginit(self,_controls_.new_TextCtrl(*args,
**kwargs))
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed at
..\..\src\msw\control.cpp(159) in wxControl::MSWCreateControl():
CreateWindowEx("EDIT", flags=52211844, ex=00000200) failed

       Does anybody have any Idea of what is causing this?

Thanks,
Luis



"O emitente desta mensagem é responsável por seu conteúdo e endereçamento.
Cabe ao destinatário cuidar quanto ao tratamento adequado. Sem a devida
autorização, a divulgação, a reprodução, a distribuição ou qualquer outra
ação em desconformidade com as normas internas do Sistema Petrobras são
proibidas e passíveis de sanção disciplinar, cível e criminal."

"The sender of this message is responsible for its content and addressing.
The receiver shall take proper care of it. Without due authorization, the
publication, reproduction, distribution or the performance of  any other
action not conforming to Petrobras System internal policies and procedures
is forbidden and liable to disciplinary, civil or criminal  sanctions."

" El emisor de este mensaje es responsable por su contenido y
direccionamiento. Cabe al destinatario darle el tratamiento adecuado. Sin
la debida autorización, su divulgación, reproducción, distribución o
cualquier otra acción no conforme a las normas internas del Sistema
Petrobras están prohibidas y serán pasibles de sanción disciplinaria, civil
y penal."





More information about the wxpython-users mailing list