[squeak-dev] error loading Balloon3D in Squeak4.2-10770

Levente Uzonyi leves at elte.hu
Mon Dec 13 02:19:24 UTC 2010


On Sun, 12 Dec 2010, Ken G. Brown wrote:

> MacOS X 10.6.5, Open fresh Squeak4.2-10548-alpha, update to 10770, open with Cog 4.0.0.
>
> Attempt:
>
> (Installer repository: 'http://www.squeaksource.com/Balloon3D')
> 	install: 'Balloon3D-All'.
>
> Get the following notification:
> This package depends on the following classes:
>  InterpreterPlugin
> You must resolve these dependencies before you will be able to load these definitions: etc. ....
>
> So then I do the following to resolve the dependency of Balloon3D on InterpreterPlugin":
>
> (Installer repository: 'http://www.squeaksource.com/VMMaker')
> 	install: 'update'.
>
> Attempt again:
>
> (Installer repository: 'http://www.squeaksource.com/Balloon3D')
> 	install: 'Balloon3D-All'.
>
> When loading Balloon3D-VRML get 'Error: Digit value initialization failed.

The last version of Balloon3D-All is from 2004. I think you should load 
Balloon3D-1.1.2.mcm.

The cause of the error is that Character >> #digitValue now returns -1 for 
all byte characters (asciiValue < 256) that doesn't have valid #digitValue. 
This was different earlier. The number was negative, but not always -1. 
According to the comment the only requirement is to return a negative 
number.
There's another case when you'll get an error. The characters between $a 
and $z now also have valid #digitValues, but the VRMLStream class >> 
#initialize doesn't expect that.


Levente

>
> Full report:
> --
> 12 December 2010 6:30:32.41 pm
>
> VM: Mac OS - Smalltalk
> Image: Squeak4.2alpha [latest update: #10770]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir /mySqueakStuff/Sqkb/<Trunkkb/Squeak4.2/Squeak4.2-10548-alpha
> Trusted Dir /foobar/tooBar/forSqueak/bogus/
> Untrusted Dir /Users/kbrownMPro/Library/Preferences/Croquet/Internet/Untrusted
>
> VRMLStream class(Object)>>error:
> 	Receiver: VRMLStream
> 	Arguments and temporary variables:
> 		aString: 	'Digit value initialization failed'
> 	Receiver's instance variables:
> 		superclass: 	Object
> 		methodDict: 	a MethodDictionary(#asVRMLStream->(VRMLStream>>#asVRMLStream "a Com...etc...
> 		format: 	134
> 		instanceVariables: 	#('theStream' 'backups')
> 		organization: 	('converting' asVRMLStream)
> ('testing' atEnd)
> ('backup-restore' b...etc...
> 		subclasses: 	nil
> 		name: 	#VRMLStream
> 		classPool: 	a Dictionary(#DigitValues->#(-48 -47 -46 -45 -44 -43 -42 -41 -40 -39...etc...
> 		sharedPools: 	nil
> 		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
> 		category: 	#'Balloon3D-VRML-Definition'
>
> VRMLStream class>>initialize
> 	Receiver: VRMLStream
> 	Arguments and temporary variables:
> 		i: 	58
> 		iLimiT: 	57
> 		i: 	91
> 		iLimiT: 	90
> 		i: 	0
> 	Receiver's instance variables:
> 		superclass: 	Object
> 		methodDict: 	a MethodDictionary(#asVRMLStream->(VRMLStream>>#asVRMLStream "a Com...etc...
> 		format: 	134
> 		instanceVariables: 	#('theStream' 'backups')
> 		organization: 	('converting' asVRMLStream)
> ('testing' atEnd)
> ('backup-restore' b...etc...
> 		subclasses: 	nil
> 		name: 	#VRMLStream
> 		classPool: 	a Dictionary(#DigitValues->#(-48 -47 -46 -45 -44 -43 -42 -41 -40 -39...etc...
> 		sharedPools: 	nil
> 		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
> 		category: 	#'Balloon3D-VRML-Definition'
>
> VRMLNodeSpec class>>initialize
> 	Receiver: VRMLNodeSpec
> 	Arguments and temporary variables:
>
> 	Receiver's instance variables:
> 		superclass: 	Object
> 		methodDict: 	a MethodDictionary(#addAttribute:->(VRMLNodeSpec>>#addAttribute: "a...etc...
> 		format: 	140
> 		instanceVariables: 	#('name' 'attributes' 'vrmlClass' 'nodeId' 'attrDict')
> 		organization: 	('accessing' addAttribute: attrDict attributeNamed: attributes de...etc...
> 		subclasses: 	nil
> 		name: 	#VRMLNodeSpec
> 		classPool: 	a Dictionary(#CurrentSpecs->nil #UndefinedSpec->nil )
> 		sharedPools: 	nil
> 		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
> 		category: 	#'Balloon3D-VRML-Definition'
>
> VRMLEnumerator class>>initialize
> 	Receiver: VRMLEnumerator
> 	Arguments and temporary variables:
> 		selector: 	#(nil)
> 	Receiver's instance variables:
> 		superclass: 	Object
> 		methodDict: 	a MethodDictionary(#doAnchor:->(VRMLEnumerator>>#doAnchor: "a Compi...etc...
> 		format: 	2
> 		instanceVariables: 	nil
> 		organization: 	('enumerating nodes' doAnchor: doAppearance: doAudioClip: doBackg...etc...
> 		subclasses: 	{VRMLWonderlandBuilder}
> 		name: 	#VRMLEnumerator
> 		classPool: 	a Dictionary(#EnumActions->a Dictionary() )
> 		sharedPools: 	nil
> 		environment: 	Smalltalk globals "a SystemDictionary with lots of globals"
> 		category: 	#'Balloon3D-VRML-Definition'
>
>
> --- The full stack ---
> VRMLStream class(Object)>>error:
> VRMLStream class>>initialize
> VRMLNodeSpec class>>initialize
> VRMLEnumerator class>>initialize
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> MCMethodDefinition>>postload
> MCMethodDefinition(MCDefinition)>>postloadOver:
> [] in [] in [] in MCPackageLoader>>basicLoad
> [] in [] in OrderedCollection(Collection)>>do:displayingProgress:every:
> OrderedCollection>>do:
> [] in OrderedCollection(Collection)>>do:displayingProgress:every:
> [] in [] in ProgressInitiationException>>defaultMorphicAction
> BlockClosure>>on:do:
> [] in ProgressInitiationException>>defaultMorphicAction
> BlockClosure>>ensure:
> ProgressInitiationException>>defaultMorphicAction
> ProgressInitiationException>>defaultAction
> UndefinedObject>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> MethodContext(ContextPart)>>handleSignal:
> ProgressInitiationException(Exception)>>signal
> ProgressInitiationException>>display:at:from:to:during:
> ProgressInitiationException class>>display:at:from:to:during:
> ByteString(String)>>displayProgressAt:from:to:during:
> OrderedCollection(Collection)>>do:displayingProgress:every:
> OrderedCollection(Collection)>>do:displayingProgress:
> ...etc...
>
>



More information about the Squeak-dev mailing list