Opened 8 years ago

Closed 8 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

Description

After updating wxPython 2.8.12.1, the wxGUI Composer doesn't start

Traceback (most recent call last):
  File "gui_modules/psmap.py", line 1710, in <module>
    main()
  File "gui_modules/psmap.py", line 1704, in main
    frame = PsMapFrame()
  File "gui_modules/psmap.py", line 138, in __init__
    preview = False)
  File "gui_modules/psmap.py", line 979, in __init__
    dc = wx.PaintDC(self)
  File "C:\OSGeo4w\apps\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", 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 Changed 8 years ago by annakrat

Cc: annakrat added

Can someone test r50414 (in release branch)?

Anna

comment:2 in reply to:  1 Changed 8 years ago by martinl

Cc: grass-dev@… added; annakrat removed
Milestone: 6.4.26.5.0
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 Changed 8 years ago by annakrat

Resolution: fixed
Status: newclosed

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

Note: See TracTickets for help on using tickets.