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 <[email protected]>
To: [email protected]
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


      
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to