Re: Issue with PRFullTextSearch - WideString

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Issue with PRFullTextSearch - WideString

Lukas Renggli
This is likely a problem of the server adaptor you selected in your
seaside setup. Do you use WAKomEncoded in Seaside 2.8 or the UTF-8
codex in Seaside 3?

Lukas

On 15 April 2010 17:54, Reza RAZAVI <[hidden email]> wrote:

> Hi,
>
> Congratulations for the release of Pharo 1.0!
>
> I'd also like to report a confusing issue encountered in following setting:
> - VM: Win32 - IX86 - NT - Squeak3.10.2 of '5 June 2008' [latest update:
> #7179]
> - Image: PharoCore1.0rc1 [Latest update: #10505]
>
> In the stack traces, I can see the following string 'Ambient Activity
> Systems ????????????????
>
> However, that string is in reality 'Ambient Activity Systems – Key
> Features', which I can re-obtain by copying & pasting the string above to
> any other text processor, like Word. But, if I copy & past it into another
> editor in Pharo, it shows 'Ambient Activity Systems ? Key Features'. Now
> again, if I copy & past this latter string to another editor, it shows the
> original one, that is 'Ambient Activity Systems – Key Features'.
>
> The full stack is copied below. I tried to report this issue via "Mister
> Postman" so as you get the full details of the stack, but got a
> *ConnectionTimeOut*, raised via SMTPClient >> fetchNextResponse, then
> SocketStream nextLine. If more details are needed, please tell me.
>
> How the above differences could be explained, and could they explain the
> "subscript is out of bounds: 8212" error?
> Regards,
> Reza Razavi
>
>
> --- The full stack ---
> ByteArray(Object)>>error:
> ByteArray(Object)>>errorSubscriptBounds:
> ByteArray(Object)>>at:
> WideString(String)>>findSubstring:in:startingAt:matchTable:
> WideString(String)>>findString:startingAt:caseSensitive:
> WideString(String)>>includesSubstring:caseSensitive:
> [] in [] in PRFullTextSearch>>visitStructure:
> [] in Set(Collection)>>anySatisfy:
> Set>>do:
> Set(Collection)>>anySatisfy:
> [] in PRFullTextSearch>>visitStructure:
> SortedCollection(OrderedCollection)>>do:
> MAPriorityContainer(MAContainer)>>do:
> PRFullTextSearch>>visitStructure:
> PRFullTextSearch(PRVisitor)>>visitCase:
> PRFullTextSearch(PRVisitor)>>visitPage:
> PRPage>>accept:
> PRPage(Object)>>acceptDecorated:
> [] in PRPage(PRDecorated)>>acceptDecorated:
> PRPage(PRDecorated)>>decorationsDo:ownerDo:
> PRPage(PRDecorated)>>acceptDecorated:
> PRFullTextSearch(PRVisitor)>>visit:
> [] in PRFullTextSearch(PRVisitor)>>visitAll:
> Array(SequenceableCollection)>>do:
> PRFullTextSearch(PRVisitor)>>visitAll:
> PRFullTextSearch>>visitChildren:
> PRChildren>>accept:
> PRChildren(Object)>>acceptDecorated:
> PRFullTextSearch(PRVisitor)>>visit:
> [] in PRPage(PRDecorated)>>acceptDecorated:
> [] in PRPage(PRDecorated)>>decorationsDo:ownerDo:
> Array(SequenceableCollection)>>do:
> PRPage(PRDecorated)>>decorationsDo:ownerDo:
> PRPage(PRDecorated)>>acceptDecorated:
> PRFullTextSearch(PRVisitor)>>visit:
> [] in PRFullTextSearch(PRVisitor)>>visitAll:
> Array(SequenceableCollection)>>do:
> PRFullTextSearch(PRVisitor)>>visitAll:
> PRFullTextSearch>>visitChildren:
>  - - - - - - - - - - - - - - -
>                        - - - - - - - - - - - - - - - - - -
> PRChildren>>accept:
> PRChildren(Object)>>acceptDecorated:
> PRFullTextSearch(PRVisitor)>>visit:
> [] in PRPage(PRDecorated)>>acceptDecorated:
> [] in PRPage(PRDecorated)>>decorationsDo:ownerDo:
> Array(SequenceableCollection)>>do:
> PRPage(PRDecorated)>>decorationsDo:ownerDo:
> PRPage(PRDecorated)>>acceptDecorated:
> PRFullTextSearch(PRVisitor)>>visit:
> PRFullTextSearch(PRVisitor)>>start:
> PRFullTextSearch>>start:
> PRFullTextSearch(PREnumerableVisitor)>>do:
> [] in PRFullTextSearch(PREnumerableVisitor)>>collect:
> Array class(SequenceableCollection class)>>streamContents:
> PRFullTextSearch(PREnumerableVisitor)>>collect:
> PRFullTextSearch(PREnumerableVisitor)>>contents
> PRAjaxSearchWidget>>findItems
> PRAjaxSearchWidget>>unfilteredItems
> PRAjaxSearchWidget(PRStructuresWidget)>>items
> [] in PRAjaxSearchWidget>>renderItemsOn:for:
> BlockClosure>>renderOn:
> WARenderCanvas(WARenderer)>>render:
> WARenderCanvas(WACanvas)>>render:
> [] in WAUnorderedListTag(WATagBrush)>>with:
> BlockClosure>>renderOn:
> WARenderCanvas(WARenderer)>>render:
> WARenderCanvas(WACanvas)>>render:
> WARenderCanvas(WACanvas)>>nest:
> WAUnorderedListTag(WABrush)>>with:
> WAUnorderedListTag(WATagBrush)>>with:
> WARenderCanvas(WAHtmlCanvas)>>unorderedList:
> PRAjaxSearchWidget>>renderItemsOn:for:
> GRUnboundDelayedSend>>valueWithArguments:
> [] in SUAutocompleter(PTUpdater)>>processOn:with:
> BlockClosure>>renderOn:
> WARenderCanvas(WARenderer)>>render:
> WARenderCanvas(WACanvas)>>render:
> [] in SUAutocompleter(JSObject)>>render:on:
> [] in WARenderContext>>document:during:
> BlockClosure>>ensure:
> WARenderContext>>document:during:
> SUAutocompleter(JSObject)>>render:on:
> SUAutocompleter(PTUpdater)>>processOn:with:
> [] in SUAutocompleter(PTAjax)>>processWith:
> WARequestContext>>respond:
> SUAutocompleter(PTAjax)>>processWith:
> [] in SUAutocompleter>>registerCallbackIn:
> BlockClosure>>valueWithPossibleArguments:
> JSAjaxCallback>>evaluateWithArgument:
> JSAjaxCallback(WACallback)>>evaluateWithFieldValues:
> [] in WACallbackRegistry>>handle:
> Array(SequenceableCollection)>>do:
> WACallbackRegistry>>handle:
> [] in [] in WAActionPhaseContinuation>>runCallbacks
> BlockClosure>>on:do:
> WAActionPhaseContinuation(WARenderLoopContinuation)>>withNotificationHandlerDo:
> [] in WAActionPhaseContinuation>>runCallbacks
> BlockClosure>>ensure:
> WAActionPhaseContinuation>>runCallbacks
> WAActionPhaseContinuation>>handleRequest
> [] in WAActionPhaseContinuation(WASessionContinuation)>>basicValue
> BlockClosure>>on:do:
> WAActionPhaseContinuation(WASessionContinuation)>>withUnregisteredHandlerDo:
> WAActionPhaseContinuation(WASessionContinuation)>>basicValue
> WAActionPhaseContinuation(WASessionContinuation)>>value
> WASession>>handleFiltered:
> PRContextFilter(WARequestFilter)>>handleFiltered:
> [] in PRContextFilter>>handleFiltered:
> BlockClosure>>on:do:
> PRCurrentContext class>>use:during:
> PRContextFilter>>handleFiltered:
> WAMutualExclusionFilter(WARequestFilter)>>handleFiltered:
> [] in WAMutualExclusionFilter>>handleFiltered:
> BlockClosure>>ensure:
> [] in WAMutex>>critical:
> [] in Semaphore>>critical:
> BlockClosure>>ensure:
> Semaphore>>critical:
> WAMutex>>critical:
> WAMutualExclusionFilter>>handleFiltered:
> [] in WASession(WARequestHandler)>>handle:
> BlockClosure>>on:do:
> WACurrentRequestContext class(WADynamicVariable class)>>use:during:
> [] in WARequestContext>>push:while:
> BlockClosure>>ensure:
> WARequestContext>>push:while:
> WASession(WARequestHandler)>>handle:
> WAApplication(WARegistry)>>dispatch:to:
> WAApplication(WARegistry)>>handleKeyed:with:
> WAApplication(WARegistry)>>handleFiltered:
> WAApplication>>handleFiltered:
> WAAuthenticationFilter(WARequestFilter)>>handleFiltered:
> WAAuthenticationFilter>>handleFiltered:
> WAExceptionFilter(WARequestFilter)>>handleFiltered:
> [] in WAExceptionFilter>>handleFiltered:
> BlockClosure>>on:do:
> WAWalkbackErrorHandler(WAExceptionHandler)>>handleExceptionsDuring:
> WAWalkbackErrorHandler class(WAExceptionHandler
> class)>>handleExceptionsDuring:context:
> WAExceptionFilter>>handleFiltered:
> [] in WAApplication(WARequestHandler)>>handle:
> BlockClosure>>on:do:
> WACurrentRequestContext class(WADynamicVariable class)>>use:during:
> [] in WARequestContext>>push:while:
> BlockClosure>>ensure:
> WARequestContext>>push:while:
> WAApplication(WARequestHandler)>>handle:
> WADispatcher>>handleFiltered:named:
> WADispatcher>>handleFiltered:
> [] in WADispatcher(WARequestHandler)>>handle:
> BlockClosure>>on:do:
> WACurrentRequestContext class(WADynamicVariable class)>>use:during:
> [] in WARequestContext>>push:while:
> BlockClosure>>ensure:
> WARequestContext>>push:while:
> WADispatcher(WARequestHandler)>>handle:
> WADispatcher>>handleFiltered:named:
> WADispatcher>>handleFiltered:
> [] in WADispatcher(WARequestHandler)>>handle:
> BlockClosure>>on:do:
> WACurrentRequestContext class(WADynamicVariable class)>>use:during:
> [] in WARequestContext>>push:while:
> BlockClosure>>ensure:
> WARequestContext>>push:while:
> WADispatcher(WARequestHandler)>>handle:
> [] in WAComancheAdaptor(WAServerAdaptor)>>handleRequest:
> BlockClosure>>on:do:
> WAComancheAdaptor(WAServerAdaptor)>>handleRequest:
> WAComancheAdaptor(WAServerAdaptor)>>handle:
> [] in WAComancheAdaptor(WAServerAdaptor)>>process:
> BlockClosure>>ensure:
> WAComancheAdaptor(WAServerAdaptor)>>process:
> WAComancheAdaptor>>processHttpRequest:
> HttpService>>processHttpRequest:
> [] in HttpAdaptor>>dispatchRequest:
> BlockClosure>>on:do:
> HttpService>>handleDispatchErrorsIn:
> HttpAdaptor>>dispatchRequest:
> [] in [] in HttpAdaptor>>beginConversation
> BlockClosure>>on:do:
> BlockClosure>>valueWithBindingsContext:
> BlockClosure>>valueWithBindings:
> BindingsAccessor>>clamp:
> [] in HttpAdaptor>>beginConversation
> BlockClosure>>ensure:
> HttpAdaptor>>beginConversation
> HttpAdaptor class>>readAndWriteTo:service:
> HttpAdaptor class>>readAndWriteToSocket:service:
> HttpService>>serve:
> [] in HttpService(TcpService)>>value:
> BlockClosure>>on:do:
> BlockClosure>>valueWithBindingsContext:
> BlockClosure>>valueWithBindings:
> BindingsAccessor>>clamp:
> [] in BlockClosure>>newProcessWithClampedBindings:
> BlockClosure>>on:do:
> BlockClosure>>valueWithBindingsContext:
> BlockClosure>>valueWithBindings:
> [] in BlockClosure>>newProcessWithBindings:
> [] in BlockClosure>>newProcess
>
>
> _______________________________________________
> Magritte, Pier and Related Tools ...
> https://www.iam.unibe.ch/mailman/listinfo/smallwiki
>



--
Lukas Renggli
www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project