[GRASS-dev] Re: [GRASS GIS] #827: standalone-installer: execution failed on g.proj.exe -p

GRASS GIS trac at osgeo.org
Sun Feb 21 14:08:42 EST 2010


#827: standalone-installer: execution failed on g.proj.exe -p
---------------------------+------------------------------------------------
  Reporter:  timmie        |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  normal        |   Milestone:  6.4.0                    
 Component:  Installation  |     Version:  svn-releasebranch64      
Resolution:                |    Keywords:  wingrass                 
  Platform:  MSWindows XP  |         Cpu:  x86-32                   
---------------------------+------------------------------------------------
Comment (by timmie):

 ''From a user who couldn't submit a ticket online I received this via
 email:''


 {{{
 D:\GRASS-64-SVN>grass64svn.bat
 warning: Not importing directory 'D:\GRASS-64-SVN\locale': missing
 __init__.py

 "Welcome to GRASS GIS" gui opens at this point, continues when "start
 grass"
 button is clicked

 warning: Not importing directory 'D:\GRASS-64-SVN\locale': missing
 __init__.py

 WARNING: Vector digitizer is not available (No module named
 grass6_wxvdigit).

 Note that the vector digitizer is currently not working under MS Windows
 (hopefully this will be fixed soon). Please keep an eye out for updated
 versions of GRASS.
 Traceback (most recent call last):
   File "d:/GRASS-64-SVN/etc/wxpython/wxgui.py", line 1805, in <module>
     sys.exit(main())
   File "d:/GRASS-64-SVN/etc/wxpython/wxgui.py", line 1798, in main
     app = GMApp(workspaceFile)
   File "d:/GRASS-64-SVN/etc/wxpython/wxgui.py", line 1723, in __init__
     wx.App.__init__(self, False)
   File
 "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
 unicode\wx\_core.py",
 line 7935, in __init__
   File
 "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
 unicode\wx\_core.py",
 line 7509, in _BootstrapApp
   File "d:/GRASS-64-SVN/etc/wxpython/wxgui.py", line 1741, in OnInit
     workspace = self.workspaceFile)
   File "d:/GRASS-64-SVN/etc/wxpython/wxgui.py", line 185, in __init__
     self.NewDisplay(show=False)
   File "d:/GRASS-64-SVN/etc/wxpython/wxgui.py", line 1222, in NewDisplay
     auimgr=self._auimgr, showMapDisplay=show)
   File "d:\GRASS-64-SVN\etc\wxpython\gui_modules\wxgui_utils.py", line 84,
 in __init__
     self.Map = render.Map()    # instance of render.Map to be associated
 with display
   File "d:\GRASS-64-SVN\etc\wxpython\gui_modules\render.py", line 402, in
 __init__
     self.projinfo = self.ProjInfo()
   File "d:\GRASS-64-SVN\etc\wxpython\gui_modules\render.py", line 758, in
 ProjInfo
     p = gcmd.Command(['g.proj', '-p'])
   File "d:\GRASS-64-SVN\etc\wxpython\gui_modules\gcmd.py", line 356, in
 __init__
     _("Error: ") + self.GetError()))
 gui_modules.gcmd.CmdError

 D:\GRASS-64-SVN>
 }}}

 she writes:

 the problem may be the two lines refering to

 {{{
 "C:\OSGeo4W\apps\Python25\lib\site-packages\wx-2.8-msw-
 unicode\wx\_core.py"
 }}}


 that directory does not exist on my pc

 seems that part of the script is 'hard coded'

 i also added output from process monitor (all references to _core.py)

 if formatting is screwed up then just copy and paste into a word
 prosessor,
 delete all newlines, then replace     with newlines and the formatting
 should be restored

 you will see that python is not able to locate the file after it looks for
 it C:\OSGeo4W

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


More information about the grass-dev mailing list