[GRASS-dev] [GRASS GIS] #961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
------------------------------------+---------------------------------------
Reporter: stoyan | Owner: grass-dev@lists.osgeo.org
     Type: task | Status: new
Priority: normal | Milestone: 6.4.0
Component: default | Version: 6.4.0 RCs
Keywords: GRASS, problems, start | Platform: MSWindows XP
      Cpu: Unspecified |
------------------------------------+---------------------------------------
I downloaded WinGRASS-6.4.0-r40852-1 and installed GRASS on my laptop on
Windows XP Pro Platform, but I cannot start it. When I am trying to
execute wxPython inder Windows start menu, the window with cmd only
flashes and dissappears. When I am trying MSys Icon it says: "Echo
C\GRASS\Msys\lib is not a valid executable or operable command. The window
will close"... Press any button to continue
I installed GRASS in C:\GRASS directory.
When I tried to install it on another machine with Windows XP Professional
installed it runs OK. I have read all mailing lists, but couldn't find
such a problem so far. I don't know what should be the problem with my
operation system or my computer. Please help!

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: grass-dev@lists.osgeo.org
      Type: task | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by hamish):

  * keywords: GRASS, problems, start => winGRASS, problems, start
  * component: default => Installation

Comment:

can you try the latest nightly build?

http://josef.fsv.cvut.cz/wingrass/grass64/

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/961#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: grass-dev@lists.osgeo.org
      Type: task | Status: new
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by neteler):

Replying to [comment:1 hamish]:
> can you try the latest nightly build?
>
> http://josef.fsv.cvut.cz/wingrass/grass64/

Additionally, please check, when installing, if the files are properly
extracted or if a "skipped" appears. Please report here.

Markus

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/961#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by hamish):

* cc: grass-dev@lists.osgeo.org (added)

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/961#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by stoyan):

Replying to neteler:

I tried to find out if all files were extracted and I think they were.
It's the same, I cannot start the program. I tried to copy c:\GRASS from
another computer, where it works to my computer. Probably it is silly, I
don't know. :slight_smile: But nothing gets better. Still doesn't work. Obviously
there is something in my OS that prevents running GRASS. Any other ideas?

Stoyan

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/961#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:6 stoyan]:
> Replying to neteler:
>
> I tried to find out if all files were extracted and I think they were.
It's the same, I cannot start the program. I tried to copy c:\GRASS from
another computer, where it works to my computer. Probably it is silly, I
don't know. :slight_smile: But nothing gets better. Still doesn't work. Obviously
there is something in my OS that prevents running GRASS. Any other ideas?
>
> Stoyan

still valid with an actual nightly build from
http://josef.fsv.cvut.cz/wingrass/grass64/?

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by stoyan):

Yes, it is. I still cannot run Grass from my system. It doesn't start
after install. It doesn't matter if I install the actual nightly build or
not. I think about formatting the disk and create new installation of my
system (windows XP).

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:8 stoyan]:
> Yes, it is. I still cannot run Grass from my system. It doesn't start
after install. It doesn't matter if I install the actual nightly build or
not. I think about formatting the disk and create new installation of my
system (windows XP).

do you see in C:\GRASS\ following files and folders?

{{{
AUTHORS
bin
bwidget
CHANGES
COPYING
docs
driver
etc
extrabin
extralib
fonts
GPL.TXT
gpsbabel
GRASS-WebSite.url
grass64svn.bat
icons
include
lib
locale
msys
proj
Python25
REQUIREMENTS.html
scripts
sqlite
tcl-tk
tools
Uninstall-GRASS.exe
WinGRASS-README.url
}}}

can you try to install the latest installer from the nightly builds
(http://josef.fsv.cvut.cz/wingrass/grass64/) in C:\Program Files\GRASS-64-
SVN (this should be proposed by the wininstaller)?

and compare afterwards the list of above files and folders in C:\Program
Files\GRASS-64-SVN. any difference to the situation in C:\GRASS ?

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by stoyan):

Yes I installed the latest installer in C;\Program Files\GRASS-64-SVN and
saw all of the listed files and folders. But there is another interesting
thing. The last rows of the install window were:
"Create folder: C:\Program Files\GRASS-64-SVN\msys\home
Create folder: C:\Program Files\GRASS-64-SVN\msys\home\C\Documents and
Settings\Stoyan
Create folder: C:\Program Files\GRASS-64-SVN\msys\grass
Copy to C:\Program Fies\GRASS-64-SVN\msys\home\C:\Documents and
Settings\Stoyan
Copy failed
Completed"
I don't know why it cannot copy this and why it should be copied, but can
it be the reason for not starting?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:10&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:10 stoyan]:
> Yes I installed the latest installer in C;\Program Files\GRASS-64-SVN
and saw all of the listed files and folders. But there is another
interesting thing. The last rows of the install window were:

these are the relevant lines in the installer script:

> "Create folder: C:\Program Files\GRASS-64-SVN\msys\home

(http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/mswindows/
GRASS-Installer.nsi#L703)

{{{
CreateDirectory $INSTALL_DIR\msys\home
}}}

> Create folder: C:\Program Files\GRASS-64-SVN\msys\home\C\Documents and
Settings\Stoyan

(http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/mswindows/
GRASS-Installer.nsi#L704)

{{{
$INSTALL_DIR\msys\home\$USERNAME
}}}

> Create folder: C:\Program Files\GRASS-64-SVN\msys\grass

(http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/mswindows/
GRASS-Installer.nsi#L770)

{{{
CreateDirectory $INSTALL_DIR\msys\grass
}}}

> Copy to C:\Program Fies\GRASS-64-SVN\msys\home\C:\Documents and
Settings\Stoyan
> Copy failed
> Completed"

(http://trac.osgeo.org/grass/browser/grass/branches/releasebranch_6_4/mswindows/
GRASS-Installer.nsi#L801)

{{{
CopyFiles $PROFILE\.grassrc6 $INSTALL_DIR\msys\home\$USERNAME
}}}

very interesting:

"Copy to C:\Program Fies\GRASS-64-SVN\msys\home'''\C:\Documents and
Settings\Stoyan'''"

this should be

"Copy to C:\Program Fies\GRASS-64-SVN\msys\home\Stoyan"

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:11&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:11 hellik]:
>
> very interesting:
>
> "Copy to C:\Program Fies\GRASS-64-SVN\msys\home'''\C:\Documents and
Settings\Stoyan'''"
>
> this should be
>
> "Copy to C:\Program Fies\GRASS-64-SVN\msys\home\Stoyan"

I've tested the latest nightly build on my laptop:

{{{
[...]
Create folder: C:\Program Files\GRASS-64-SVN\msys\home
Create folder: C:\Program Files\GRASS-64-SVN\msys\home\syringia
Create folder: C:\Program Files\GRASS-64-SVN\msys\home\grass
Copy to C:\Program Files\GRASS64-64-SVN\msys\home\syringia
Completed
}}}

so there seems to be something with your %USERNAME%-variable in your
windows installation.

could you start a normal windows console (start menue -> run -> cmd) and
type in:

{{{
echo %USERNAME%
}}}

and paste in the result in the bug report.

Helmut

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:12&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by stoyan):

This is the result:
Stoyan

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:13&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:13 stoyan]:
> This is the result:
> Stoyan

this is ok.

could you start a normal windows console and type in

{{{
echo %USERPROFILE%
}}}

paste in the result in the bug report?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:14&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by stoyan):

The result is: C:\Documents and Settings\Stoyan

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:15&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:15 stoyan]:
> The result is: C:\Documents and Settings\Stoyan

also ok.

WinGrass-Installer and/or WinXp seem to mix the two variables %USERNAME%
and %USERPROFILE% during installation:

{{{
Create folder: C:\Program Files\GRASS-64-SVN\msys\home\
'''C:\Documents and Settings\Stoyan'''
}}}

this isn't a valid path, so the last copy-action by the installer can't
complete.

I couldn't find anything helpfull in NSIS-manuals at the moment.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:16&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: assigned
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Comment (by hellik):

Replying to [comment:16 hellik]:
> Replying to [comment:15 stoyan]:
> > The result is: C:\Documents and Settings\Stoyan
>
> also ok.
>
> WinGrass-Installer and/or WinXp seem to mix the two variables %USERNAME%
and %USERPROFILE% during installation:
>
> {{{
> Create folder: C:\Program Files\GRASS-64-SVN\msys\home\
> '''C:\Documents and Settings\Stoyan'''
> }}}
>
> this isn't a valid path, so the last copy-action by the installer can't
complete.
>
> I couldn't find anything helpfull in NSIS-manuals at the moment.
>

I've opened a thread for this issue on the nsis-forum
(http://forums.winamp.com/showthread.php?t=317856)

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:17&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------------------+------------------------------------
Reporter: stoyan | Owner: stoyan
     Type: task | Status: assigned
Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Keywords: winGRASS, problems, start | Platform: MSWindows XP
      Cpu: Unspecified |
---------------------------------------+------------------------------------

Comment(by hamish):

> seem to mix the two variables %USERNAME% and
> %USERPROFILE% during installation
...
> I've opened a thread for this issue on the nsis-forum

any resolution?

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/961#comment:18&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------------------+------------------------------------
Reporter: stoyan | Owner: stoyan
     Type: task | Status: assigned
Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Keywords: winGRASS, problems, start | Platform: MSWindows XP
      Cpu: Unspecified |
---------------------------------------+------------------------------------

Comment(by hellik):

Replying to [comment:18 hamish]:
> > seem to mix the two variables %USERNAME% and
> > %USERPROFILE% during installation
> ...
> > I've opened a thread for this issue on the nsis-forum
>
>
> any resolution?

no response from the nsis-forum.

so any additional info about the situation with recent builds of
WinGrass64-installers would be helpfull.

Helmut

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/961#comment:19&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------------------+------------------------------------
Reporter: stoyan | Owner: stoyan
     Type: task | Status: assigned
Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Keywords: winGRASS, problems, start | Platform: MSWindows XP
      Cpu: Unspecified |
---------------------------------------+------------------------------------

Comment(by hamish):

the symptom sounds like the classic missing dll problem (but which one?).
try installing the Microsoft .net Frameworks and see if it helps. see also
#1354, #1428, #1450
http://grass.osgeo.org/wiki/WinGRASS_Current_Status#XP.2F2000

> "Copy to C:\Program Fies\GRASS-64-SVN\msys\home\C:\Documents and
Settings\Stoyan"

do you still see that bad path name from the installer script?

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/961#comment:20&gt;
GRASS GIS <http://grass.osgeo.org>

#961: WinGRASS-6.4.0SVN-r40852-1 installs GRASS, but it doesn't run
---------------------------+------------------------------------------------
  Reporter: stoyan | Owner: stoyan
      Type: task | Status: closed
  Priority: normal | Milestone: 6.4.0
Component: Installation | Version: 6.4.0 RCs
Resolution: duplicate | Keywords: winGRASS, problems, start
  Platform: MSWindows XP | Cpu: Unspecified
---------------------------+------------------------------------------------
Changes (by hamish):

  * status: assigned => closed
  * resolution: => duplicate

Comment:

merged into bug #1428 "WinGRASS 6.4.1 fails to start after installation"

Hamish

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/961#comment:21&gt;
GRASS GIS <http://grass.osgeo.org>