WIN GRADS 2.0.a7.oga.3 - Possible Bug
Mark Sponsler
msponsler at COMCAST.NET
Wed Feb 3 14:40:46 EST 2010
Hi Arlindo,
I tried again to get the 'ls' command to work in Grads 2 without sucess.
I've beleive your statement earlier about there being some conflict beteween multiple versions of Cygwin to be correct. I just can't seem to figure out where the conflict is occurring.
I have 3 version of Grads installed (1.8, 1.9 and 2.0) on the workstation. I deleted all reference to Grads from the Path environment variable (and most any other applic ation other than the basic windows directories), and also renamed Autoexec.bat (it had a reference to the old regrid function). Then did a cold reboot. Plugged in the flash drive with grads 2 on it and started Grads from there, but got not response from ! ls <cr>.
I then renamed the actual top directories of those 3 versions of grads so even if there was some buried reference, the code would not be found. Restarted . Still no luck with the ! ls command.
Any other suggestions?
Thanks,
Mark
----- Original Message -----
From: "Arlindo da Silva" <dasilva at alum.mit.edu>
To: "Mark Sponsler" <msponsler at comcast.net>
Cc: "gradsusr" <GRADSUSR at list.cineca.it>
Sent: Wednesday, January 27, 2010 8:59:01 PM GMT -08:00 US/Canada Pacific
Subject: Re: WIN GRADS 2.0.a7.oga.3 - Possible Bug
Mark,
Because I am always trying to get a relocatable solution I never make use of the Windows registry. The only system change I make (with the user's permission) is to add something to the path.
Now, when you start a version of grads cygwin sets aside a chunk of shared memory for the POSIX emulation. Since v1.9 and v2.0 uses different versions o cygwin, running both versions without an intervening reboot could cause problems as these shared memory chunks could be inconsistent. So, in the machine where you are having problems, do a reboot and then try running v2.0 without having run v1.9. Any luck?
Arlindo
On Wed, Jan 27, 2010 at 10:45 PM, Mark Sponsler < msponsler at comcast.net > wrote:
Hi Arlindo,
Another finding:
I have both the 1.9 and the 2.0 Grads installtions on 2 different flash drives.
I went to a computer that has never had Grads installed, plugged in the 1.9 flash drive and fired up grads, then ran
! ls
and sucessfully received a directory listing.
Did the same thing with the Grads 2.0 flash drive (on the same computer) and also received a directory liating.
To me that suggests that indeed there is some sort of conflict occurring on the machine that has previous grads installations.
I went back to the machine that is having problems and pulled wgrib out of the path too (along with all grads path variables).
Plugged in the 1.9 flashdrive and got a Directory list, but still no luck with the 2.0 flash drive.
I also have version 1.8 installed on that machine and am thinking that maybe when I installed it I used the installer version instead of the zip installtion, and that maybe some remnants are still lurking in the registry that might be causing a conflict. That's purely a guess though. Not even sure that would make a difference.
Any other suggestions?
Thanks,
Mark
----- Original Message -----
From: "Arlindo da Silva" < dasilva at alum.mit.edu >
To: "Mark Sponsler" < msponsler at comcast.net >
Cc: "gradsusr" < GRADSUSR at list.cineca.it >
Sent: Wednesday, January 27, 2010 10:42:35 AM GMT -08:00 US/Canada Pacific
Subject: Re: WIN GRADS 2.0.a7.oga.3 - Possible Bug
On Mon, Jan 25, 2010 at 3:37 PM, Mark Sponsler < msponsler at comcast.net > wrote:
Hi Arlindo,
Interesting.....
If I start Grads then type in:
! ls <cr>
Grads just hangs. No answer set is returned. I presume a directory list should appear. But instead nothing....
Hmm... It works OK on my Windows platform. Anybody out there having similar problems on Windows?
I wonder if your GrADS v1.9 installation is not conflicting with your GrADS v2. Do you explicitly set any GrADS environment (GADDIR, GASCRP, etc.)? Is the v1.9 bin/ directory on your PATH? Did you use the .exe or .zip version of the superpack?
Arlindo
--
Arlindo da Silva
dasilva at alum.mit.edu
--
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100203/042b7c98/attachment.html
More information about the gradsusr
mailing list