RDK Install - Capturing any errors (OpenInsight)
At 06 APR 2000 12:08:50PM Don Miller wrote:
We have a form from which the user installs upgrades to our software. It calls RDKINSTALL(PATH) with the selected source directory. According to the source code in RDKMODULEINSTALL it should output data to a status line on a form and any errors to a dos file called UPGRADE.LOG. I can't seem to get either of these to function properly. Also, it doesn't seem to set STATUS() correctly if something went wrong. Version 3.7 of OI. Has anybody else seen this? Is there any work-around?
Don Miller
C3 Inc.
At 06 APR 2000 02:30PM Stephen S. Revelation wrote:
Don,
You found a bug of sorts, in which UPGRADE.LOG is not written by RDKMODULEINSTALL unless there were errors encountered during the RDKINSTALL process. This was first reported in OpenInsight version 3.7.
The procedure was modified for release 3.72 to write an UPGRADE.LOG regardless of failure. So, the workaround is to upgrade or get the modified RDKMODULEINSTALL from a 3.72 copy.
-Stephen
At 06 APR 2000 04:47PM [url=http://www.sprezzatura.com]Sprezz[/url] wrote:
[notag]What an interesting and generous precedent. So those who do not wish to go to the 3.72 runtime because of the new licensing can use bug fixes but not features? Thank you. This will make life easier for a lot of developers and perhaps even prevent some from cancelling their Works subscriptions.
[<A HREF="http://www.sprezzatura.com" onMouseOver="window.status='Click here to visit our web site?';return(true)">Sprezz</A>]
[<I>World Leaders in all things RevSoft</I>]
[<img src="http://www.sprezzatura.com/zz.gif">]
[<script language="javascript">function openNewPage () {window.location.href=(document.TOCNavigator.pageToGoTo.options[document.TOCNavigator.pageToGoTo.selectedIndex].value);document.TOCNavigator.pageToGoTo.selectedIndex="0";}end hiding from non-JS browsers –></script>] [<FORM ACTION "" METHOD=GET NAME="TOCNavigator" <SELECT NAME="pageToGoTo" SIZE=1 onChange="openNewPage()"> <OPTION>Pull down this menu to choose whereabouts on the Sprezz site to go <OPTION VALUE="http://www.sprezzatura.com">Home Page <OPTION VALUE="http://www.sprezzatura.com/whatsnew.htm">What's New <OPTION VALUE="http://www.sprezzatura.com/senl.htm">SENL <OPTION VALUE="http://www.sprezzatura.com/patches.htm">Download S/LIST <OPTION VALUE="mailto:[email protected]">Send mail to support at Sprezzatura <OPTION VALUE="mailto:[email protected]">Send mail to sales at Sprezzatura </SELECT> </FORM>][/notag] </QUOTE> —- === At 07 APR 2000 12:01PM Don Miller wrote: === <QUOTE>Sprezz .. And how, prey tell, can one tell the difference between a bug and a feature? I've written a lot of code that has had "features" which my users found for me. An upgrade fixed the "feature" although it resembled a good, old-fashioned bug. Perhaps if it doesn't fly it is a feature?? Don Miller C3 Inc. </QUOTE> —- === At 07 APR 2000 01:24PM Don Miller - C3 Inc. wrote: === <QUOTE>The other question is: In my copy of RDKModuleInstall there seem to be a series of Send_Info("string") calls imbedded throughout the code. In the form from which RDKInstall is launched I have a STATUSLINE element that should be able to accept this data and display it as the process moves along. Does this work or am I missing something? Don Miller C3 Inc. </QUOTE> —- === At 12 APR 2000 05:49AM Oystein Reigem wrote: === <QUOTE>I remember once I came down with a feature that kept me in bed for almost two weeks. - Oystein - </QUOTE> View this thread on the Works forum...