[BUG] walkback when starting Squeak with script on command line

Ned Konz ned at bike-nomad.com
Tue Mar 18 16:43:33 UTC 2003


I saved a simple script in a file, then started Squeak with that
filename as an argument.
However, I got a walkback because the request's contentStream is nil.
Why a retrieval from a file would be an HTTPRequest, I don't know
(obviously, we don't use HTTP to get to local files).

This used to work, as I recall.

18 March 2003 8:37:52 am

VM: unix - Squeak3.4 of 1 March 2003 [latest update: #5170]
Image: Squeak3.5alpha [latest update: #5169]

CodeLoader(Object)>>error:
	Receiver: a CodeLoader
	Arguments and temporary variables: 
		aString: 	'No content to install'
	Receiver's instance variables: 
		baseURL: 	''
		sourceFiles: 	#(a HTTPRequest)
		segments: 	nil
		publicKey: 	nil

CodeLoader>>installSourceFile:
	Receiver: a CodeLoader
	Arguments and temporary variables: 
		aStream: 	nil
		contents: 	nil
		trusted: 	nil
	Receiver's instance variables: 
		baseURL: 	''
		sourceFiles: 	#(a HTTPRequest)
		segments: 	nil
		publicKey: 	nil

[] in CodeLoader>>installSourceFiles
	Arguments and temporary variables: 
		req: 	a HTTPRequest

Array(SequenceableCollection)>>do:
	Receiver: #(a HTTPRequest)
	Arguments and temporary variables: 
		aBlock: 	[] in CodeLoader>>installSourceFiles
		index: 	1
		indexLimiT: 	1
	Receiver's instance variables: 
#(a HTTPRequest)


--- The full stack ---
CodeLoader(Object)>>error:
CodeLoader>>installSourceFile:
[] in CodeLoader>>installSourceFiles
Array(SequenceableCollection)>>do:
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
CodeLoader>>installSourceFiles
ProjectLauncher>>startUpAfterLogin
ProjectLauncher>>startUp
[] in AutoStart class>>startUp
WorldState>>runStepMethodsIn:
PasteUpMorph>>runStepMethods
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
PasteUpMorph>>doOneCycle
[] in Project class>>spawnNewProcess
[] in BlockContext>>newProcess



More information about the Squeak-dev mailing list