[GRASS-dev] Re: [GRASS GIS] #1026: Problems starting grass7 from tcsh

GRASS GIS trac at osgeo.org
Thu Apr 1 17:31:07 EDT 2010


#1026: Problems starting grass7 from tcsh
----------------------+-----------------------------------------------------
  Reporter:  huhabla  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  normal   |   Milestone:  7.0.0                    
 Component:  default  |     Version:  svn-trunk                
Resolution:           |    Keywords:  tcsh                     
  Platform:  Linux    |         Cpu:  x86-32                   
----------------------+-----------------------------------------------------
Comment (by glynn):

 Replying to [ticket:1026 huhabla]:
 > I am unable to start grass from tcsh.
 > The following error occurs:
 >
 {{{
     mail_re = re.compile(r"^ *set  *mail *= *")
 NameError: global name 're' is not defined
 }}}
 >
 > This may be related to a missing regular expression module import?

 Yep. This should be fixed by r41652.

 > Getting grass7 started in a tcsh using the fix above and trying to start
 the gui result in an error:
 {{{
 > r.info
 No protocol specified
 Unable to access the X Display, is $DISPLAY set properly?

 > echo $DISPLAY
 :0
 }}}

 This is a separate issue. However, you might try:
 {{{
 export DISPLAY=unix:0
 }}}

 If that fixes it, it would appear to be an issue with your version of
 wxWidgets (possibly using xcb directly rather than Xlib?).

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


More information about the grass-dev mailing list