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

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

Date: Sun, 16 May 2010 12:15:50 -0700
From: Michael Barton <Michael.Barton@asu.edu>
Subject: [GRASS-dev] save to graphics file broken in 6.5
To: GRASS developers grass-developers <grass-dev@lists.osgeo.org>
Message-ID: <7F8ECE8C-9F0D-4E62-8956-EDE3B2CC1364@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'