Re: [Newbies] Re: DNU when trying to update squeak-web-118

2007-05-17 Thread Michael Davies
On 17/05/07, Stephen Davies <[EMAIL PROTECTED]> wrote: OK - I've had a little go with some success. Who wants to critique my process: [snip] That looks like an object lesson in how to track down a bug in Squeak. All you need to do now is file a bug report in mantis and upload a changeset with

[Newbies] Re: DNU when trying to update squeak-web-118

2007-05-17 Thread Stephen Davies
On 17/05/07, Stephen Davies <[EMAIL PROTECTED]> wrote: I feel helpless to fix this; I believe it has to do with the Universe Browser trying to refresh whilst the update is loading. "parent" is nil (?) I'm hoping for two things - first is a fix so I can keep my image up to date. But the other:

[Newbies] DNU when trying to update squeak-web-118

2007-05-17 Thread Stephen Davies
Hi, I took a new squeak-web-118 image, opened the Universe Browser and attempted to update the package "OmniBrowser" from version 0.337 to 0.342. The result was a DNU for #packages sent to nil, the report is below: I feel helpless to fix this; I believe it has to do with the Universe Browser tr

Re: [Newbies] Sorting

2007-05-17 Thread Chris Cunnington
> Try ('The cow jumped over the mon' sortBy: [:x :y | x < y]) as: String. That one's pretty cool. Sometimes I've tried things and you get a nasty array of characters ($a $b $c). That's an unpleasant answer. This solution puts it back into the form I expected initially. 'abc' Groovy. Chris

Re: [Newbies] Sorting

2007-05-17 Thread Scott Wallace
Try ('The cow jumped over the mon' sortBy: [:x :y | x < y]) as: String. On May 17, 2007, at 5:24 AM, Mark Bailey wrote: << #sortBy: does not return a string. >> I was surprised that the collection returned does not respond to a message like asString. Anyway, this short code works: t _ ('T

Re: [Newbies] Passing arguments to squeak image

2007-05-17 Thread subbukk
On Thursday 17 May 2007 6:23 pm, Bert Freudenberg wrote: > The first case should not fail silently. The error is on purpose > (though it might be more meaningful). True. Gzip files always begin with 0x1f and 0x8b, but this pre-condition is not satisfied by all senders, so there must be a way to in

Re: [Newbies] Passing arguments to squeak image

2007-05-17 Thread Bert Freudenberg
On May 17, 2007, at 14:45 , subbukk wrote: On Thursday 17 May 2007 4:38 pm, Bert Freudenberg wrote: You can pass an empty argument as first option after the image name followed by your other arguments, or deactivate the launcher in your image. squeak squeak.image /dev/null arg1 bag ar

Re: [Newbies] Passing arguments to squeak image

2007-05-17 Thread subbukk
On Thursday 17 May 2007 4:38 pm, Bert Freudenberg wrote: > You can pass an empty argument as first option after the image name > followed by your other arguments, or deactivate the launcher in your > image. squeak squeak.image /dev/null arg1 bag arg2 of arg3 of chips results in error[1]. B

RE: [Newbies] Sorting

2007-05-17 Thread Mark Bailey
<< #sortBy: does not return a string. >> I was surprised that the collection returned does not respond to a message like asString. Anyway, this short code works: t _ ('The cow jumped over the moon' sortBy: [ :x :y | x < y ]). s _ String new: t size. 1 to: t size do: [ :i | s at: i put: (t at: i)

Re: [Newbies] Passing arguments to squeak image

2007-05-17 Thread Patrick Collison
On 17/05/07, David T. Lewis <[EMAIL PROTECTED]> wrote: There is a preference setting that you can use to control this: help... -> preferences... -> general -> readDocumentAtStartup Ah, that's exactly what I was hoping to find. Thanks for your help. Patrick ___

Re: [Newbies] Passing arguments to squeak image

2007-05-17 Thread Bert Freudenberg
On May 17, 2007, at 10:53 , Patrick Collison wrote: Hi, Using latest SVN Squeak, I'm having trouble passing arguments to an image. As far as I can see from the usage, it looks like "squeak foo.image bar" should pass bar as an argument to the image. Instead, though, I get a load error (the p

Re: [Newbies] Passing arguments to squeak image

2007-05-17 Thread David T. Lewis
On Thu, May 17, 2007 at 01:53:44AM -0700, Patrick Collison wrote: > Hi, > > Using latest SVN Squeak, I'm having trouble passing arguments to an image. > > As far as I can see from the usage, it looks like "squeak foo.image > bar" should pass bar as an argument to the image. Instead, though, I > g

[Newbies] Passing arguments to squeak image

2007-05-17 Thread Patrick Collison
Hi, Using latest SVN Squeak, I'm having trouble passing arguments to an image. As far as I can see from the usage, it looks like "squeak foo.image bar" should pass bar as an argument to the image. Instead, though, I get a load error (the problem seems to be that Squeak is trying to load the url