When I try to open a file in Boa on my AMD64,
I get the following error:
17:16:57: Traceback (most recent call last):
17:16:57: File “/usr/lib64/python2.3/site-packages/boa/Utils.py”, line 798, in
17:16:57: lambda event: apply(event.callable, event.args, event.kw) )
17:16:57: File “/usr/lib64/python2.3/site-packages/boa/Palette.py”, line 317, in OnCreateNew
17:16:57: self.editor.addNewPage(name, controller)
17:16:57: File “/usr/lib64/python2.3/site-packages/boa/Editor.py”, line 712, in addNewPage
17:16:57: controller.AdditionalViews, model.imgIdx)
17:16:57: File “/usr/lib64/python2.3/site-packages/boa/Editor.py”, line 604, in addModulePage
17:16:57: modulePage = ModulePage(notebook, model, defViews, views, spIdx, self)
17:16:57: File “/usr/lib64/python2.3/site-packages/boa/EditorUtils.py”, line 232, in__init__
17:16:57: self.addView(View)
17:16:57: File “/usr/lib64/python2.3/site-packages/boa/EditorUtils.py”, line 341, inaddView
17:16:57: panel, view = Utils.wxProxyPanel(self.notebook, View, self.model)
17:16:57: File “/usr/lib64/python2.3/site-packages/boa/Utils.py”, line 344, in wxProxyPanel
17:16:57: win = apply(Win, (panel,) + args, kwargs)
17:16:57: File “/usr/lib64/python2.3/site-packages/boa/Views/PySourceView.py”, line 87, in init
17:16:57: FoldingStyledTextCtrlMix.init(self, wxID_PYTHONSOURCEVIEW, foldMrg)
17:16:57: File “/usr/lib64/python2.3/site-packages/boa/Views/StyledTextCtrls.py”, line 54, in init
17:16:57: self.SetMarginMask(margin, wxSTC_MASK_FOLDERS)
17:16:57: File “/usr/lib/python2.3/site-packages/wxPython/stc_.py”, line 285, in SetMarginMask
17:16:57: val = stc_c.wxStyledTextCtrl_SetMarginMask(self, *_args, **_kwargs)
17:16:57: OverflowError: signed integer is greater than maximum
I believe this to result from the simple fact that on 64-bit system the largest possible integer is greater than the one on 32-bit systems. It seems that this is a problem with wxpython.
thanks
Flávio Codeço Coelho, PhD
Programa de Computação Científica
Fundação Oswaldo Cruz
Rio de Janeiro – Brasil