Page 1 of 1

Runtime error after update to V18

Posted: Fri Oct 25, 2013 7:38 am
by tosch
After updating from an old version to 18 I have rebuilt my script.
On this line (number 16(:

'if Variable CMDLINE Contains /qb'

I get this error:
'Line Number 16
List index out of bounds (359)'

I have not changed anything in my script. The error occurs even if I run my script with an option of /qb

Thomas

Re: Runtime error after update to V18

Posted: Fri Oct 25, 2013 9:30 am
by bokkie
Thomas, did you regenerate your licence file and run it? If so, Francesco (if I recall) might once have asked someone to uninstall and reinstall but not to run the licence. That is, does it run ok without the licence file?

Re: Runtime error after update to V18

Posted: Fri Oct 25, 2013 12:00 pm
by FrancescoT
Dear Thomas,

... in your case I believe that probably exist some conditional statements (IF - END) not correctly closed.

The current InstallAware script engine uses more strong routines, if compared with older IA versions ... so, it is possible that the error was not reported when compiled with a previous IA version.

Regards

Re: Runtime error after update to V18

Posted: Mon Oct 28, 2013 1:20 am
by tosch
I checked the IF/END statements. It's kind of hard to check this in a 1000 line script but it seems like they are ok.
Then I uninstalled IA and reinstalled the trial version with applying my license.

The problem still exists.

I'll try a few other things but please let me know if you have any ideas what to do

Tried all sorts of stuff including this:
copied a few lines from an other script before the line where the error occurs --> all new lines run fine, error occurs still on the same line
remarked the lines causing the problem --> error occurs on the line after the remarked lines (error occurs on this line: DEFINE COMPONENT:...)

We previously ran IA11. Could this be a problem?

Done some more testing: when I re-enter the line where the problem occurs exactly the same and delete the 'old' line the error goes away for this line only and the error occurs on the next line which is normally a IF or SET VARIABLE line.


Thomas

Re: Runtime error after update to V18

Posted: Mon Oct 28, 2013 9:29 am
by tosch
After I read another thread with a similar problem I ran the Unicode upgrade tool and all problems disappeared.
Thanks for helping anyway.

Thomas

Re: Runtime error after update to V18

Posted: Mon Oct 28, 2013 11:29 am
by FrancescoT
Happy you solved!

Regards