Opened 15 years ago
Closed 10 years ago
#1026 closed defect (fixed)
Problems starting grass7 from tcsh
Reported by: | huhabla | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.0.0 |
Component: | Default | Version: | svn-trunk |
Keywords: | tcsh | Cc: | |
CPU: | x86-32 | Platform: | Linux |
Description
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
Change History (5)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Setting the display variable unfortunately does not help:
grass_dev/grass_trunk> r.buffer No protocol specified Unable to access the X Display, is $DISPLAY set properly? grass_dev/grass_trunk> echo $DISPLAY :0 grass_dev/grass_trunk> setenv DISPLAY unix:0 grass_dev/grass_trunk> echo $DISPLAY unix:0 grass_dev/grass_trunk> r.buffer No protocol specified Unable to access the X Display, is $DISPLAY set properly? grass_dev/grass_trunk> setenv DISPLAY `hostname`:0 grass_dev/grass_trunk> r.buffer Unable to access the X Display, is $DISPLAY set properly? grass_dev/grass_trunk> grass_dev/grass_trunk> wx-config --version-full 2.8.10.1 grass_dev/grass_trunk> cat /etc/SuSE-release openSUSE 11.2 (i586) VERSION = 11.2 grass_dev/grass_trunk>
As default the variable DISPLAY set to :0 in my shell, which works with any other programs outside of grass.
comment:4 by , 10 years ago
Keywords: | needinfo added |
---|
comment:5 by , 10 years ago
Keywords: | needinfo removed |
---|---|
Resolution: | → fixed |
Status: | new → closed |
X Display got removed from GRASS GIS 7 - this report is 5 years old. Closing.
Note:
See TracTickets
for help on using tickets.
Replying to huhabla:
Yep. This should be fixed by r41652.
This is a separate issue. However, you might try:
If that fixes it, it would appear to be an issue with your version of wxWidgets (possibly using xcb directly rather than Xlib?).