Nicolas nicely answered to the problem Thanks a lot. Comment 1 by nicolas.cellier.aka.nice, Today (10 hours ago) I tested with this: (TextConverter allSubclasses reject: [:e | e subclasses size > 0]) select: [:e | (e latin1Encodings copyFrom: 129 to: 256) anySatisfy: [:e2 | e2 isNil]] -> a Set(MacRomanTextConverter Latin1TextConverter) Then this: (TextConverter allSubclasses reject: [:e | e subclasses size > 0]) collect: [:e | e ->((129 to: 256) select: [:e2 | (e latin1Encodings at: e2) isNil])] -> MacRomanTextConverter->#(163 164 170 178 182) -> Latin1TextConverter-> (129 to: 256) All problems disappear if I do this: Latin1TextConverter initializeLatin1Encodings. MacRomanTextConverter initializeLatin1Encodings. Don't know why something went wrong with lazy initialization leading to a class instance variables notNil, but not initialized correctly... Maybe the #initializeLatin1Encodings should be called in each text converter class initialize... I will integrate that soon :) Stef On Feb 4, 2010, at 5:43 PM, Yanni Chiu wrote:
Stéphane Ducasse wrote:
what is the script you use to load seaisde2.8 so that I can have a look
The following build scripts are run via Hudson, on a Ubuntu 8.X server. First, core11.st updates and saves the image, starting from a PharoCore-1.1-11184-UNSTABLE image. Then core11-seaside28.st loads Seaside-2.8.
-- Yanni ":::::" "file: /home/yanni/pub/builder/scripts/before.st" ":::::" "Preparations" MCCacheRepository instVarNamed: 'default' put: nil. ! ":::::" "file: /home/yanni/pub/builder/scripts/gofer.st" ":::::" "Update Gofer" [ Gofer gofer load ] on: Error do: [ :err | err retry ]. Gofer upgrade; upgrade. ! "Remove empty categories" Smalltalk organization removeEmptyCategories. ! ":::::" "file: /home/yanni/pub/builder/scripts/update.st" ":::::" "Install latest updates" [Utilities updateFromServer] valueSuppressingAllMessages ! ":::::" "file: /home/yanni/pub/builder/scripts/settings.st" ":::::" "Select Fonts" StrikeFont installDejaVu. Preferences setDefaultFonts: #( (setBalloonHelpFontTo: 'BitmapDejaVu' 9) (setButtonFontTo: 'BitmapDejaVu' 9) (setCodeFontTo: 'BitmapDejaVu' 9) (setHaloLabelFontTo: 'BitmapDejaVu' 9) (setListFontTo: 'BitmapDejaVu' 9) (setMenuFontTo: 'BitmapDejaVu' 9) (setSystemFontTo: 'BitmapDejaVu' 9) (setWindowTitleFontTo: 'BitmapDejaVuBold' 12)). ! "Cleanup Environment" "UIThemeStandardSqueak beCurrent." "Choose a UITheme to avoid a walkback during automated operation" UIThemeWatery beCurrent. World submorphs do: [ :each | (each isKindOf: SketchMorph) ifTrue: [ each delete ] ]. ! "Set decent Preferences" Preferences enable: #scrollBarsNarrow. Preferences enable: #menuColorFromWorld. Preferences disable: #scrollBarsWithoutMenuButton. Preferences disable: #useNewDiffToolsForMC. Preferences disable: #duplicateAllControlAndAltKeys. Preferences disable: #fadedBackgroundWindows. Preferences disable: #windowAnimation. Preferences disable: #noWindowAnimationForClosing. ! ":::::" "file: /home/yanni/pub/builder/scripts/after.st" ":::::" "Clear Author" Author reset. ! "Clear Monticello Caches" MCCacheRepository instVarNamed: 'default' put: nil. MCFileBasedRepository flushAllCaches. MCMethodDefinition shutDown. MCDefinition clearInstances. ! "Cleanup Smalltalk" Smalltalk flushClassNameCache. Smalltalk organization removeEmptyCategories. Smalltalk allClassesAndTraitsDo: [ :each | each organization removeEmptyCategories; sortCategories. each class organization removeEmptyCategories; sortCategories ]. ! "Cleanup System Memory" 3 timesRepeat: [ Smalltalk garbageCollect. Symbol compactSymbolTable ]. ! "Save and Quit" SmalltalkImage current snapshot: true andQuit: true. ! ":::::" "file: /home/yanni/pub/builder/scripts/before.st" ":::::" "Preparations" MCCacheRepository instVarNamed: 'default' put: nil. ! ":::::" "file: /home/yanni/pub/builder/scripts/seaside28.st" ":::::" "Kom" Gofer new squeaksource: 'KomHttpServer'; package: 'DynamicBindings'; package: 'KomServices'; package: 'KomHttpServer'; load. ! "Seaside" [ Gofer new squeaksource: 'Seaside'; package: 'Seaside2.8a1'; load ] valueSupplyingAnswers: { { 'username'. 'admin' }. { 'password'. 'seaside' }. }. ! ":::::" "file: /home/yanni/pub/builder/scripts/after.st" ":::::" "Clear Author" Author reset. ! "Clear Monticello Caches" MCCacheRepository instVarNamed: 'default' put: nil. MCFileBasedRepository flushAllCaches. MCMethodDefinition shutDown. MCDefinition clearInstances. ! "Cleanup Smalltalk" Smalltalk flushClassNameCache. Smalltalk organization removeEmptyCategories. Smalltalk allClassesAndTraitsDo: [ :each | each organization removeEmptyCategories; sortCategories. each class organization removeEmptyCategories; sortCategories ]. ! "Cleanup System Memory" 3 timesRepeat: [ Smalltalk garbageCollect. Symbol compactSymbolTable ]. ! "Save and Quit" SmalltalkImage current snapshot: true andQuit: true. ! _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project