[Pharo-project] strange problem with 10083
Hi I tried to load the following code into 10082 and 10083 in 10082 it works like a charm, in 10083 loadOB "self loadOB" | instClass | instClass := self environment at: #Installer ifAbsent: [self new installingInstaller]. instClass ss project: 'AST'; install: 'AST-lr.158'. instClass ss project: 'RefactoringEngine'; install: 'RefactoringEngine-ab.51'. instClass wiresong project: 'ob'; install: 'OmniBrowser-dr.418'; install: 'OB-Standard-dr.353'; install: 'OB-Morphic-dr.56'; install: 'OB-Enhancements-dr.216'; install: 'OB-Refactory-lr.100'; install: 'OB-SUnitIntegration-dc.9'. I get a extremely strange bug UndefinedObject DNU value: !!!!! when Instance := nil is selected and RefactoryChangeManager class>>nuke Instance notNil ifTrue: [Instance release]. Instance := nil RefactoryChangeManager class >>initialize self nuke. UndoSize := 5
Why do your scripts use a temporary variable, this means that you cannot select part of the script and Doit. This is one of the design goals of Installer, that you be able to execute scripts either wholly or in parts. You would be far better off referring to Installer directly or to 'self installer'. Keith
Marcus we found the source of the problem: your readOnly clean up :) apparently we reintroduced the old version of sizeForStorePop: + isSpecialWriteBinding ^ false and it worked. Now mathieu could not understand why :) Stef On Oct 1, 2008, at 7:34 PM, Stéphane Ducasse wrote:
Hi
I tried to load the following code into 10082 and 10083 in 10082 it works like a charm, in 10083
loadOB "self loadOB"
| instClass | instClass := self environment at: #Installer ifAbsent: [self new installingInstaller].
instClass ss project: 'AST'; install: 'AST-lr.158'.
instClass ss project: 'RefactoringEngine'; install: 'RefactoringEngine-ab.51'.
instClass wiresong project: 'ob'; install: 'OmniBrowser-dr.418'; install: 'OB-Standard-dr.353'; install: 'OB-Morphic-dr.56'; install: 'OB-Enhancements-dr.216'; install: 'OB-Refactory-lr.100'; install: 'OB-SUnitIntegration-dc.9'.
I get a extremely strange bug UndefinedObject DNU value: !!!!!
when Instance := nil is selected and
RefactoryChangeManager class>>nuke Instance notNil ifTrue: [Instance release]. Instance := nil
RefactoryChangeManager class >>initialize self nuke. UndoSize := 5
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Because we do not want to have a dandling reference if the package is not loaded. :) We want to be clean :) Stef On Oct 1, 2008, at 7:53 PM, Keith Hodges wrote:
Why do your scripts use a temporary variable, this means that you cannot select part of the script and Doit. This is one of the design goals of Installer, that you be able to execute scripts either wholly or in parts.
You would be far better off referring to Installer directly or to 'self installer'.
Keith
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (2)
-
Keith Hodges -
Stéphane Ducasse