[GRASS-dev] Re: [GRASS GIS] #1141: GLWindow.OnPaint() broken on Windows

GRASS GIS trac at osgeo.org
Thu Aug 26 05:03:16 EDT 2010


#1141: GLWindow.OnPaint() broken on Windows
----------------------------+-----------------------------------------------
 Reporter:  glynn           |       Owner:  grass-dev@…              
     Type:  defect          |      Status:  new                      
 Priority:  normal          |   Milestone:  6.4.0                    
Component:  wxGUI           |     Version:  unspecified              
 Keywords:  nviz, wingrass  |    Platform:  MSWindows XP             
      Cpu:  All             |  
----------------------------+-----------------------------------------------

Comment(by glynn):

 Replying to [ticket:1141 glynn]:

 > although the wxGUI crashes shortly afterwards (in Gs_loadmap_as_short(),
 AFAICT).

 FWIW, this should be fixed by r43279. fmode.o doesn't help with libraries
 which are loaded at run-time (e.g. via ctypes), which meant that open()
 was opening files in text mode, resulting in EOF at the first Ctrl-Z byte
 (\x1a), as well as performing CRLF->LF conversion.

 With the !OnPaint/DoPaint change (r43280), wxNviz now works (for me) on
 Windows, although using it does result in Python crashing when you quit
 the GUI.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1141#comment:3>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list