[GRASS-dev] Re: [GRASS GIS] #1355: Error starting wxpython v.digit session

GRASS GIS trac at osgeo.org
Tue May 3 13:35:28 EDT 2011


#1355: Error starting wxpython v.digit session
---------------------------+------------------------------------------------
 Reporter:  epatton        |       Owner:  grass-dev@…              
     Type:  defect         |      Status:  new                      
 Priority:  normal         |   Milestone:  6.5.0                    
Component:  Python ctypes  |     Version:  svn-develbranch6         
 Keywords:  G_gisinit()    |    Platform:  Linux                    
      Cpu:  x86-32         |  
---------------------------+------------------------------------------------
Changes (by martinl):

  * keywords:  v.digit => G_gisinit()
  * component:  wxGUI => Python ctypes


Comment:

 It's ctypes bug in GRASS 6 (in GRASS 7 working).

 {{{
 >>> from grass.lib.gis import *
 >>> G_gisinit('')
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/usr/local/src/grass6_devel/dist.i686-pc-linux-
 gnu/etc/python/grass/lib/gis.py", line 6986, in G_gisinit
     return (G__gisinit (GIS_H_VERSION, pgm))
 NameError: global name 'G__gisinit' is not defined
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1355#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list