Conrad Woo
2005-04-09 00:43:41 UTC
The first time I compiled and ran bp.py to just test if it worked or not, I
clicked on the wallpaper tab, and I immedietly got an exception. Everytime
I try to compile and run bp.py now, I get the same exception right off the
bat. How do I get rid of this exception as the program completely crashes
after this point?
The message was
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "C:\bitpim\aggregatedisplay.py", line 137, in OnPaint
dc=wx.BufferedPaintDC(self, self._bufbmp, style=wx.BUFFER_VIRTUAL_AREA)
AttributeError: 'module' object has no attribute 'BUFFER_VIRTUAL_AREA'
Variables by last 8 frames, innermost last
Frame ? in bp.py at line 79
profile = <function profile at 0x008DDA70>
__file__ = 'bp.py'
__name__ = '__main__'
__doc__ = 'Main entry point to Bitpim\n\nIt invokes BitPim in gui
or commandline mode as a
Frame run in C:\bitpim\gui.py at line 460
args = (['bp.py'],)
m = <gui.MainApp; proxy of C++ wxPyApp instance at
_580d8c00_p_wxPyApp>
Frame MainLoop in C:\Python23\Lib\site-packages\wx\_core.py at line 5262
self = <gui.MainApp; proxy of C++ wxPyApp instance at
_580d8c00_p_wxPyApp>
Frame MainLoop in C:\Python23\Lib\site-packages\wx\_core.py at line 4732
args = (<gui.MainApp; proxy of C++ wxPyApp instance at
_580d8c00_p_wxPyApp>,)
kwargs = Keys []
{}
Frame <lambda> in C:\Python23\Lib\site-packages\wx\_core.py at line 10673
event = <wx._core.PyEvent; proxy of C++ wxPyEvent instance at
_00a3f801_p_wxPyEvent>
Frame OnPopulateEverythingFromDisk in C:\bitpim\gui.py at line 1077
self = <gui.MainWindow; proxy of C++ wxFrame instance at
_d088b701_p_wxFrame>
results = Keys ['calendar', 'categories', 'memo', 'phonebook',
'ringtone-index', 'sms', 'todo', 'wallpaper-index']
{'phonebook': {}, 'sms': {}, 'todo': {}, 'calendar': {},
'memo': {}, 'wallpaper-
_ = None
Frame SafeYield in C:\Python23\Lib\site-packages\wx\_core.py at line 5039
args = ()
kwargs = Keys ['onlyIfNeeded']
{'onlyIfNeeded': True}
Frame OnPaint in C:\bitpim\aggregatedisplay.py at line 137
sz = wx.Size(1132, 729)
self = <aggregatedisplay.Display; proxy of C++ wxScrolledWindow
instance at _f80c4401_p
event = <wx._core.PaintEvent; proxy of C++ wxPaintEvent instance
at _5ced1200_p_wxPaintE
Conrad Woo
clicked on the wallpaper tab, and I immedietly got an exception. Everytime
I try to compile and run bp.py now, I get the same exception right off the
bat. How do I get rid of this exception as the program completely crashes
after this point?
The message was
An unexpected exception has occurred.
Please see the help for details on what to do.
Traceback (most recent call last):
File "C:\bitpim\aggregatedisplay.py", line 137, in OnPaint
dc=wx.BufferedPaintDC(self, self._bufbmp, style=wx.BUFFER_VIRTUAL_AREA)
AttributeError: 'module' object has no attribute 'BUFFER_VIRTUAL_AREA'
Variables by last 8 frames, innermost last
Frame ? in bp.py at line 79
profile = <function profile at 0x008DDA70>
__file__ = 'bp.py'
__name__ = '__main__'
__doc__ = 'Main entry point to Bitpim\n\nIt invokes BitPim in gui
or commandline mode as a
Frame run in C:\bitpim\gui.py at line 460
args = (['bp.py'],)
m = <gui.MainApp; proxy of C++ wxPyApp instance at
_580d8c00_p_wxPyApp>
Frame MainLoop in C:\Python23\Lib\site-packages\wx\_core.py at line 5262
self = <gui.MainApp; proxy of C++ wxPyApp instance at
_580d8c00_p_wxPyApp>
Frame MainLoop in C:\Python23\Lib\site-packages\wx\_core.py at line 4732
args = (<gui.MainApp; proxy of C++ wxPyApp instance at
_580d8c00_p_wxPyApp>,)
kwargs = Keys []
{}
Frame <lambda> in C:\Python23\Lib\site-packages\wx\_core.py at line 10673
event = <wx._core.PyEvent; proxy of C++ wxPyEvent instance at
_00a3f801_p_wxPyEvent>
Frame OnPopulateEverythingFromDisk in C:\bitpim\gui.py at line 1077
self = <gui.MainWindow; proxy of C++ wxFrame instance at
_d088b701_p_wxFrame>
results = Keys ['calendar', 'categories', 'memo', 'phonebook',
'ringtone-index', 'sms', 'todo', 'wallpaper-index']
{'phonebook': {}, 'sms': {}, 'todo': {}, 'calendar': {},
'memo': {}, 'wallpaper-
_ = None
Frame SafeYield in C:\Python23\Lib\site-packages\wx\_core.py at line 5039
args = ()
kwargs = Keys ['onlyIfNeeded']
{'onlyIfNeeded': True}
Frame OnPaint in C:\bitpim\aggregatedisplay.py at line 137
sz = wx.Size(1132, 729)
self = <aggregatedisplay.Display; proxy of C++ wxScrolledWindow
instance at _f80c4401_p
event = <wx._core.PaintEvent; proxy of C++ wxPaintEvent instance
at _5ced1200_p_wxPaintE
Conrad Woo