Bug #1163

GMT5.4.2 in Windows7

Added by zhiyuan 22 days ago. Updated 18 days ago.

Status:FeedbackStart date:2017-10-26
Priority:NormalDue date:2017-10-27
Assignee:-% Done:

0%

Category:-
Target version:-
Affected version:5.4.2 Platform:Windows

Description

I have installed GMT5.4.2 in my Win7 system , as I run the script , it warns :

gmt: Unable to create GMT User directory : /Users/zhao/.gmt
gmt: Auto-downloading of earth_relief_##m|s.grd files has been disabled.

Referring to this [issue](http://gmt.soest.hawaii.edu/issues/1098),
I resolve it by adding a new system variable named `HOME` whose value is `C:\Users\zhao\.gmt`

I think you will fix it soon ,right ?

History

#1 Updated by Paul 19 days ago

  • Status changed from New to Feedback

That would be the wrong value for HOME. Could you try setting it to 'C:\Users\shao' and see if that also works. Please remove that .gmt directory first to see if it gets recreated.

#2 Updated by zhiyuan 18 days ago

Thanks for your reply , when I change the HOME value to `C:\Users\zhao` , it will be recreated the .gmt directory normally .

#3 Updated by Joaquim 18 days ago

But the issue is, if I understand it correctly, that the user directory could not be created if no HOME env variable exists, right?

#4 Updated by zhiyuan 18 days ago

Joaquim wrote:

But the issue is, if I understand it correctly, that the user directory could not be created if no HOME env variable exists, right?

Yes,the test result is what you understanding . But there is just only one exception , if I dont't create HOME variable , there is no warning messages when running scripts in any folder of the system disk C.

Also available in: Atom PDF