Opened 11 years ago

Last modified 11 years ago

#2068 closed defect

d.out.file fails — at Initial Version

Reported by: laurimyllyvirta Owned by: grass-dev@…
Priority: normal Milestone: 6.4.4
Component: wxGUI Version: 6.4.2
Keywords: display Cc:
CPU: x86-32 Platform: MSWindows 7

Description

Thank you so much for an amazing piece of free software.

When trying to save the display as an image in wxGUI, I get the error below. No image file gets created. I have tried to vary the contents of the display, the dimensions of the image etc. but the result is consistently the same.

Traceback (most recent call last):

File "C:\Program Files\GRASS

6.4.2\etc\wxpython\gui_modules\mapdisp.py", line 1159, in SaveToFile

width, height)

File "C:\Program Files\GRASS

6.4.2\etc\wxpython\gui_modules\mapdisp_window.py", line 575, in SaveToFile

dc = wx.BufferedPaintDC(self, ibuffer)

File "C:\Program Files\GRASS 6.4.2\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!

Change History (1)

by laurimyllyvirta, 11 years ago

Attachment: Clipboard-1.png added
Note: See TracTickets for help on using tickets.