can not install Chronos

Philippe Marschall philippe.marschall at gmail.com
Mon Jul 10 08:39:46 UTC 2006


Well, now I get a Syntax Error again:

PPHttpRequest KomHttpServer-Protocol parseCookies:

parseCookies: aString
	"PRIVATE: Parse a string in the format:
	Cookie: NAME1=OPAQUE_STRING1; NAME2=OPAQUE_STRING2 ..."

	| dict |
	dict := Dictionary new.
	(aString findTokens: ';') do:
			[:pairStr |
			| pair |
			pair := pairStr findTokens: '='.
			pair size > 0
				ifTrue:
					[| key Name already used in this class ->value |
					key := pair first withBlanksTrimmed asSymbol.
					value := pair size > 1
						ifTrue:
							[pair second withBlanksTrimmed]
						ifFalse:
							[nil].
					(dict includesKey: key) ifTrue: [self halt].
					dict at: key put: value]
				ifFalse:
					["self log: 'Cookie invalid pair format: ''' , pairStr , ''''"

					]].
	^dict

Philippe


2006/7/10, Alan Lovejoy <squeak-dev.sourcery at forum-mail.net>:
> Phillippe,
>
> There was an error in the install script.  I've fixed it.  Download the sar
> file and try it again.
>
> --Alan
>
> -----Original Message-----
> From: squeak-dev-bounces at lists.squeakfoundation.org
> [mailto:squeak-dev-bounces at lists.squeakfoundation.org] On Behalf Of Philippe
> Marschall
> Sent: Monday, July 10, 2006 12:30 AM
> To: The general-purpose Squeak developers list
> Subject: Re: can not install Chronos
>
> 2006/7/10, Alan Lovejoy <squeak-dev.sourcery at forum-mail.net>:
> > Version B1.173 of Chronos has been published.
> >
> > This version fixes a bug in ChronosParser reported by John Rubier.  It
> > also renames the Passport class HttpRequest to PPHttpRequest, and
> > renames the Passport class HttpResponse to PPHttpResponse (to avoid a
> > class name conflict with Seaside.)  The latter changes only affect
> > Squeak, since both HttpRequest and HttpRespose existed only in the Squeak
> version of Passport.
>
> Cool thanks. However I still can't load it, I get a
>
> TimeZonePolicyFactory class doesNotUnderstand: #basicInitializeAll
>
> This happens in the #initialize method of TimeZonePolicyFactory class.
>
> > The new version is available either from SqueakSource
> > (http://map.squeak.org/account/package/46b5731f-5112-4157-94d3-d40c4ed
> > 8304d) or from the Chronos web site (http://www.chronos-st.org).  Note
> > that the version available from SqueakSource is now distributed as a
> > SAR file.
>
> You're talking about SqueakMap. SqueakSource is something different.
>
> (I get a EOCD error when directly loading from SqueakMap, so I have to
> download and install by hand, but this is standard procedure for SqueakMap
> for me these days anyway)
>
> Philippe
>
>
>
>



More information about the Squeak-dev mailing list