Michel,
If I start with loading the following parcels into a brand-new VWnc 7.4 image in the order shown below, I get the error shown at the bottom. Do you by chance have a newer version of this parcel floating around which has this issue fixed? I screwed up my old image and can't get this one to load without it getting my image stuck in a tight loading-loop (the loader never comes back if I press 'proceed' twice once the exception fires). Items to load on top of a base VW7.4 image ============================================ Load SUnitToo (20,xp) Load RBSUnitExtensions (9,tgriggs) Load ExtraRBForSUnitToo (22,xp) Load RBCodeHighlighting (1.49,georg) Load RBCodeModelWithVariables Load Tools-Refactoring Browser (latest version) Load SeasideSettings (2.6b1.29.0,mbany) Load SeasideForWebToolkit (2.6b1.58.0,boris) Load SeasideAsync (2.6b1.41.0,boris) Load SeasideTestingBundle (r1.2-13.0,mbany) Load SeasideWebDesignerTool (1.1,mbany) ============================================= You might be able to ditch the first 6 items from the list, but that is what I was loading to make my normal image.. Below is the error that pops up when the SeasideWebDesignerTool v1.1 is loaded: Unhandled exception: The variable name "document" is overloaded for Seaside.WAStaticHtmlCanvas ClassBuilderRecord(BehaviorBuilderRecord)>>buildError: optimized [] in BehaviorBuilderRecord>>verify OrderedCollection>>do: ClassBuilderRecord(BehaviorBuilderRecord)>>verify optimized [] in [] in ClassBuilder>>reviseSystemSilently Dictionary>>do: optimized [] in ClassBuilder>>reviseSystemSilently BlockClosure>>on:do: optimized [] in SystemUtils class>>modifySystem: BlockClosure>>ensure: SystemUtils class>>modifySystem: ClassBuilder>>reviseSystemSilently ClassBuilder>>reviseSystem Seaside.WAHtmlCanvas class(Class)>>redefineFrom:map: CodeReader>>relocateOrReplaceName:from:to:map: optimized [] in CodeReader>>relocateOrReplaceName:from:to:map: OrderedCollection>>do: CodeReader>>relocateOrReplaceName:from:to:map: optimized [] in [] in CodeReader>>installBindingsInSystem optimized [] in CodeReader>>shadow:of:do: OrderedCollection>>do: CodeReader>>shadow:of:do: optimized [] in CodeReader>>installBindingsInSystem BlockClosure>>on:do: optimized [] in SystemUtils class>>modifySystem: BlockClosure>>ensure: SystemUtils class>>modifySystem: CodeReader>>installBindingsInSystem optimized [] in CodeReader>>installInSystem BlockClosure>>ifCurtailed: CodeReader>>installInSystem optimized [] in CodeComponent>>loadFrom:using: BlockClosure>>on:do: Parcel class(CodeComponent class)>>handleCodeReaderSignalsDo:for: Parcel(CodeComponent)>>loadFrom:using: Parcel(CodeComponent)>>loadFrom: optimized [] in [] in [] in Parcel class>>loadParcelCachedFrom: BlockClosure>>on:do: optimized [] in [] in Parcel class>>loadParcelCachedFrom: BlockClosure>>on:do: [] in Parcel class>>loadParcelCachedFrom: BlockClosure>>ensure: Parcel class>>loadParcelCachedFrom: [] in Parcel class>>ensureLoadedParcel:withVersion:for: optimized [] in Parcel class>>cachedParcelFileInfoIn:for:do: OrderedCollection>>do: Parcel class>>cachedParcelFileInfoIn:for:do: Parcel class>>ensureLoadedParcel:withVersion:for: optimized [] in [] in Parcel class>>handlePrerequisite: BlockClosure>>on:do: optimized [] in Parcel class>>handlePrerequisite: BlockClosure>>on:do: Parcel class>>handlePrerequisite: optimized [] in CodeComponent class>>handleCodeReaderSignalsDo:for: CodeStorageError(GenericException)>>performHandler: CodeStorageError(GenericException)>>propagatePrivateFrom: CodeStorageError(GenericException)>>propagateFrom: CodeStorageError(GenericException)>>propagate CodeStorageError(GenericException)>>raiseSignal Signal>>raiseRequestWith: optimized [] in CodeReader>>processPrerequisites: OrderedCollection>>do: CodeReader>>processPrerequisites: optimized [] in CodeReader>>readPackage CodeReader>>readActionsAndPrerequisitesInto: CodeReader>>readPackage optimized [] in CodeReader>>readFrom: BlockClosure>>ensure: CodeReader>>readFrom: optimized [] in CodeComponent>>loadFrom:using: BlockClosure>>on:do: Parcel class(CodeComponent class)>>handleCodeReaderSignalsDo:for: Parcel(CodeComponent)>>loadFrom:using: Parcel(CodeComponent)>>loadFrom: optimized [] in [] in [] in Parcel class>>loadParcelCachedFrom: BlockClosure>>on:do: optimized [] in [] in Parcel class>>loadParcelCachedFrom: BlockClosure>>on:do: [] in Parcel class>>loadParcelCachedFrom: BlockClosure>>ensure: Parcel class>>loadParcelCachedFrom: [] in Parcel class>>ensureLoadedParcel:withVersion:for: optimized [] in Parcel class>>cachedParcelFileInfoIn:for:do: OrderedCollection>>do: Parcel class>>cachedParcelFileInfoIn:for:do: Parcel class>>ensureLoadedParcel:withVersion:for: optimized [] in [] in Parcel class>>ensureLoadedParcel:withVersion:forPundle: BlockClosure>>ensure: Parcel class>>withFileCachesDo: optimized [] in Parcel class>>ensureLoadedParcel:withVersion:forPundle: BlockClosure>>ensure: Cursor>>showWhile: Parcel class>>ensureLoadedParcel:withVersion:forPundle: optimized [] in Store.Pundle>>checkParcelPrerequisite:version: BlockClosure>>on:do: Store.Package(Store.Pundle)>>checkParcelPrerequisite:version: Store.Package(Store.Pundle)>>checkPrerequisite:name:version: [] in Store.Package(Store.Pundle)>>checkPrerequisites Array(SequenceableCollection)>>do: Store.Package(Store.Pundle)>>checkPrerequisites Store.Package>>loadSrcWithin:warnReplace: optimized [] in Store.Package>>loadSrc BlockClosure>>on:do: Store.Package>>loadSrc Store.Package(Store.Pundle)>>loadSrcWithImgPundle: [] in Store.PublishedPundlesTool(Store.AbstractTool)>>loadPundle OrderedCollection>>do: Store.PublishedPundlesTool(Store.AbstractTool)>>loadPundle MenuBarButtonController>>dispatchMenuSymbol: MenuBarButtonController>>dispatchMenuSelection: optimized [] in MenuBarButtonController>>menuBarActionForMenu: BlockClosure>>ensure: MenuBarButtonController>>menuBarActionForMenu: MenuBarButtonController>>menuBarAction MenuBarButtonController>>redButtonPressedEvent: RedButtonPressedEvent>>dispatchTo: MenuBarButtonController(Controller)>>handleEvent: EventDispatcher>>dispatch:to: EventDispatcher>>dispatchEvent: RedButtonPressedEvent(Event)>>dispatch RedButtonPressedEvent(Event)>>dispatchForWindowManager: optimized [] in WindowManager>>safelyDispatchForWindowManager: BlockClosure>>on:do: WindowManager>>safelyDispatchForWindowManager: WindowManager>>processNextEvent optimized [] in [] in WindowManager>>newProcess BlockClosure>>on:do: optimized [] in WindowManager>>newProcess BlockClosure>>on:do: optimized [] in Process class>>forBlock:priority: ---------------------------------------------------------------------- ClassBuilderRecord(BehaviorBuilderRecord)>>buildError: Receiver: a ClassBuilderRecord Instance Variables: instVarNames = an Array[1] instVarMap = nil newClass = nil oldSuperclass = {Seaside.WAHtmlCanvas} superclass = {Seaside.WAHtmlCanvas} targetClass = Seaside.WAStaticHtmlCanvas archive = nil newSubclassList = nil oldSubclassList = nil metaclass = {Seaside.WAStaticHtmlCanvas class} behaviorType = #none category = nil classVariables = nil poolNames = nil importString = nil private = nil attributes = nil actualOldSuper = Seaside.WAHtmlCanvas varsRemoved = nil varsAdded = nil Arguments: aString = 'The variable name "document" ...r Seaside.WAStaticHtmlCanvas' Context PC = 16 ---------------------------------------------------------------------- optimized [] in BehaviorBuilderRecord>>verify Receiver: an UndefinedObject Arguments: str = 'document' Temporaries: .list = an OrderedCollection[10] .self = {Seaside.WAStaticHtmlCanvas} Context PC = 24 ---------------------------------------------------------------------- OrderedCollection>>do: Receiver: an OrderedCollection Instance Variables: firstIndex = 1 lastIndex = 10 Arguments: aBlock = BlockClosure [] in BehaviorBuilderRecord>>verify Temporaries: index = 3 Context PC = 17 ---------------------------------------------------------------------- ClassBuilderRecord(BehaviorBuilderRecord)>>verify Receiver: a ClassBuilderRecord Instance Variables: instVarNames = an Array[1] instVarMap = nil newClass = nil oldSuperclass = {Seaside.WAHtmlCanvas} superclass = {Seaside.WAHtmlCanvas} targetClass = Seaside.WAStaticHtmlCanvas archive = nil newSubclassList = nil oldSubclassList = nil metaclass = {Seaside.WAStaticHtmlCanvas class} behaviorType = #none category = nil classVariables = nil poolNames = nil importString = nil private = nil attributes = nil actualOldSuper = Seaside.WAHtmlCanvas varsRemoved = nil varsAdded = nil Temporaries: list = an OrderedCollection[10] superType = #none cType = #none s = nil Context PC = 165 ---------------------------------------------------------------------- optimized [] in [] in ClassBuilder>>reviseSystemSilently Receiver: an UndefinedObject Arguments: record = {Seaside.WAStaticHtmlCanvas} Context PC = 3 ---------------------------------------------------------------------- Dictionary>>do: Receiver: a Dictionary Instance Variables: tally = 6 Arguments: aBlock = BlockClosure [] in [] in ClassBuilder>>reviseSystemSilently Temporaries: index = 1 elem = 'Seaside.WAStaticHtmlCanvas'->{Seaside.WAStaticHtmlCanvas} Context PC = 32 ---------------------------------------------------------------------- optimized [] in ClassBuilder>>reviseSystemSilently Receiver: an UndefinedObject Temporaries: .self = a ClassBuilder queue = an OrderedCollection[0] map = a Dictionary[6] next = {Seaside.WAStaticHtmlCanvas class} removedMethods = an OrderedCollection[0] Context PC = 82 ---------------------------------------------------------------------- BlockClosure>>on:do: Receiver: a BlockClosure Instance Variables: method = CompiledBlock [] in ClassBuilder>>reviseSystemSilently outerContext = nil copiedValues = an Array[2] Arguments: anExceptionSelector = a Signal nil handlerBlock = BlockClosure [] in [] in SystemUtils class>>modifySystem: Context PC = 18 _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Rick Flower a écrit :
> Michel, > > If I start with loading the following parcels into a brand-new VWnc 7.4 > image in the order shown below, I get the error shown at the bottom. > Do you by chance have a newer version of this parcel floating around > which has this issue fixed? I screwed up my old image and can't get > this one to load without it getting my image stuck in a tight > loading-loop (the loader never comes back if I press 'proceed' twice > once the exception fires). > > Items to load on top of a base VW7.4 image > ============================================ > Load SUnitToo (20,xp) > Load RBSUnitExtensions (9,tgriggs) > Load ExtraRBForSUnitToo (22,xp) > Load RBCodeHighlighting (1.49,georg) > Load RBCodeModelWithVariables > Load Tools-Refactoring Browser (latest version) > > Load SeasideSettings (2.6b1.29.0,mbany) > Load SeasideForWebToolkit (2.6b1.58.0,boris) > Load SeasideAsync (2.6b1.41.0,boris) > Load SeasideTestingBundle (r1.2-13.0,mbany) > Load SeasideWebDesignerTool (1.1,mbany) > ============================================= > You might be able to ditch the first 6 items from the list, but that is > what I was loading to make my normal image.. Hi Rick, Glad to hear that someone else than us is using this tool. The packages for this tool are not yet polished and the prereqs are assuming that Seaside is loaded into the image from parcels. Therefore, in the situation you are describing, loading the tool causes VW to reload a different version of Seaside from the parcels located in the contributed folder. This clearly creates a mess. I corrected the prereqs and published SeasideImage(1.2,mbany). Everything should work fine again next time you try. Another remark : package SeasideWebDesignerTool has package SeasideImage as a prereq. These two packages are combined as bundle SeasideImageTools. I recommend that you load the bundle rather than the package. All the best, Michel. _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Michel Bany wrote:
> Glad to hear that someone else than us is using this tool. > > The packages for this tool are not yet polished and the prereqs are > assuming that > Seaside is loaded into the image from parcels. Therefore, in the > situation you are > describing, loading the tool causes VW to reload a different version of > Seaside > from the parcels located in the contributed folder. This clearly creates > a mess. > I corrected the prereqs and published SeasideImage(1.2,mbany). > Everything should work fine again next time you try. > > Another remark : package SeasideWebDesignerTool has package SeasideImage > as a prereq. These two packages are combined as bundle SeasideImageTools. > I recommend that you load the bundle rather than the package. Thanks Michel.. That seems to have fixed my problem.. I've updated my reload instructions accordingly so I won't do that again in the future if I need to rebuild an image from scratch again.. Thanks! -- Rick _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |