[GRASS-dev] [GRASS GIS] #2395: Startup runs as in Cygwin when CYGWIN is set although running as native application

GRASS GIS trac at osgeo.org
Tue Aug 19 23:47:15 PDT 2014


#2395: Startup runs as in Cygwin when CYGWIN is set although running as native
application
------------------------------------------------------+---------------------
 Reporter:  wenzeslaus                                |       Owner:  grass-dev@…              
     Type:  defect                                    |      Status:  new                      
 Priority:  normal                                    |   Milestone:  7.0.0                    
Component:  Startup                                   |     Version:  svn-releasebranch70      
 Keywords:  cygwin, wingrass, environmetal variables  |    Platform:  MSWindows 8              
      Cpu:  Unspecified                               |  
------------------------------------------------------+---------------------

Comment(by sindile):

 I have replaced etc\grass70.py with the attached grass.py (have renamed it
 to grass70.py) as per this email http://lists.osgeo.org/pipermail/grass-
 user/2014-August/070728.html

 This is the error I get,

 firstly I get a libgrass_gis.7.0.0beta3.dll missing error and then the
 following

 Cleaning up temporary files...
 Starting GRASS GIS...
 Unable to import pyGRASS: grass_gis.7.0.0beta3 not found.
 Some functionality will be not accessible

           __________  ___   __________    _______________
          / ____/ __ \/   | / ___/ ___/   / ____/  _/ ___/
         / / __/ /_/ / /| | \__ \\_  \   / / __ / / \__ \
        / /_/ / _, _/ ___ |___/ /__/ /  / /_/ // / ___/ /
        \____/_/ |_/_/  |_/____/____/   \____/___//____/

 Welcome to GRASS @GRASS_VERSION_NUMBER@
 GRASS homepage:                          http://grass.osgeo.org
 This version running through:            Bourne Shell
 (C:\OSGeo4W\apps\msys\bin\
 sh.exe)
 Help is available with the command:      g.manual -i
 See the licence terms with:              g.version -c
 If required, restart the GUI with:       g.gui wxpython
 When ready to quit enter:                exit

 Launching <wxpython> GUI in the background, please wait...
 GRASS @GRASS_VERSION_NUMBER@> Unable to import pyGRASS:
 grass_gis.7.0.0beta3 not
  found.
 Some functionality will be not accessible
 Traceback (most recent call last):
   File "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\wxgui.py",
 line 34,
 in <module>
     from lmgr.frame import GMFrame
   File
 "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\lmgr\frame.py", line
  50, in <module>
     from lmgr.layertree        import LayerTree, LMIcons
   File
 "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\lmgr\layertree.py",
 line 37, in <module>
     from mapdisp.frame        import MapFrame
   File
 "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\mapdisp\frame.py", l
 ine 35, in <module>
     from vdigit.toolbars    import VDigitToolbar
   File
 "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\vdigit\toolbars.py",
  line 30, in <module>
     from iclass.digit       import IClassVDigit
   File
 "C:\OSGeo4W\apps\grass\grass-7.0.0beta3\gui\wxpython\iclass\digit.py", li
 ne 23, in <module>
     from vdigit.wxdisplay import DisplayDriver, TYPE_AREA
 ImportError: cannot import name TYPE_AREA


 Furthermore I do not have a CYGWIN in my environmental variables defined.

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



More information about the grass-dev mailing list