#118 closed defect (worksforme)
r.patch fails on Vista
Reported by: | cmbarton | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 6.4.0 |
Component: | Default | Version: | 6.3.0 |
Keywords: | r.patch, wingrass | Cc: | marco.pasetti@… |
CPU: | Unspecified | Platform: | MSWindows Vista |
Description
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
Change History (16)
comment:1 by , 17 years ago
Cc: | added |
---|---|
Milestone: | 6.4.0 → 6.3.0 |
Version: | unspecified → 6.3.0 RCs |
follow-up: 3 comment:2 by , 17 years ago
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
comment:3 by , 17 years ago
Replying to 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
comment:4 by , 17 years ago
Summary: | r.patch fails on WinGRASS RC6 and earlier → r.patch fails on Vista |
---|
follow-up: 11 comment:5 by , 17 years ago
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
comment:6 by , 17 years ago
Yup. It's a Vista problem. I asked a student running XP to test it and it ran fine. Weird.
Michael
comment:7 by , 17 years ago
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/
follow-up: 9 comment:8 by , 17 years ago
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.
comment:9 by , 17 years ago
Replying to 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
comment:10 by , 17 years ago
Milestone: | 6.3.0 → 6.4.0 |
---|
comment:11 by , 17 years ago
Replying to 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 :-)
Marco
comment:12 by , 17 years ago
Version: | 6.3.0 RCs → 6.3.0 |
---|
comment:13 by , 16 years ago
CPU: | → Unspecified |
---|---|
Platform: | → MSWindows Vista |
comment:14 by , 16 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:15 by , 15 years ago
Keywords: | r.patch wingrass added |
---|
note dupe in #759. reopen this ticket (with all the discussion) if needed.
comment:16 by , 15 years ago
I searched the tracker for "r.patch" and didn't find anything. I guess it was because I wasn't searching closed tickets too. This definitely sounds like #759. I don't know what the protocol should be here.
Michael
Replying to cmbarton:
Hi Michael,
could you please try again? because I just tried the command and it works fine. Thanks,
Marco