Page 1 of 1

Error message C2M1601 appeared during OPEN for file

Posted: Mon Mar 23, 2015 10:10 am
by rasaro
Getting this error message when calling a program that has a converted DDS source. The original DDS uses some system keywords on the screen like DATE, TIME, SYSNAME, etc. The DDS conversion tool converted these to js: currentDate(), etc. Job log has this message in it: Signal SIGABRT raised (abnormal termination).

Re: Error message C2M1601 appeared during OPEN for file

Posted: Mon Mar 23, 2015 12:55 pm
by Scott Klement
Please post the file.

Re: Error message C2M1601 appeared during OPEN for file

Posted: Tue Mar 24, 2015 7:08 am
by rasaro
Here is the file.

Re: Error message C2M1601 appeared during OPEN for file

Posted: Tue Mar 24, 2015 7:40 pm
by Scott Klement
I've fixed the C2M1601 problem on our development box. If you need a patch to fix this on yours, please e-mail support@profoundlogic.com and ask for a patch for issue #1447.

The "js: currentTime()" this is a separate, unrelated issue. Did you put it in there like that, or did our converter do that?

Re: Error message C2M1601 appeared during OPEN for file

Posted: Wed Mar 25, 2015 9:20 am
by rasaro
The DDS converter put it in. What was causing this error message, something in the original DDS? I converted several other screens and have not had that happen.

Re: Error message C2M1601 appeared during OPEN for file

Posted: Wed Mar 25, 2015 1:02 pm
by Scott Klement
It was a bug in the open access handler that manifests when the same indicator is defined both at the file-level and the record-level was causing the C2M1601 error.

Re: Error message C2M1601 appeared during OPEN for file

Posted: Thu Mar 26, 2015 10:16 am
by rasaro
Thanks Scott. I changed my program and display not to use the same indicator. Still not sure why the DDS conversion tool did not convert the system time keyword correctly.

Re: Error message C2M1601 appeared during OPEN for file

Posted: Thu Mar 26, 2015 4:24 pm
by Scott Klement
Yeah, that seems like a bug. The thing is, the system time should indeed be converted to "js: currentTime()" this is what it should do.

The problem in your example is that it's in a column heading. The column heading property is being converted to ",,js: currentTime()" which is wrong. The property name has to start with "js" it cannot be in the middle of the string! So it should really be converted to something like: js: ",," + currentTime()

Probably we've never had a customer who had the system time in a subfile heading field before, and that's why it's doing that. But, this does seem like a bug and short be reported to Profound Logic Support.

Re: Error message C2M1601 appeared during OPEN for file

Posted: Fri Mar 27, 2015 9:58 pm
by Scott Klement
Rick,

Just FYI, we have fixed the issue where js: currentTime() and similar things are being generated incorrectly for grid headings on our development box. Unfortunately, the fix did not mkae it into the 5.0.8 release of Profound UI, but it will be in future releases.

Please contact support@profoundlogic.com if you'd like us to patch your installation for this fix. (But, if you've already converted your displays, the patch is probably too late to do you any good.)

Thanks for letting us know about the problems.