[Seaside] Re: Need help fixing my image

Paul DeBruicker pdebruic at gmail.com
Mon Jan 3 19:59:35 UTC 2011


On 01/03/2011 02:45 PM, seaside-request at lists.squeakfoundation.org wrote:
> okay, i tried this, but i think i was barking up the wrong tree..
>
> i am getting the following error:
>
> now
> 	^ self basicNew
> 		ticks: (Duration
> 				days: SqueakEpoch
> 				hours: 0
> 				minutes: 0
> 				seconds: self totalSeconds
> 				nanoSeconds: MillisecondClockOffset milliSeconds * NanosInMillisecond) ticks
> 		offset: self localOffset;
> 		yourself
>
> where MillisecondClockOffset is causing a problem..
>
> Message Not Understood: AnObsoleteMillisecondClockOffset class>>  milliSeconds

Looks like you have a pointer to an obsolete class.

Ramon Leon posted about image maintenance here: 
http://onsmalltalk.com/squeak-smalltalk-image-maintenance

I use this bit of code from his post when I have the same problem 
(pointers to obsolete classes):

  SystemNavigation default obsoleteClasses isEmpty
         ifFalse: [SystemNavigation default obsoleteClasses
                 do: [:each | [PointerFinder on: each]
                         on: Error
                         do: [:error | Transcript show: error; cr]]].



Maybe you can use that in a workspace of your messed up image to delete 
the pointers to the obsolete classes and that will free things up.


More information about the seaside mailing list