This is a long known problem: http://code.google.com/p/pharo/issues/detail?id=2353. For now it can only be avoided by not using WideString (i.e. by not using an encoded server adapter).
Lukas On Tuesday, 12 July 2011, giorgio ferraris <[email protected]> wrote: > Hi, Tudor, > if I use the search facility on the bbok, i get the following: > Internal Error > Error: subscript is out of bounds: > 8218ByteArray(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)>>visitPublication: > PRFullTextSearch(PRVisitor)>>visitPortion: > BOPortion>>accept: > BOPortion(Object)>>acceptDecorated: > [] in BOPortion(PRDecorated)>>acceptDecorated: > BOPortion(PRDecorated)>>decorationsDo:ownerDo: > > thanks for the document > > giorgio ferraris > > On Mon, Jul 11, 2011 at 2:18 AM, Tudor Girba <[email protected]> wrote: > > Hi, > > I put together a tutorial for PetitParser in The Moose Book: > http://www.themoosebook.org/book/internals/petit-parser/mse > > The tutorial is meant to work with a Moose image and it is based on the same > scenario as I used at the Deep into Smalltalk School: > http://www.slideshare.net/girba/petitparser-at-the-deep-into-smalltalk-school-2011 > http://ci.moosetechnology.org/job/moose-latest-dev/lastSuccessfulBuild/artifact/moose/*zip*/moose.zip > > > Feedback is always appreciated (including the negative one :)). You can > either reply by mail, or leave a comment online. > > Cheers, > Doru > > > -- > www.tudorgirba.com > > "Presenting is storytelling." > > > > > -- Lukas Renggli www.lukas-renggli.ch
