[GRASS-dev] save to graphics file broken in 6.5

Michael Barton michael.barton at asu.edu
Sun May 16 15:53:38 EDT 2010


On May 16, 2010, at 12:47 PM, grass-dev-request at lists.osgeo.org wrote:

> Date: Sun, 16 May 2010 12:15:50 -0700
> From: Michael Barton <Michael.Barton at asu.edu>
> Subject: [GRASS-dev] save to graphics file broken in 6.5
> To: GRASS developers grass-developers <grass-dev at lists.osgeo.org>
> Message-ID: <7F8ECE8C-9F0D-4E62-8956-EDE3B2CC1364 at asu.edu>
> Content-Type: text/plain; charset="us-ascii"
> 
> I just discovered that save to graphics file is broken in GRASS 6.5. I haven't seen this come thought the list yet. Has anyone else noticed it?
> 
> I'm working with r38990 from a couple weeks back. Mac OS X 10.6
> 
> It fails completely silently. Nothing gets saved to disk but no error is given.
> 
> Michael

I was wrong about it failing silently. Here is the error.

Michael

Traceback (most recent call last):
  File "/Users/cmbarton/grass_dev/grass65_dev/dist.i386
-apple-darwin10.3.0/etc/wxpython/gui_modules/mapdisp.py",
line 1198, in SaveToFile

self.MapWindow.SaveToFile(path, type)
  File "/Users/cmbarton/grass_dev/grass65_dev/dist.i386
-apple-
darwin10.3.0/etc/wxpython/gui_modules/mapdisp_window.py",
line 612, in SaveToFile

self.buffer.SaveFile(FileName, FileType)
  File "/Applications/Grass/GRASS-6.5.app/Contents/MacOS/etc
/python/wx/_gdi.py", line 654, in SaveFile

return _gdi_.Bitmap_SaveFile(*args, **kwargs)
TypeError
:
in method 'Bitmap_SaveFile', expected argument 3 of type
'wxBitmapType'



More information about the grass-dev mailing list