Hi
When I try to use "Save display to graphic file" in Windows I get this
error:
Traceback (most recent call last):
File "C:\Osgeo\apps\grass\grass-6.4.2\etc\wxpython\gui_mod
ules\mapdisp.py", line 1159, in SaveToFile
width, height)
File "C:\Osgeo\apps\grass\grass-6.4.2\etc\wxpython\gui_mod
ules\mapdisp_window.py", line 575, in SaveToFile
dc = wx.BufferedPaintDC(self, ibuffer)
File "C:\Osgeo\apps\Python27\lib\site-packages\wx-2.8-msw-
unicode\wx\_gdi.py", line 4990, in __init__
_gdi_.BufferedPaintDC_swiginit(self,_gdi_.new_BufferedPaintD
C(*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!
Traceback (most recent call last):
File "C:\Osgeo\apps\grass\grass-6.4.2\etc\wxpython\gui_mod
ules\mapdisp.py", line 1159, in SaveToFile
width, height)
File "C:\Osgeo\apps\grass\grass-6.4.2\etc\wxpython\gui_mod
ules\mapdisp_window.py", line 575, in SaveToFile
dc = wx.BufferedPaintDC(self, ibuffer)
File "C:\Osgeo\apps\Python27\lib\site-packages\wx-2.8-msw-
unicode\wx\_gdi.py", line 4990, in __init__
_gdi_.BufferedPaintDC_swiginit(self,_gdi_.new_BufferedPaintD
C(*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!
My GRASS version is 6.4.2 (installed with OSGEO4w).
Any tips on how to fix this?
Thanks
Antonio
--
António Rocha
Earth Observation Applications and Services
Av. D. João II, Lt 1.17.01 - 10º, Ed. Torre Zen
1998-023 Lisboa, Portugal
Ph: +351 21 893 30 23
Fax: +351 21 896 90 99
http://www.deimos.pt
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user