[GRASS-dev] [GRASS GIS] #118: r.patch fails on WinGRASS RC6 and earlier

#118: r.patch fails on WinGRASS RC6 and earlier
----------------------+-----------------------------------------------------
Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
     Type: defect | Status: new
Priority: critical | Milestone: 6.4.0
Component: default | Version: unspecified
Keywords: |
----------------------+-----------------------------------------------------
Students in my class have just discovered that r.patch fails under
WinGRASS. The GUI won't launch and it gives an error from the command
line. The errors are none-specific in both cases, making it difficult to
understand what is going wrong. This happened on RC4 and is still a
problem on the new RC6 version.

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#118: r.patch fails on WinGRASS RC6 and earlier
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Changes (by 4everskiff):

* cc: marco.pasetti@alice.it (added)
  * version: unspecified => 6.3.0 RCs
  * milestone: 6.4.0 => 6.3.0

Comment:

Replying to [ticket:118 cmbarton]:
> Students in my class have just discovered that r.patch fails under
WinGRASS. The GUI won't launch and it gives an error from the command
line. The errors are none-specific in both cases, making it difficult to
understand what is going wrong. This happened on RC4 and is still a
problem on the new RC6 version.
>
> Michael

Hi Michael,

could you please try again? because I just tried the command and it works
fine.
Thanks,

Marco

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#118: r.patch fails on WinGRASS RC6 and earlier
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by cmbarton):

Marco,

It's failed on several student machines here. I don't have a windows box,
but will ask others to try. One of the systems that it failed on is
running Vista. I don't know if another one is Vista or XP.

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#118: r.patch fails on WinGRASS RC6 and earlier
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by 4everskiff):

Replying to [comment:2 cmbarton]:
> Marco,
>
> It's failed on several student machines here. I don't have a windows
box, but will ask others to try. One of the systems that it failed on is
running Vista. I don't know if another one is Vista or XP.
>
> Michael

Hi Michael,

I think that Vista is the key. I build and test WinGRASS on XP, so I
cannot figure out how does it run on Vista. This links to an issue I
already pointed out in the list: it's a fact that any professionist or
scientist who works on Windows actually still uses xp or 2000, but the
future is on Vista, since new machines (specially notebooks) seem to not
work with xp, due to unreleased libraries for xp to manage new HD
architectures. Should we start to think to build on both Vista and XP, and
thus release two versions of WinGRASS? I think that, at least, we need to
intensively test on Vista.

See also Glynn's point of view: http://lists.osgeo.org/pipermail/grass-
dev/2008-March/036820.html

Marco

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:3&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

On Apr 9, 2008, at 2:41 AM, GRASS GIS wrote:

it's a fact that any professionist or
scientist who works on Windows actually still uses xp or 2000

Just FYI, I happen to know "professionals" that use Vista.

Ciao,

Jeshua Lacock, Owner
<http://OpenOSX.com>
phone: 877.240.1364

Hi Jeshua,

that’s why I pointed out the issue. XP is not an higlander, so we should start to act thinking of Vista users too :slight_smile:

Marco


Da: grass-dev-bounces@lists.osgeo.org per conto di Jeshua Lacock
Inviato: mer 09/04/2008 10.48
A: grass-dev@lists.osgeo.org
Oggetto: Re: [GRASS-dev] Re: [GRASS GIS] #118: r.patch fails on WinGRASS RC6and earlier

On Apr 9, 2008, at 2:41 AM, GRASS GIS wrote:

it’s a fact that any professionist or
scientist who works on Windows actually still uses xp or 2000

Just FYI, I happen to know “professionals” that use Vista.

Ciao,

Jeshua Lacock, Owner
<http://OpenOSX.com>
phone: 877.240.1364


grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

#118: r.patch fails on Vista
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Changes (by 4everskiff):

  * summary: r.patch fails on WinGRASS RC6 and earlier => r.patch fails on
              Vista

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:4&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

Actually, WinGRASS RC6 works pretty well on vista. This is the first gotcha
we've encountered with the new build.

Michael

On 4/9/08 1:41 AM, "GRASS GIS" <trac@osgeo.org> wrote:

#118: r.patch fails on WinGRASS RC6 and earlier
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by 4everskiff):

Replying to [comment:2 cmbarton]:

Marco,

It's failed on several student machines here. I don't have a windows

box, but will ask others to try. One of the systems that it failed on is
running Vista. I don't know if another one is Vista or XP.

Michael

Hi Michael,

I think that Vista is the key. I build and test WinGRASS on XP, so I
cannot figure out how does it run on Vista. This links to an issue I
already pointed out in the list: it's a fact that any professionist or
scientist who works on Windows actually still uses xp or 2000, but the
future is on Vista, since new machines (specially notebooks) seem to not
work with xp, due to unreleased libraries for xp to manage new HD
architectures. Should we start to think to build on both Vista and XP, and
thus release two versions of WinGRASS? I think that, at least, we need to
intensively test on Vista.

See also Glynn's point of view: http://lists.osgeo.org/pipermail/grass-
dev/2008-March/036820.html

Marco

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

#118: r.patch fails on Vista
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by jrobins):

Marco,

I'm running winGRASS version 6.3.0RC6 on Vista. I configured GRASS with
the windows installer program. I tried r.patch using the spearfish
dataset, but when I
try to launch r.patch from the wxPython GUI's menus, I first get a
security alert which
prompts me to allow or deny r.patch.exe access to my computer. When I
press 'Allow', I
get the following error message:

This application has failed to start because libgrass_gis.6.3.0RC6.dll was
not found. Re-installing the application may fix this problem.

Then r.patch.exe crashes and Vista automatically kills it in the same
manner that it
would kill a hung program. The GUI seems to work fine afterwards.

When I run r.patch from the menu in the Tcl/Tk GUI, I get this error:

couldn't execute r.patch: invalid argument.

Running r.patch from the Output-Gis.m window fails without an error
message.

I hope this helps,

John

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:5&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#118: r.patch fails on Vista
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by cmbarton):

Yup. It's a Vista problem. I asked a student running XP to test it and it
ran fine. Weird.

Michael

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:6&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#118: r.patch fails on Vista
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by mlennert):

I've never touched Vista, but maybe until we fix the code, people could
try to use the XP compatibility mode [1], but I don't know how to tell
Vista to apply this to all grass .exe files without having to click on
every single one of them.

[1] http://www.howtogeek.com/howto/windows-vista/using-windows-vista-
compatibility-mode/

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:7&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#118: r.patch fails on Vista
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by jrobins):

I tried switching r.patch.exe to XP (SP2) compatibility mode, but it
doesn't seem to help. I did, however, find libgrass_gis.6.3.0RC6.dll in
my lib directory, so that isn't the problem.

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:8&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#118: r.patch fails on Vista
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by 4everskiff):

Replying to [comment:8 jrobins]:
> I tried switching r.patch.exe to XP (SP2) compatibility mode, but it
doesn't seem to help. I did, however, find libgrass_gis.6.3.0RC6.dll in
my lib directory, so that isn't the problem.

Thanks John,

I also tried with wxPython GUI on XP, and r.patch works fine.
As I figured out in past comments, this is only a Vista problem. I'm
afraid.
As I told some time ago, talking with Glynn, I think that we should start
to think to build also on Vista (even if Glynn doesn't agree). This will
be probably an available option on next month, when I'll buy a new PC (I
guess on June).

Marco

Marco

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:9&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

On 09/04/08 18:07, Michael Barton wrote:

Actually, WinGRASS RC6 works pretty well on vista. This is the first gotcha
we've encountered with the new build.

Good to hear. It would be interesting to collect these Vista issues to see if there is any specific pattern which might explain the cause.

Moritz

Michael

On 4/9/08 1:41 AM, "GRASS GIS" <trac@osgeo.org> wrote:

#118: r.patch fails on WinGRASS RC6 and earlier
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.3.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by 4everskiff):

Replying to [comment:2 cmbarton]:

Marco,

It's failed on several student machines here. I don't have a windows

box, but will ask others to try. One of the systems that it failed on is
running Vista. I don't know if another one is Vista or XP.

Michael

Hi Michael,

I think that Vista is the key. I build and test WinGRASS on XP, so I
cannot figure out how does it run on Vista. This links to an issue I
already pointed out in the list: it's a fact that any professionist or
scientist who works on Windows actually still uses xp or 2000, but the
future is on Vista, since new machines (specially notebooks) seem to not
work with xp, due to unreleased libraries for xp to manage new HD
architectures. Should we start to think to build on both Vista and XP, and
thus release two versions of WinGRASS? I think that, at least, we need to
intensively test on Vista.

See also Glynn's point of view: http://lists.osgeo.org/pipermail/grass-
dev/2008-March/036820.html

Marco

__________________________________________
Michael Barton, Professor of Anthropology
Director of Graduate Studies
School of Human Evolution & Social Change
Center for Social Dynamics and Complexity
Arizona State University

phone: 480-965-6213
fax: 480-965-7671
www: http://www.public.asu.edu/~cmbarton

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

On Fri, Apr 11, 2008 at 11:11 AM, Moritz Lennert
<mlennert@club.worldonline.be> wrote:

On 09/04/08 18:07, Michael Barton wrote:

> Actually, WinGRASS RC6 works pretty well on vista. This is the first
gotcha
> we've encountered with the new build.
>

Good to hear. It would be interesting to collect these Vista issues to see
if there is any specific pattern which might explain the cause.

Please enjoy the Wiki for that:
http://grass.gdf-hannover.de/wiki/WinGRASS_Current_Status#Vista

Markus

Marco:

As I told some time ago, talking with Glynn, I think that we should
start to think to build also on Vista (even if Glynn doesn't agree).

I think it is encouraged to build for testing using Vista, but to build
*for general distribution* using XP. That way one build should work for
everybody.

Hamish

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#118: r.patch fails on Vista
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.4.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Changes (by neteler):

  * milestone: 6.3.0 => 6.4.0

--
Ticket URL: <http://trac.osgeo.org/grass/ticket/118#comment:10&gt;
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/

#118: r.patch fails on Vista
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.4.0
Component: default | Version: 6.3.0 RCs
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Comment (by marcopx):

Replying to [comment:5 jrobins]:
> Marco,
>
> I'm running winGRASS version 6.3.0RC6 on Vista. I configured GRASS with
the windows installer program. I tried r.patch using the spearfish
dataset, but when I
> try to launch r.patch from the wxPython GUI's menus, I first get a
security alert which
> prompts me to allow or deny r.patch.exe access to my computer. When I
press 'Allow', I
> get the following error message:
>
> This application has failed to start because libgrass_gis.6.3.0RC6.dll
was not found. Re-installing the application may fix this problem.
>
> Then r.patch.exe crashes and Vista automatically kills it in the same
manner that it
> would kill a hung program. The GUI seems to work fine afterwards.
>
> When I run r.patch from the menu in the Tcl/Tk GUI, I get this error:
>
> couldn't execute r.patch: invalid argument.
>
> Running r.patch from the Output-Gis.m window fails without an error
message.
>
> I hope this helps,
>
> John

Hi John,

I just built GRASS 6.3.0 on Windows Vista (Home Premium) through the
MSYS/MinGW environment, exactly as I built it on XP. I made only few
tests, but both r.patch and v.patch worked fine for me.

This said, I don't think that it depends on the new build: I think that
the problem lies on the UAC system, because it forbids third party apps to
write outside the "Program Files" and "Users/Account Name" folders,
specially if the destination folder is directly in the unit root (such as
C:\), and sometimes even if the user gives the permission after the UAC
alert prompt message;

So, disable the UAC (see http://www.vista4beginners.com/How-to-disable-
UAC) and then try r.patch with the current WinGRASS binary release (still
built on XP);
Let me know if it works :slight_smile:

Marco

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

#118: r.patch fails on Vista
-----------------------+----------------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords:
-----------------------+----------------------------------------------------
Changes (by marcopx):

  * version: 6.3.0 RCs => 6.3.0

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

#118: r.patch fails on Vista
------------------------------+---------------------------------------------
  Reporter: cmbarton | Owner: grass-dev@lists.osgeo.org
      Type: defect | Status: new
  Priority: critical | Milestone: 6.4.0
Component: default | Version: 6.3.0
Resolution: | Keywords:
  Platform: MSWindows Vista | Cpu: Unspecified
------------------------------+---------------------------------------------
Changes (by neteler):

  * platform: => MSWindows Vista
  * cpu: => Unspecified

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