Ticket #90 (closed defect: fixed)

Opened 3 years ago

Last modified 5 hours ago

grass-pkg: wrong version in apps/grass/bin/ scripts

Reported by: hamish Owned by: osgeo4w-dev@…
Priority: trivial Component: Package
Version: Keywords: grass
Cc:

Description

Hi,

this is the 6.4.0svn-2 package.

the /c/OSGeo4W/apps/grass/bin/grass64 and grass64.bat scripts have not been modified to reflect the current version and directory layout. They both still contain "6.4.0RC4" in the GISBASE path name, which doesn't exist.

thanks, Hamish

Change History

follow-ups: ↓ 2 ↓ 3   Changed 3 years ago by jef

  • priority changed from major to trivial

those scripts are unused. grass64.bat in %OSGEO4W_ROOT%\bin has been updated.

in reply to: ↑ 1   Changed 3 years ago by hamish

Replying to jef:

those scripts are unused. grass64.bat in %OSGEO4W_ROOT%\bin has been updated.

ok. we had a user report all sorts of problems trying to start GRASS from the provided Msys unix terminal (Vista 64bit). I tried too and hit that script and so filed the bug. Once corrected we get a "Redirection is not supported" error while running the $GISBASE/etc/set_data interactive curses text startup program. From the DOS box and Start Menu icons it all starts ok.

 http://thread.gmane.org/gmane.comp.gis.grass.user/29660  http://thread.gmane.org/gmane.comp.gis.grass.user/29628/focus=29730

thanks, Hamish

in reply to: ↑ 1 ; follow-up: ↓ 4   Changed 3 years ago by hamish

Replying to jef:

those scripts are unused. grass64.bat in %OSGEO4W_ROOT%\bin has been updated.

[scripts are still used if grass is launched from the msys terminal]

c:\osgeo4w\apps\grass\bin\grass64 (.sh) has had PYTHONPATH and other stuff removed from it in the osgeo4w version:

mswindows/GRASS-Installer.nsi

FileWrite $0 '# Set the PYTHONPATH variable$\r$\n'
FileWrite $0 'PYTHONPATH="$$GISBASE/etc/python:$$GISBASE/Python25:$$PYTHONPATH"$\r$\n'
FileWrite $0 'export PYTHONPATH$\r$\n'
FileWrite $0 'PYTHONHOME="$INSTALL_DIR\Python25"$\r$\n'
FileWrite $0 'export PYTHONHOME$\r$\n'

see  http://trac.osgeo.org/grass/ticket/623#comment:6

Hamish

in reply to: ↑ 3   Changed 3 years ago by hamish

Replying to hamish:

Replying to jef:

those scripts are unused. grass64.bat in %OSGEO4W_ROOT%\bin has been updated.

[scripts are still used if grass is launched from the msys terminal]

e.g. the instructions at  https://trac.osgeo.org/grass/wiki/CompileOnWindows suggest to use them. (even though users doing that would have already set the new paths themselves as part of the build ...)

c:\osgeo4w\apps\grass\bin\grass64 (.sh) has had PYTHONPATH and other stuff removed from it in the osgeo4w version:

Sorry, I speak terrible lies. No such thing has been done. There was a bug in Init.sh that was blocking PYTHONPATH from getting set. Now fixed in SVN.

see  http://trac.osgeo.org/grass/ticket/623

and today's UPDATES:  https://trac.osgeo.org/grass/wiki/CompileOnWindows

(r.li's Makefile now fixed, etc...)

Hamish

  Changed 2 years ago by neteler

Is this still an issue?

Markus

  Changed 2 years ago by hamish

I'm not sure, the OSGeo4W GRASS build hasn't been updated since 14 Oct 2009.

Hamish

  Changed 5 hours ago by martinl

  • status changed from new to closed
  • resolution set to fixed

The situation change a lot, last comment is 2 years old. Closing...

Note: See TracTickets for help on using tickets.