Stripping error in section "Remove unwanted packages" when Ian's goodies are installed

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Stripping error in section "Remove unwanted packages" when Ian's goodies are installed

Bernhard Kohlhaas-5
Ian,

I just tried to deply my 1st "to go" application and I received
some errors some errors when stripping an application
with DPRO 5.1.4 with your goodies (version 5.i) installed.
They occur in the section "Removing unwanted packages":

   Uninstalling package 'IDB CurrencyToText'
   Error: CurrencyToText has 1 instances
   ...
   Uninstalling package 'IDB Common'
   Uninstalling package 'Development System'
   Error: SmalltalkSystemShell has 1 instances
   Error: SmalltalkSystem has 1 instances
   Error: SmalltalkSystemFolder has 4 instances
   Error: SmalltalkSystemIcon has 45 instances
   Uninstalling package 'Dolphin Folder Presenter'
   Error: FolderPresenter has 1 instances
   Uninstalling package 'IDB IDE Extensions'
   Uninstalling package 'Dolphin MoenTree View'
   ...

When your goodies are not installed, the log doesn't show
any error. In both cases there are no Windows open other than
the main whindow and the package browser.

It doesn't SEEM much of a problem though, my application
seems to run fine and those classes are not listed as
present in the image in the post-strip statistics.

However I was wondering, if there was a way to deploy
without getting those errors, when your tools are installed,
perhaps it it just my complete lack of experience that is causing
the problem.
In case it makes a difference, I am using WinXP SP1.

Thanks in advance for any help on the matter,
Bernhard
--
(Please remove all numerical digits before the "@"from the
sender address for a valid email address. Thanks.)


Reply | Threaded
Open this post in threaded view
|

Re: Stripping error in section "Remove unwanted packages" when Ian's goodies are installed

Ian Bartholomew-19
Bernhard,

> I just tried to deply my 1st "to go" application and I received
> some errors some errors when stripping an application
> with DPRO 5.1.4 with your goodies (version 5.i) installed.
> They occur in the section "Removing unwanted packages":

On a general note I've always found it best to deploy from a clean image -
one with _only_ the packages I know that will be needed in the deployed
application and which hasn't been used for development.  This helps to
remove the possibility of little problems that may be caused by unwanted
objects being left in the image by the development process - zombies and the
like.

>    Uninstalling package 'IDB CurrencyToText'
>    Error: CurrencyToText has 1 instances

That's caused by a property that I add to the CurrencyToText class in a
package script (and which I'll probably remove in future versions).  This
CurrencyToText instance is still around when you are deploying and generates
the error you see.  To get rid of it either evaluate

CurrencyToText removePropertyAt: #lsd

in a workspace prior to deploying or add the same line to the workspace
available in step 7 of the deployment dialog

>    Uninstalling package 'IDB Common'
>    Uninstalling package 'Development System'
>    Error: SmalltalkSystemShell has 1 instances
[snip]
> When your goodies are not installed, the log doesn't show
> any error. In both cases there are no Windows open other than
> the main whindow and the package browser.

I don't see that particular series of errors when I deploy with all my
goodies installed and I can't, offhand, think what would be holding on to a
SmalltalkSystemShell instance.  I'll have a go later at reproducing the
problem....

One thing you could try is getting rid of zombies before deploying (the
panic button on the SmalltalkSystemShell).

> It doesn't SEEM much of a problem though, my application
> seems to run fine and those classes are not listed as
> present in the image in the post-strip statistics.

It might make the deployed image a little larger but shouldn't , in most
cases, cause any problems.

--
Ian

Use the Reply-To address to contact me.
Mail sent to the From address is ignored.