#135 The bombs plugin is broken.

closed
nobody
None
5
2010-08-28
2010-08-26
No

The windows stays empty and the following traceback shows in the error log:

Traceback (most recent call last):
File "/home/bj/.drpython/drplugins/Bombs.py", line 173, in OnPaint
self.DrawField(memDC, 0, 0, numHorzCells - 1, numVertCells - 1)
File "/home/bj/.drpython/drplugins/Bombs.py", line 205, in DrawField
xMax = self.GetGridSizeInPixels().GetWidth()
AttributeError: 'tuple' object has no attribute 'GetWidth'

Discussion

  • The bombs plugin was a "fun" plugin from me. I translated it from a wxwigets source into wxpython. It seems, a change in wxPython 2.8(??) is the cause, it is not running anymore. Changed that line: self.GetGridSizeInPixels() returns a tuple.

     
    • status: open --> closed