#1026: Problems starting grass7 from tcsh
---------------------+------------------------------------------------------
 Reporter:  huhabla  |       Owner:  [email protected]
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  7.0.0                    
Component:  default  |     Version:  svn-trunk                
 Keywords:  tcsh     |    Platform:  Linux                    
      Cpu:  x86-32   |  
---------------------+------------------------------------------------------
 I am unable to start grass from tcsh.
 The following error occurs:

 {{{
 Traceback (most recent call last):
   File "../../dist.i686-pc-linux-gnu/grass70.tmp", line 941, in <module>
     csh_startup()
   File "../../dist.i686-pc-linux-gnu/grass70.tmp", line 670, in
 csh_startup
     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?
 {{{
 import re
 }}}
 will fix the bug on my system.

 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

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1026>
GRASS GIS <http://grass.osgeo.org>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to