Opened 11 years ago

Closed 11 years ago

#1545 closed defect (fixed)

wxGUI Cartographic Composer

Reported by: martinl Owned by: annakrat
Priority: blocker Milestone: 6.5.0
Component: wxGUI Version: svn-releasebranch64
Keywords: cartographic composer, psmap Cc: grass-dev@…
CPU: Unspecified Platform: Unspecified


After updating wxPython, the wxGUI Composer doesn't start

Traceback (most recent call last):
  File "gui_modules/", line 1710, in <module>
  File "gui_modules/", line 1704, in main
    frame = PsMapFrame()
  File "gui_modules/", line 138, in __init__
    preview = False)
  File "gui_modules/", line 979, in __init__
    dc = wx.PaintDC(self)
  File "C:\OSGeo4w\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\", line 4823, in __init__
    _gdi_.PaintDC_swiginit(self,_gdi_.new_PaintDC(*args, **kwargs))
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed at ..\..\src\msw\dcclient.cpp(219) in wxPaintDC::wxPaintDC(): wxPaintDC may be created only in EVT_PAINT handler!

see #1141 for details. All active branches are affected.

Change History (3)

comment:1 by annakrat, 11 years ago

Cc: annakrat added

Can someone test r50414 (in release branch)?


in reply to:  1 comment:2 by martinl, 11 years ago

Cc: grass-dev@… added; annakrat removed
Owner: changed from grass-dev@… to annakrat

Replying to annakrat:

Can someone test r50414 (in release branch)?

seems to work. Ticket can be close when the bug will be fixed also in devbr6\trunk.

comment:3 by annakrat, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in 6.5 (r50451) and 7 (r50452).

Note: See TracTickets for help on using tickets.