Boa with wxPython 2.8

Hi -

I’ve upgraded from wxPython 2.6 to 2.8. I just upgraded from Boa 0.4.4 to 0.5.2 I get the following error message when I try to run Boa:

NameError: name ‘wxSTC_STYLE_DEFAULT’ is not defined

I can give the full output with stack trace, if necessary, but I would guess someone’s seen this before?

Any help would be greatly appreciated!

Thanks!

  • Aaron

Hello Aaron,

You might have to check boa code and change wxSTC_STYLE_DEFAULT to wx.STC_STYLE_DEFAULT however there might be many instances of this throughout the code.

Regards
Gary

Aaron Rubin wrote:

···

Hi -

I've upgraded from wxPython 2.6 to 2.8. I just upgraded from Boa 0.4.4 to 0.5.2 I get the following error message when I try to run Boa:

NameError: name 'wxSTC_STYLE_DEFAULT' is not defined

I can give the full output with stack trace, if necessary, but I would guess someone's seen this before?

Any help would be greatly appreciated!

Thanks!

- Aaron

Aaron Rubin wrote:

Hi -

I've upgraded from wxPython 2.6 to 2.8. I just upgraded from Boa 0.4.4 to 0.5.2 I get the following error message when I try to run Boa:

Have you asked about it on the BOA mail list?

NameError: name 'wxSTC_STYLE_DEFAULT' is not defined

I can give the full output with stack trace, if necessary, but I would guess someone's seen this before?

Please aways provide the stack trace. Without it we can't know if the exception is coming from Boa code, wxPython old namespace code, or your code.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!