Page 1 of 1

Studio runs when first opened but then gives an error

Posted: Wed Jul 19, 2023 1:18 pm
by Rob Davies
When I run a model in Studio after I have just opened it the process log shows normal completion.
But when I next run it I get the error message:

gams: **** Error: Parameter error(s)
: Reading parameter(s) from "command line"
: *** Error Cannot open parameter file "."
: *** Error Error code = 13; Permission denied
: Finished reading from "command line"
: *** Error command line = I "C:\Users\Rob Davies\Downloads\D-drive\AMODELS\IFPRI-Standard-CGE-2-1\1CGEmod2-1.gms" logoption=3 ide=1 errorlog=99 errmsg=1 pagesize=0 lstTitleleftaligned=1 pf="."

If I close and reopen, I can run it once.
Rob

Re: Studio runs when first opened but then gives an error

Posted: Mon Jul 24, 2023 8:57 am
by bussieck
Rob,

Studio adds a couple of parameters to the GAMS command line. Obviously, the last one pf="." is wrong. pf points to a GAMS parameter file with more command line options. Studio recently introduced the "GAMS Parameter File" feature, see https://www.gams.com/latest/docs/T_STUD ... METER_FILE. I assume something goes wrong here. If the problem continues with the latest version GAMS 44, please contact support@gams.com with a way to reproduce the problem.

-Michael

Re: Studio runs when first opened but then gives an error

Posted: Tue Jul 25, 2023 3:22 pm
by Rob Davies
Thank you, Michael.
I thought that it was something like that. It has not been occurring under 44, so there is no point worrying about it further. I will let you know if it happens again.
Much appreciated
Rob