[GRASS-dev] [GRASS GIS] #1891: wingrass: background dosbox from regular wxgui startup
GRASS GIS
trac at osgeo.org
Sun May 5 13:38:31 PDT 2013
#1891: wingrass: background dosbox from regular wxgui startup
----------------------+-----------------------------------------------------
Reporter: hamish | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 6.4.3
Component: Default | Version: svn-releasebranch64
Keywords: wingrass | Platform: MSWindows 7
Cpu: x86-64 |
----------------------+-----------------------------------------------------
Comment(by hamish):
Replying to [comment:46 neteler]:
> Replying to [comment:45 hamish]:
> > [...] shipping the MS visual runtime dlls,
>
> No, not the case.
ok,
> I tested it by manually trying to start GRASS in cmd.exe. The error is
not the
> DLL hell but that the path is not found, something like
>
> "\GRASS not found bla bla"
>
> (German language, I tried to capture the screenshot but the file
disappeared
> while transiting back to Linux).
alright. the exact message might be useful, next time you're there could
you
try again to get the screenshot?
> In essence, the grass64svn.bat looks like this:
>
{{{
Program Files (x86)\GRASS GIS 6.4.3svn\grass64svn.bat
@echo off
rem
#########################################################################
rem #
rem # File dynamically created by NSIS installer script;
...
set GISBASE=C:\Program Files (x86)\GRASS GIS 6.4.3svn
call "%GISBASE%\etc\env.bat"
cd "%USERPROFILE%"
"%GISBASE%\etc\Init.bat" %*
}}}
>
> To me it looks like a problem of the unquoted GISBASE.
If you are thinking of the "set GISBASE=" line, AFAIK in batch files
anything to the right of the "=" becomes part of the string, so no need to
quote those. And if you do quote, they become a literal part of the string
as it doesn't parse them away.
> If anyone has winGRASS 6.4.3RC3 standalone installed, please compare if
this
> bat file also contains an unquoted GISBASE path setting with white
space.
(all works for me on 32bit XP, with no (x86) in the Program Files)
could you try adding some echo statements to $GISBASE/etc/env.bat and
$GISBASE/etc/Init.bat to see how far it gets?
thanks,
Hamish
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/1891#comment:47>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list