[squeak-dev] Pier 2 on Squeak Trunk (4.3 alpha): extending the system instructions do not work

Lawson English lenglish5 at cox.net
Mon Apr 18 15:27:18 UTC 2011


Typical of the Squeak community, I'm afraid. There's always changes that 
never make it from one fork to the other and how-tos that never make it 
from one list to the other.

Here's the response to my question on the pier list some months ago:


On 2/8/11 3:57 AM, Nick Ager wrote:
> Hi,
> Hi,
>
> Apologies for the belated reply.
>
> PRAjaxSearchWidget is in package Pier-JQuery in repository: 
> http://source.lukas-renggli.ch/pier2addons
> The latest version has a dependency on the "example text" JQueryWidget 
> - JQWidgetBox-FormExample - in the repository: 
> http://www.squeaksource.com/JQueryWidgetBox
> ConfigurationOfPierAddOns2 should take care of this dependency and 
> load the JQWidgetBox-FormExample package. However I don't think this 
> is the problem you're having.
>
> It seems the the problem you mention is that within 
> ConfigurationOfPierAddOns2 the "Pier-Setup" package should depend on 
> the "Pier-JQuery" package, but it appears not to and so "Pier-JQuery" 
> isn't being loaded as part of the default group. To load the 
> "Pier-JQuery" package try:
>
> ConfigurationOfPierAddOns2 project latestVersion load: #('Pier-JQuery' 
> 'Pier-Setup')
>
> Or you can pull in all the addons with:
>
> (ConfigurationOfPierAddOns2 project lastestVersion) load: 'ALL'
>
>
> There's a discussion between myself and Dale on which packages are 
> included in the default group in ConfigurationOfPierAddOns2 here:
>
> http://forum.world.st/ConfigurationOfPierAddOns2-td2321571.html
>
> Hope this helps
>
> Nick
>
>
> On 7 February 2011 22:16, Lukas Renggli <renggli at gmail.com 
> <mailto:renggli at gmail.com>> wrote:
>
>     Great, thanks a lot for maintaining the configurations :-)
>
>     Lukas
>
>     On 7 February 2011 23:07, Dale Henrichs <dhenrich at vmware.com
>     <mailto:dhenrich at vmware.com>> wrote:
>     > I'll take a look at see what's up...
>     >
>     > Dale
>     >
>     > On 02/07/2011 01:35 PM, Lukas Renggli wrote:
>     >>
>     >> Looks like the ConfigurationOfPier2 needs to be updated. All
>     widgets
>     >> that depend on Ajax functionality were moved to Pier-JQuery.
>     >>
>     >> Cheers,
>     >> Lukas
>     >>
>     >> On 3 February 2011 10:07, Lawson English<lenglish5 at cox.net
>     <mailto:lenglish5 at cox.net>>  wrote:
>     >>>
>     >>> In the Squeak4.2-10950.image, at the end of the "How  to
>     extend the
>     >>> Image"
>     >>> window, there is a line of code: (Smalltalk at:
>     #PRDistribution)  new
>     >>> register.
>     >>>
>     >>> This returns errors due to the fact that PRAjaxSearchWidget is
>     not in the
>     >>> package Pier-Seaside-Widgets specified by the
>     ConfigurationOfPier2 and in
>     >>> fact, it isn't included in any version after
>     Pier-Seaside-NickAger.490.
>     >>>
>     >>> If I drop back to that version, I can register a new Pier
>     kernel via
>     >>> PRDistribution, but otherwise, not.
>     >>>
>     >>>
>     >>> Lawson
>     >>>
>     >>>
>


On 4/18/11 4:31 AM, Hannes Hirzel wrote:
> The last time I tried myself it worked (one year ago, I have not
> checked if others did load tests in the meantime).
>
> But the fact that you ask about Pier implies that you could load Seaside first?
>
> "Seaside 3.0 http://www.seaside.st"
> (Installer ss project: 'MetacelloRepository') install:
> 'ConfigurationOfSeaside30'.
> (Smalltalk at: #ConfigurationOfSeaside30) load.
> (Smalltalk at: #WAPharoServerAdaptorBrowser) open.
>
>
> The load script for Pier as it is in 'Extending the System' (as of
> today Squeak 4.3alpha-11316)
>
> "Pier CMS: http://www.piercms.com"
> (Installer ss project: 'MetacelloRepository') install: 'ConfigurationOfPier2'.
> (Smalltalk at: #ConfigurationOfPier2) load.
>
> (Installer lukas project: 'pier2') install: 'Pier-Blog'.
> (Installer lukas project: 'pier2') install: 'Pier-Book'.
> (Installer lukas project: 'pier2addons') install: 'Pier-Setup'.
> (Smalltalk at: #PRDistribution)  new register.
>
> It looks reasonable. So I think this might be a question to ask on the
> Seaside list to find out what happened in the meantime.
>
> --Hannes
>
> On 4/18/11, Enrico Spinielli<enrico.spinielli at googlemail.com>  wrote:
>> Hi,
>> has anybody been successful in installing and running Pier as from
>> 'Extending the system'
>> instructions?
>> (Starting from 4.3alpha-11314 updated to latest Trunk....)
>>
>>
>> I get DNU as follows ():
>>
>> UndefinedObject(Object)>>doesNotUnderstand: #descriptionFilter
>> 	Receiver: nil
>> 	Arguments and temporary variables:
>> 		aMessage: 	descriptionFilter
>> 		exception: 	MessageNotUnderstood: UndefinedObject>>descriptionFilter
>> 		resumeValue: 	nil
>> 	Receiver's instance variables:
>> nil
>> PRDistribution>>searchWidget
>> 	Receiver: a PRDistribution
>> 	Arguments and temporary variables:
>>
>> 	Receiver's instance variables:
>> 		blog: 	a PBBlog[864] name: 'blog'
>> 		contentsWidget: 	a PRComponent[2467] name: 'contents'
>> 		environmentPage: 	nil
>> 		metaEnvironmentPage: 	nil
>> 		breadcrumbWidget: 	a PRComponent[1143] name: 'breadcrumb'
>> 		commandsPage: 	a PRPage[600] name: 'commands'
>> 		googleAnalyticsWidget: 	a PRComponent[1421] name: 'googleanalytics'
>> 		siteTitlePage: 	a PRPage[947] name: 'sitetitle'
>> 		sitemapPage: 	a PRPage[1713] name: 'sitemap'
>> 		stylesheetFile: 	a PRFile[2764] name: 'defaultCss'
>> 		systemManagementPage: 	nil
>> 		viewsPage: 	a PRPage[3226] name: 'views'
>> 		menuWidget: 	a PRPage[3674] name: 'menu'
>> 		loginCommandWidget: 	a PRComponent[2094] name: 'justlogincommand'
>> 		mainEnvironmentPage: 	nil
>> 		childrenWidget: 	a PRComponent[790] name: 'children'
>> 		postTickerWidget: 	a PRComponent[1254] name: 'postticker'
>> 		rootPage: 	a PRPage[4077] name: 'pier'
>> 		kernel: 	a PRKernel[4032] name: 'pier'
>> 		syntaxPage: 	a PRPage[2859] name: 'syntax'
>> 		aboutPage: 	a PRPage[234] name: 'about'
>> 		blogArchiveWidget: 	a PRComponent[1583] name: 'blogarchive'
>> 		blogEnvironmentPage: 	nil
>> 		poweredByPage: 	nil
>> 		searchWidget: 	nil
>> 		headerPage: 	a PRPage[911] name: 'header'
>> 		footerPage: 	a PRPage[1626] name: 'footer'
>> 		shortcutsPage: 	nil
>> 		loggedInUserPage: 	nil
>> 		designChooserWidget: 	nil
>> 		fileSettingsWidget: 	nil
>> 		documentWidget: 	nil
>> 		systemPage: 	a PRPage[3745] name: 'system'
>> 		componentsPage: 	a PRPage[280] name: 'components'
>> 		templatesPage: 	nil
>>
>> and when I try to debug I get:
>>
>> DebuggerMethodMapForClosureCompiledMethods(Object)>>doesNotUnderstand: #do:
>> 	Receiver: a DebuggerMethodMapForClosureCompiledMethods
>> 	Arguments and temporary variables:
>> 		aMessage: 	do: [closure] in [] in
>> SHTextStylerST80>>replaceStringForRangesWithTy...etc...
>> 		exception: 	MessageNotUnderstood:
>> DebuggerMethodMapForClosureCompiledMethods>>do...etc...
>> 		resumeValue: 	nil
>> 	Receiver's instance variables:
>> 		timestamp: 	3480578577
>> 		methodReference: 	a WeakArray((Object>>#doesNotUnderstand: "a
>> CompiledMethod(918...etc...
>> 		methodNode: 	doesNotUnderstand: aMessage
>> 	"Handle the fact that there was an at...etc...
>> 		abstractSourceRanges: 	nil
>> 		sortedSourceMap: 	nil
>> 		blockExtentsToTempRefs: 	a Dictionary((0 to: 2)->#(#('aMessage' 1)
>> #('exception'...etc...
>> 		startpcsToTempRefs: 	a Dictionary(49->#(#('aMessage' 1)
>> #('exception' 2) #('resu...etc...
>>
>> [] in SHTextStylerST80>>replaceStringForRangesWithType:with:in:
>> 	Receiver: a SHTextStylerST80
>> 	Arguments and temporary variables:
>> <<error during printing>
>> 	Receiver's instance variables:
>> 		sem: 	nil
>> 		backgroundProcess: 	nil
>> 		text: 	nil
>> 		monitor: 	a Monitor
>> 		view: 	a PluggableTextMorphPlus(3657)
>> 		stylingEnabled: 	true
>> 		classOrMetaClass: 	Object
>> 		workspace: 	nil
>> 		font: 	nil
>> 		parser: 	a SHParserST80
>> 		formatAssignments: 	true
>> 		environment: 	nil
>> 		sourceMap: 	a DebuggerMethodMapForClosureCompiledMethods
>> 		processedSourceMap: 	nil
>> 		pixelHeight: 	nil
>>
>>
>>
>> Any helps is welcome
>> Bye
>> --
>> Enrico Spinielli
>> "Do Androids dream of electric sheep?"— Philip K. Dick
>> "Hear and forget; see and remember;do and understand."—Mitchel Resnick
>>
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20110418/bb5bf8f3/attachment.htm


More information about the Squeak-dev mailing list