Page 1 of 1

Error in displaying plots.

Posted: August 9th, 2021, 1:21 pm
by mheron-UCSD
I am running the program as an Administrator, and I ran into this error when executing the display:

Code: Select all

 error deleting "trajplot.ps": permission denied
error deleting "trajplot.ps": permission denied
    while executing
"file delete $out_file"
    invoked from within
"if [file exists $out_file] {file delete $out_file}"
    (procedure "run_traj_plot" line 20)
    invoked from within
"run_traj_plot ".trajdisp.lang""
    invoked from within
".trajdisp.bot.save invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 24)
    invoked from within
"tk::ButtonUp .trajdisp.bot.save"
    (command bound to event)
I ran into this error right after completing step one in this part of the tutorial.
https://www.ready.noaa.gov/documents/Tu ... _vert.html

Re: Error in displaying plots.

Posted: August 10th, 2021, 6:43 am
by sonny.zinn
Windows does not allow a file to be deleted if it is being used by another program. Was there a program that was using trajplot.ps?

Re: Error in displaying plots.

Posted: August 12th, 2021, 5:52 pm
by mheron-UCSD
Almost certainly not. I ended up just getting frustrated enough that I saved my working directory. Uninstalled and reinstalled, and replaced the directory. No more issues.