[BUG]AttributedTextStream class(Object)>>doesNotUnderstand: #nextPut:

ducasse ducasse at iam.unibe.ch
Thu Jan 8 08:54:43 UTC 2004


In 3.7 alpha
automatic initialize call have been introduced. that's why you may not 
have the same behvaior in 3.6 and 3.7a
On 8 janv. 04, at 06:25, John Pfersich wrote:

> Well, other than the fact that I'm using 3.6-5434, I added
> AttributedTextStream class>>new and haven't had any problems (though I 
> do
> recall that error). What URL were you accessing?
>
> I'll pick up the changeset I've got so far and more them to 3.7a and 
> see if
> I can duplicate it.
>
>
>> After adding AttributedTextStream class>>new per my previous Scamper
>> message I now get this error in Scamper (1.02 in a 3.7a-5623 image)
>> whenever it actually tries to render a page (status bar says 'laying
>> out...'.  I was going to try to close some old Scamper bugs but...
>>
>> Ken
>>
>> 7 January 2004 4:23:39 pm
>>
>> VM: unix - a SmalltalkImage
>> Image: Squeak3.7alpha [latest update: #5623]
>>
>> AttributedTextStream class(Object)>>doesNotUnderstand: #nextPut:
>> 	Receiver: AttributedTextStream
>> 	Arguments and temporary variables:
>> 		aMessage: 	nextPut: $
>>
>> 	Receiver's instance variables:
>> 		superclass: 	Stream
>> 		methodDict: 	a MethodDictionary(#contents->a
>> CompiledMethod (2962)
>> #currentAttri...etc...
>> 		format: 	140
>> 		instanceVariables: 	#('characters' 'attributeRuns'
>> 'attributeValues'
>> 'currentAtt...etc...
>> 		organization: 	('retrieving the text' contents)
>> ('stream protocol' nextPut: next...etc...
>> 		subclasses: 	nil
>> 		name: 	#AttributedTextStream
>> 		classPool: 	nil
>> 		sharedPools: 	nil
>> 		environment: 	a SystemDictionary(lots of globals)
>> 		category: 	nil
>>
>> DHtmlFormatter(HtmlFormatter)>>initialize
>> 	Receiver: a DHtmlFormatter
>> 	Arguments and temporary variables:
>>
>> 	Receiver's instance variables:
>> 		browser: 	nil
>> 		baseUrl: 	nil
>> 		formDatas: 	an OrderedCollection()
>> 		outputStream: 	AttributedTextStream
>> 		preformattedLevel: 	0
>> 		indentLevel: 	0
>> 		boldLevel: 	0
>> 		italicsLevel: 	0
>> 		underlineLevel: 	0
>> 		strikeLevel: 	0
>> 		centerLevel: 	0
>> 		urlLink: 	nil
>> 		listLengths: 	an OrderedCollection()
>> 		listTypes: 	an OrderedCollection()
>> 		precedingSpaces: 	0
>> 		precedingNewlines: 	1000
>> 		morphsToEmbed: 	an OrderedCollection()
>> 		incompleteMorphs: 	an OrderedCollection()
>> 		anchorLocations: 	a Dictionary()
>> 		imageMaps: 	an OrderedCollection()
>> 		fontSpecs: 	nil
>>
>> DHtmlFormatter class(Behavior)>>new
>> 	Receiver: DHtmlFormatter
>> 	Arguments and temporary variables:
>>
>> 	Receiver's instance variables:
>> 		superclass: 	HtmlFormatter
>> 		methodDict: 	a MethodDictionary(#decreaseFontBy:->a
>> CompiledMethod
>> (3650) #endFo...etc...
>> 		format: 	172
>> 		instanceVariables: 	#('fontSpecs')
>> 		organization: 	('formatting commands' decreaseFontBy: endFont:
>> endHeader: header...etc...
>> 		subclasses: 	nil
>> 		name: 	#DHtmlFormatter
>> 		classPool: 	nil
>> 		sharedPools: 	nil
>> 		environment: 	a SystemDictionary(lots of globals)
>> 		category: 	nil
>>
>> DHtmlFormatter class(HtmlFormatter class)>>new
>> 	Receiver: DHtmlFormatter
>> 	Arguments and temporary variables:
>>
>> 	Receiver's instance variables:
>> 		superclass: 	HtmlFormatter
>> 		methodDict: 	a MethodDictionary(#decreaseFontBy:->a
>> CompiledMethod
>> (3650) #endFo...etc...
>> 		format: 	172
>> 		instanceVariables: 	#('fontSpecs')
>> 		organization: 	('formatting commands' decreaseFontBy: endFont:
>> endHeader: header...etc...
>> 		subclasses: 	nil
>> 		name: 	#DHtmlFormatter
>> 		classPool: 	nil
>> 		sharedPools: 	nil
>> 		environment: 	a SystemDictionary(lots of globals)
>> 		category: 	nil
>>
>>
>> --- The full stack ---
>> AttributedTextStream class(Object)>>doesNotUnderstand: #nextPut:
>> DHtmlFormatter(HtmlFormatter)>>initialize
>> DHtmlFormatter class(Behavior)>>new
>> DHtmlFormatter class(HtmlFormatter class)>>new
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> Scamper>>displayTextHtmlPage:
>> Scamper>>displayDocument:
>> Scamper>>step
>> Scamper(Object)>>stepIn:
>> Scamper(Object)>>stepAt:in:
>> SystemWindow>>stepAt:
>> StepMessage(MorphicAlarm)>>value:
>> WorldState>>runLocalStepMethodsIn:
>> WorldState>>runStepMethodsIn:
>> PasteUpMorph>>runStepMethods
>> WorldState>>doOneCycleNowFor:
>> WorldState>>doOneCycleFor:
>> PasteUpMorph>>doOneCycle
>> [] in Project class>>spawnNewProcess {[[World doOneCycle.  Processor
>> yield.  false] whileFalse.  nil]}
>> [] in BlockContext>>newProcess {[self value.  Processor
>> terminateActive]}
>
>
>
>




More information about the Squeak-dev mailing list