[Squeakland] Strange error when loading a project into another from a superwiki then saving the image

Bert Freudenberg bert at freudenbergs.de
Thu Mar 1 13:55:33 PST 2007


Thanks. Is it possible your image directory was write-protected? The  
log indicates it was trying to create the default directory but  
failed. I can't imaging how that could have to do with the project  
loaded, unless it fiddled with the default directory path.

- Bert -

On Feb 27, 2007, at 12:14 , Hilaire Fernandes wrote:

> Bert Freudenberg a écrit :
>
>> Could you forward the SqueakDebug.log file that was created when  
>> the error occurred?
>
> Here it is.
>
> Hilaire
> Error: a primitive has failed
> 27 February 2007 10:23:28 am
>
> VM: unix - a SmalltalkImage
> Image: Squeakland 3.8-05 [latest update: #552]
>
> SecurityManager state:
> Restricted: true
> FileAccess: false
> SocketAccess: true
> Working Dir /home/hilaire/Documents/CDDP/Animations/2007-03-28/My  
> Squeak
> Trusted Dir /home/hilaire/Documents/CDDP/Animations/2007-03-28/secure
> Untrusted Dir /home/hilaire/Documents/CDDP/Animations/2007-03-28/My  
> Squeak
>
> UnixFileDirectory(Object)>>error:
> 	Receiver: UnixFileDirectory on '/'
> 	Arguments and temporary variables:
> 		t1: 	'a primitive has failed'
> 	Receiver's instance variables:
> 		pathName: 	FilePath('/')
>
> UnixFileDirectory(Object)>>primitiveFailed
> 	Receiver: UnixFileDirectory on '/'
> 	Arguments and temporary variables:
>
> 	Receiver's instance variables:
> 		pathName: 	FilePath('/')
>
> UnixFileDirectory(FileDirectory)>>primCreateDirectory:
> 	Receiver: UnixFileDirectory on '/'
> 	Arguments and temporary variables:
> 		t1: 	'/home'
> 	Receiver's instance variables:
> 		pathName: 	FilePath('/')
>
> UnixFileDirectory(FileDirectory)>>createDirectory:
> 	Receiver: UnixFileDirectory on '/'
> 	Arguments and temporary variables:
> 		t1: 	'home'
> 	Receiver's instance variables:
> 		pathName: 	FilePath('/')
>
>
> --- The full stack ---
> UnixFileDirectory(Object)>>error:
> UnixFileDirectory(Object)>>primitiveFailed
> UnixFileDirectory(FileDirectory)>>primCreateDirectory:
> UnixFileDirectory(FileDirectory)>>createDirectory:
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> UnixFileDirectory(FileDirectory)>>assureExistenceOfPath:
> UnixFileDirectory(FileDirectory)>>assureExistenceOfPath:
> UnixFileDirectory(FileDirectory)>>assureExistenceOfPath:
> UnixFileDirectory(FileDirectory)>>assureExistenceOfPath:
> UnixFileDirectory(FileDirectory)>>assureExistenceOfPath:
> UnixFileDirectory(FileDirectory)>>assureExistenceOfPath:
> UnixFileDirectory(FileDirectory)>>assureExistenceOfPath:
> UnixFileDirectory(FileDirectory)>>assureExistence
> FileDirectory class>>startUp
> FileDirectory class(Behavior)>>startUp:
> [] in SystemDictionary>>send:toClassesNamedIn:with: {[:t6 |  t5 :=  
> self     at: t6     ifAbsent: [].  t5   ifNil: [t4 add: t6]   ...]}
> OrderedCollection>>do:
> SystemDictionary>>send:toClassesNamedIn:with:
> SystemDictionary>>processStartUpList:
> SmalltalkImage>>snapshot:andQuit:embedded:
> SmalltalkImage>>snapshot:andQuit:
> SmalltalkImage>>saveSession
> TheWorldMenu>>doMenuItem:with:
> [] in MenuItemMorph>>invokeWithEvent: {[(t2 := selector numArgs) =  
> 0   ifTrue: [target perform: selector]   ifFalse...]}
> BlockContext>>ensure:
> CursorWithMask(Cursor)>>showWhile:
> MenuItemMorph>>invokeWithEvent:
> MenuItemMorph>>mouseUp:
> MenuItemMorph>>handleMouseUp:
> MouseButtonEvent>>sentTo:
> MenuItemMorph(Morph)>>handleEvent:
> MorphicEventDispatcher>>dispatchDefault:with:
> MorphicEventDispatcher>>dispatchEvent:with:
> MenuItemMorph(Morph)>>processEvent:using:
> MorphicEventDispatcher>>dispatchDefault:with:
> MorphicEventDispatcher>>dispatchEvent:with:
> MenuMorph(Morph)>>processEvent:using:
> MenuMorph(Morph)>>processEvent:
> MenuMorph>>handleFocusEvent:
> [] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.   
> ActiveEvent := t1.  t4 := t2     handleFocusEvent: (t1...]}
> [] in PasteUpMorph>>becomeActiveDuring: {[t1 value]}
> BlockContext>>on:do:
> PasteUpMorph>>becomeActiveDuring:
> HandMorph>>sendFocusEvent:to:clear:
> HandMorph>>sendEvent:focus:clear:
> HandMorph>>sendMouseEvent:
> HandMorph>>handleEvent:
> HandMorph>>processEvents
> [] in WorldState>>doOneCycleNowFor: {[:t3 |  ActiveHand := t3.  t3  
> processEvents.  t2 := t2     or: [t3 isCapturi...]}
> Array(SequenceableCollection)>>do:
> WorldState>>handsDo:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess {[[World doOneCycle.   
> Processor yield.  false] whileFalse.  nil]}
> [] in BlockContext>>newProcess {[self value.  Processor  
> terminateActive]}
> _______________________________________________
> Squeakland mailing list
> Squeakland at squeakland.org
> http://squeakland.org/mailman/listinfo/squeakland





More information about the Squeakland mailing list