[GRASS-dev] Fw: digitize error

Mohammed Rashad rashadkm at yahoo.com
Wed Jun 16 06:26:22 EDT 2010



 Traceback (most recent call last):
  File "/home/rashad/data_catalog/mapdisplay.py", line 388, in CheckPseudoDC
    self.pdc.SetBackground(b)
  File "/usr/local/grass-6.5.svn/etc/wxpython/vdigit/grass6_wxvdigit.py", line 384, in SetBackground
    def SetBackground(self, *args): return _grass6_wxvdigit.PseudoDC_SetBackground(self, *args)
TypeError: in method 'PseudoDC_SetBackground', argument 2 of type 'wxBrush const &'

--
Rashad



----- Forwarded Message ----
From: Mohammed Rashad <rashadkm at yahoo.com>
To: grass-dev at lists.osgeo.org
Sent: Wed, June 16, 2010 1:23:52 PM
Subject: digitize error


First I select add vector from menu
and selection digitize from toolbar
when selecting map from combobox, the following error is displayed.

Unable to initialize display driver of vector digitizer. See 'Command output' for details.

Reason: message=_("Unable to initialize display driver of vector "

Traceback (most recent call last):
  File "/usr/local/grass-6.5.svn/etc/wxpython/gui_modules/toolbars.py", line 1130, in StartEditing
    message=_("Unable to initialize display driver of vector "
DigitError: <unprintable DigitError object>

 
I think problem is

from gui_modules.toolbars.py
Line:1128
            try:
            if not self.parent.MapWindow.CheckPseudoDC():

and gui_modules.mapdisp_window.py
self.pdc.SetBackground(wx.Brush(self.GetBackgroundColour()))
Line :277
argument 2 expected of type wx.Brush


--
Rashad


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-dev/attachments/20100616/0fc8cdec/attachment.html


More information about the grass-dev mailing list