Opened 10 years ago
Closed 10 years ago
#2397 closed defect (invalid)
$GISBASE/etc/gui to $GISBASE/gui
Reported by: | babayoshihiko | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 7.0.0 |
Component: | wxGUI | Version: | unspecified |
Keywords: | Cc: | ||
CPU: | OSX/Intel | Platform: | MacOSX |
Description
GRASS cannot find grass.ico in $GISBASE/etc/gui/icons during startup.
Since 7.0.0beta3, it seems $GISBASE/etc/gui has moved to $GISBASE/gui. However, $GISBASE/gui/wxpython/core/globalvar.py, which is created during the build process, still contains lines:
ETCDIR = os.path.join(os.getenv("GISBASE"), "etc") ETCICONDIR = os.path.join(os.getenv("GISBASE"), "etc", "gui", "icons") ETCWXDIR = os.path.join(ETCDIR, "gui", "wxpython") ETCIMGDIR = os.path.join(ETCDIR, "gui", "images") ETCSYMBOLDIR = os.path.join(ETCDIR, "gui", "images", "symbols")
I've been looking around the source's corresponding file , i.e. gui/wxpython/core/globalvar.py:
ETCDIR = os.path.join(os.getenv("GISBASE"), "etc") GUIDIR = os.path.join(os.getenv("GISBASE"), "gui") WXGUIDIR = os.path.join(GUIDIR, "wxpython") ICONDIR = os.path.join(GUIDIR, "icons") IMGDIR = os.path.join(GUIDIR, "images") SYMBDIR = os.path.join(IMGDIR, "symbols")
but fixing this file doesn't solve the issue.
My OS is MacOSX 10.9 and all the depending libraries are installed by Fink.
Change History (4)
follow-up: 2 comment:1 by , 10 years ago
comment:2 by , 10 years ago
Thank you for your comments. However, unfortunately I am the package maintainer, and
7.0.0beta2 builds fine 7.0.0beta3 builds fine if two files are backported to use $GISBASE/etc/gui I built 7.0.0beta3 in clean environment several times
It's true that Fink installs almost everything in non-standard /sw. But I don't think this is the issue here.
follow-up: 4 comment:3 by , 10 years ago
Replying to babayoshihiko:
However, $GISBASE/gui/wxpython/core/globalvar.py, which is created during the build process, still contains lines:
It's "created" in the sense that it's copied from gui/wxpython/core/globalvar.py to $(ARCH_DISTDIR)/gui/wxpython/core/globalvar.py.
The old version doesn't exist in the source tree and cannot be created as part of the build process. The only ways I can imagine ending up with an old version are
- An unclean source tree (e.g. from using "svn update" on a working copy which contains modifications).
- Being left behind from a previous version, and not replaced during build or installation.
- Being copied from a previous version during build or installation.
comment:4 by , 10 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
You both are right. It was simply my mistake that RUN_GISBASE=/previous/grass/installation was passed to make. Sorry about the fuss.
It seems that there is something wrong with your installation. Please ask the provider of the package for Mac.