Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 22 MAY 2012 04:50:53AM John Godfrey wrote:

After over 5 years sterling service, RDKINSTALL has given up and crashes with the following line:

ENG0711: RDKINSTALL, line 66. Too many parameters passed to procedure RDKMODULEINSTALLG'…õ¦¸¤.

This occurs both from the called subroutine and from the System Editor Exec line.

Reverting to backups gives the same problem and the problem also occurs on a client site. All running under Windows XP

I have a backup on a Windows 7 machine, which also shows this error.

OI version is 9.1.1

I have retrieved the situation by copying and recompiling RDKINSTALL in my own App cf. SYSPROG. Now seems to work. What could have caused this? Anyone any thoughts. As far as I can tell nothing else appears corrupted but I am obviously nervous.

I did experiment with language sets but thought I had set everything back to the default. A tenuous link I would suspect.


At 22 MAY 2012 11:22AM Jared Bratu wrote:

In OpenInsight 7.x (and maybe into 8.x) the source code for RDKModuleInstall was available for customization. This version of the source code accepted only 2 parameters to the function. Due to circumstances the current source code is not available and the function now requires 3 parameters.

If you attach the RDK and look in the SYSUPGRADE table you should have a record called %RUN%. This record is a compiled version of RDKModuleInstall from the system where the RDK is deployed from.

When you install the RDK the RDKINSTALL command attaches and then attempts to run the %RUN% program.

If you build an RDK from an old system and deploy it into a new system you can receive this error because the old %RUN% record only accepts 2 parameters and the new RDKINSTALL command passes it 3 parameters.

If you have not customized RDKModuleInstall you can fix the problem in this RDK by following these steps from your OpenInsight 9.x system:

[list=1]

Attach the RDK. I.e. attach_table "C:\RDKLOCATION"

Run copy_row "SYSOBJ", "$RDKMODULEINSTALL", "SYSUPGRADE", "%RUN%", 1, 1, 0)

Run detach_volume "C:\RDKLOCATION"

Now run RDKInstall "C:\RDKLOCATION"

[/list]

These steps will overwrite the old %RUN% program with the version that has 3 parameters.


At 22 MAY 2012 01:50PM John Godfrey wrote:

Thank you Jared. Unfortunately, if I have followed your instructions correctly, this doesn't work. As the source and target are essentially the same system I do not believe I am using any old OI versions as source to install on a newer version. The opposite is more likely and I have not interfered with the existing modules. Looking into the repository most modules seem to be dated 2009 apart from RDKINSTALLINIT which is dated 2002. Still a mystery I'm afraid.

BTW I have not customised RDKMODULEINSTALL, simply calling it from within a subroutine.


At 23 MAY 2012 10:25AM John Godfrey wrote:

Get SYS1002: The object code is invalid. when I try and run after following your instructions.

Recompiled the RevTech given source code to get going again. Curious as to what has happened, but probably will never know.

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/540e9851000406e42fa2a2000.txt
  • Last modified: 2023/12/28 07:39
  • by 127.0.0.1