Zeroconf: config command issue - oops

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

Zeroconf: config command issue - oops

philippeback
In the book, we have that config should show the help.

As in:
Examples:
# display this help message $PharoVM My.image config

but...


PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceZeroConf20130312
philippeback$] ./vm.sh Pharo.image config
==== Startup Error: SubscriptOutOfBounds: 1
OrderedCollection(Object)>>errorSubscriptBounds:
OrderedCollection>>ensureBoundsFrom:to:
OrderedCollection>>at:
CommandLineArguments>>argumentAt:
ConfigurationCommandLineHandler(CommandLineHandler)>>argumentAt:
ConfigurationCommandLineHandler>>loadRepositoryURL
ConfigurationCommandLineHandler>>repositoryURL
ConfigurationCommandLineHandler>>gofer
ConfigurationCommandLineHandler>>loadConfigurationNames
ConfigurationCommandLineHandler>>listConfigurations
ConfigurationCommandLineHandler>>list
ConfigurationCommandLineHandler>>activate
ConfigurationCommandLineHandler class(CommandLineHandler class)>>activateWith:
DefaultCommandLineHandler>>handleSubcommand
DefaultCommandLineHandler>>handleArgument:
DefaultCommandLineHandler>>activate
DefaultCommandLineHandler class>>startUp: in Block: [self new activate]
BlockClosure>>cull:
SmalltalkImage>>executeDeferredStartupActions: in Block: [each cull: resuming]
BlockClosure>>on:do:
SmalltalkImage>>logStartUpErrorDuring:into:tryDebugger:
SmalltalkImage>>executeDeferredStartupActions: in Block: [:each | self...
OrderedCollection>>do:
SmalltalkImage>>executeDeferredStartupActions:
SmalltalkImage>>startupImage:snapshotWorked:
SmalltalkImage>>snapshot:andQuit:
SmalltalkImage>>saveImageInFileNamed:
SmalltalkImage>>saveAs:
SaveCommandLineHandler>>saveImage
SaveCommandLineHandler>>activate
Got startup errors:
    SubscriptOutOfBounds: 1

Is this the behavior we want? It is kind of scary actually.

Phil

Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

Sven Van Caekenberghe-2
it is

$PharoVM My.image config --help

and yes the error handling could be improved ;-)

On 12 Mar 2013, at 12:10, "[hidden email]" <[hidden email]> wrote:

> In the book, we have that config should show the help.
>
> As in:
> Examples:
> # display this help message $PharoVM My.image config
>
> but...
>
>
> PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceZeroConf20130312
> philippeback$] ./vm.sh Pharo.image config
> ==== Startup Error: SubscriptOutOfBounds: 1
> OrderedCollection(Object)>>errorSubscriptBounds:
> OrderedCollection>>ensureBoundsFrom:to:
> OrderedCollection>>at:
> CommandLineArguments>>argumentAt:
> ConfigurationCommandLineHandler(CommandLineHandler)>>argumentAt:
> ConfigurationCommandLineHandler>>loadRepositoryURL
> ConfigurationCommandLineHandler>>repositoryURL
> ConfigurationCommandLineHandler>>gofer
> ConfigurationCommandLineHandler>>loadConfigurationNames
> ConfigurationCommandLineHandler>>listConfigurations
> ConfigurationCommandLineHandler>>list
> ConfigurationCommandLineHandler>>activate
> ConfigurationCommandLineHandler class(CommandLineHandler class)>>activateWith:
> DefaultCommandLineHandler>>handleSubcommand
> DefaultCommandLineHandler>>handleArgument:
> DefaultCommandLineHandler>>activate
> DefaultCommandLineHandler class>>startUp: in Block: [self new activate]
> BlockClosure>>cull:
> SmalltalkImage>>executeDeferredStartupActions: in Block: [each cull: resuming]
> BlockClosure>>on:do:
> SmalltalkImage>>logStartUpErrorDuring:into:tryDebugger:
> SmalltalkImage>>executeDeferredStartupActions: in Block: [:each | self...
> OrderedCollection>>do:
> SmalltalkImage>>executeDeferredStartupActions:
> SmalltalkImage>>startupImage:snapshotWorked:
> SmalltalkImage>>snapshot:andQuit:
> SmalltalkImage>>saveImageInFileNamed:
> SmalltalkImage>>saveAs:
> SaveCommandLineHandler>>saveImage
> SaveCommandLineHandler>>activate
> Got startup errors:
>    SubscriptOutOfBounds: 1
>
> Is this the behavior we want? It is kind of scary actually.
>
> Phil
>


Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

stephane ducasse
In reply to this post by philippeback
add a bug entry so that we handle it.

Sred

On Mar 12, 2013, at 12:10 PM, [hidden email] wrote:

> In the book, we have that config should show the help.
>
> As in:
> Examples:
> # display this help message $PharoVM My.image config
>
> but...
>
>
> PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceZeroConf20130312
> philippeback$] ./vm.sh Pharo.image config
> ==== Startup Error: SubscriptOutOfBounds: 1
> OrderedCollection(Object)>>errorSubscriptBounds:
> OrderedCollection>>ensureBoundsFrom:to:
> OrderedCollection>>at:
> CommandLineArguments>>argumentAt:
> ConfigurationCommandLineHandler(CommandLineHandler)>>argumentAt:
> ConfigurationCommandLineHandler>>loadRepositoryURL
> ConfigurationCommandLineHandler>>repositoryURL
> ConfigurationCommandLineHandler>>gofer
> ConfigurationCommandLineHandler>>loadConfigurationNames
> ConfigurationCommandLineHandler>>listConfigurations
> ConfigurationCommandLineHandler>>list
> ConfigurationCommandLineHandler>>activate
> ConfigurationCommandLineHandler class(CommandLineHandler class)>>activateWith:
> DefaultCommandLineHandler>>handleSubcommand
> DefaultCommandLineHandler>>handleArgument:
> DefaultCommandLineHandler>>activate
> DefaultCommandLineHandler class>>startUp: in Block: [self new activate]
> BlockClosure>>cull:
> SmalltalkImage>>executeDeferredStartupActions: in Block: [each cull: resuming]
> BlockClosure>>on:do:
> SmalltalkImage>>logStartUpErrorDuring:into:tryDebugger:
> SmalltalkImage>>executeDeferredStartupActions: in Block: [:each | self...
> OrderedCollection>>do:
> SmalltalkImage>>executeDeferredStartupActions:
> SmalltalkImage>>startupImage:snapshotWorked:
> SmalltalkImage>>snapshot:andQuit:
> SmalltalkImage>>saveImageInFileNamed:
> SmalltalkImage>>saveAs:
> SaveCommandLineHandler>>saveImage
> SaveCommandLineHandler>>activate
> Got startup errors:
>    SubscriptOutOfBounds: 1
>
> Is this the behavior we want? It is kind of scary actually.
>
> Phil
>


Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

philippeback
Sure, where? Fogbugz, old tracker?

This is currently confusing.

Phil

2013/3/12 stephane ducasse <[hidden email]>:

> add a bug entry so that we handle it.
>
> Sred
>
> On Mar 12, 2013, at 12:10 PM, [hidden email] wrote:
>
>> In the book, we have that config should show the help.
>>
>> As in:
>> Examples:
>> # display this help message $PharoVM My.image config
>>
>> but...
>>
>>
>> PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceZeroConf20130312
>> philippeback$] ./vm.sh Pharo.image config
>> ==== Startup Error: SubscriptOutOfBounds: 1
>> OrderedCollection(Object)>>errorSubscriptBounds:
>> OrderedCollection>>ensureBoundsFrom:to:
>> OrderedCollection>>at:
>> CommandLineArguments>>argumentAt:
>> ConfigurationCommandLineHandler(CommandLineHandler)>>argumentAt:
>> ConfigurationCommandLineHandler>>loadRepositoryURL
>> ConfigurationCommandLineHandler>>repositoryURL
>> ConfigurationCommandLineHandler>>gofer
>> ConfigurationCommandLineHandler>>loadConfigurationNames
>> ConfigurationCommandLineHandler>>listConfigurations
>> ConfigurationCommandLineHandler>>list
>> ConfigurationCommandLineHandler>>activate
>> ConfigurationCommandLineHandler class(CommandLineHandler class)>>activateWith:
>> DefaultCommandLineHandler>>handleSubcommand
>> DefaultCommandLineHandler>>handleArgument:
>> DefaultCommandLineHandler>>activate
>> DefaultCommandLineHandler class>>startUp: in Block: [self new activate]
>> BlockClosure>>cull:
>> SmalltalkImage>>executeDeferredStartupActions: in Block: [each cull: resuming]
>> BlockClosure>>on:do:
>> SmalltalkImage>>logStartUpErrorDuring:into:tryDebugger:
>> SmalltalkImage>>executeDeferredStartupActions: in Block: [:each | self...
>> OrderedCollection>>do:
>> SmalltalkImage>>executeDeferredStartupActions:
>> SmalltalkImage>>startupImage:snapshotWorked:
>> SmalltalkImage>>snapshot:andQuit:
>> SmalltalkImage>>saveImageInFileNamed:
>> SmalltalkImage>>saveAs:
>> SaveCommandLineHandler>>saveImage
>> SaveCommandLineHandler>>activate
>> Got startup errors:
>>    SubscriptOutOfBounds: 1
>>
>> Is this the behavior we want? It is kind of scary actually.
>>
>> Phil
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

Camillo Bruni-3
In reply to this post by Sven Van Caekenberghe-2
On 2013-03-12, at 12:47, Sven Van Caekenberghe <[hidden email]> wrote:
> it is
>
> $PharoVM My.image config --help
>
> and yes the error handling could be improved ;-)

haha true, I guess we will have to push coral to 3.0 to do these things properly :)

> On 12 Mar 2013, at 12:10, "[hidden email]" <[hidden email]> wrote:
>
>> In the book, we have that config should show the help.
>>
>> As in:
>> Examples:
>> # display this help message $PharoVM My.image config
>>
>> but...
>>
>>
>> PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceZeroConf20130312
>> philippeback$] ./vm.sh Pharo.image config
>> ==== Startup Error: SubscriptOutOfBounds: 1
>> OrderedCollection(Object)>>errorSubscriptBounds:
>> OrderedCollection>>ensureBoundsFrom:to:
>> OrderedCollection>>at:
>> CommandLineArguments>>argumentAt:
>> ConfigurationCommandLineHandler(CommandLineHandler)>>argumentAt:
>> ConfigurationCommandLineHandler>>loadRepositoryURL
>> ConfigurationCommandLineHandler>>repositoryURL
>> ConfigurationCommandLineHandler>>gofer
>> ConfigurationCommandLineHandler>>loadConfigurationNames
>> ConfigurationCommandLineHandler>>listConfigurations
>> ConfigurationCommandLineHandler>>list
>> ConfigurationCommandLineHandler>>activate
>> ConfigurationCommandLineHandler class(CommandLineHandler class)>>activateWith:
>> DefaultCommandLineHandler>>handleSubcommand
>> DefaultCommandLineHandler>>handleArgument:
>> DefaultCommandLineHandler>>activate
>> DefaultCommandLineHandler class>>startUp: in Block: [self new activate]
>> BlockClosure>>cull:
>> SmalltalkImage>>executeDeferredStartupActions: in Block: [each cull: resuming]
>> BlockClosure>>on:do:
>> SmalltalkImage>>logStartUpErrorDuring:into:tryDebugger:
>> SmalltalkImage>>executeDeferredStartupActions: in Block: [:each | self...
>> OrderedCollection>>do:
>> SmalltalkImage>>executeDeferredStartupActions:
>> SmalltalkImage>>startupImage:snapshotWorked:
>> SmalltalkImage>>snapshot:andQuit:
>> SmalltalkImage>>saveImageInFileNamed:
>> SmalltalkImage>>saveAs:
>> SaveCommandLineHandler>>saveImage
>> SaveCommandLineHandler>>activate
>> Got startup errors:
>>   SubscriptOutOfBounds: 1
>>
>> Is this the behavior we want? It is kind of scary actually.
>>
>> Phil
>>
>
>


Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

Camillo Bruni-3
In reply to this post by philippeback

On 2013-03-12, at 13:11, "[hidden email]" <[hidden email]> wrote:

> Sure, where? Fogbugz, old tracker?

fogbugz then :) and put it under the CommandLine project

> This is currently confusing.
>
> Phil
>
> 2013/3/12 stephane ducasse <[hidden email]>:
>> add a bug entry so that we handle it.
>>
>> Sred
>>
>> On Mar 12, 2013, at 12:10 PM, [hidden email] wrote:
>>
>>> In the book, we have that config should show the help.
>>>
>>> As in:
>>> Examples:
>>> # display this help message $PharoVM My.image config
>>>
>>> but...
>>>
>>>
>>> PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceZeroConf20130312
>>> philippeback$] ./vm.sh Pharo.image config
>>> ==== Startup Error: SubscriptOutOfBounds: 1
>>> OrderedCollection(Object)>>errorSubscriptBounds:
>>> OrderedCollection>>ensureBoundsFrom:to:
>>> OrderedCollection>>at:
>>> CommandLineArguments>>argumentAt:
>>> ConfigurationCommandLineHandler(CommandLineHandler)>>argumentAt:
>>> ConfigurationCommandLineHandler>>loadRepositoryURL
>>> ConfigurationCommandLineHandler>>repositoryURL
>>> ConfigurationCommandLineHandler>>gofer
>>> ConfigurationCommandLineHandler>>loadConfigurationNames
>>> ConfigurationCommandLineHandler>>listConfigurations
>>> ConfigurationCommandLineHandler>>list
>>> ConfigurationCommandLineHandler>>activate
>>> ConfigurationCommandLineHandler class(CommandLineHandler class)>>activateWith:
>>> DefaultCommandLineHandler>>handleSubcommand
>>> DefaultCommandLineHandler>>handleArgument:
>>> DefaultCommandLineHandler>>activate
>>> DefaultCommandLineHandler class>>startUp: in Block: [self new activate]
>>> BlockClosure>>cull:
>>> SmalltalkImage>>executeDeferredStartupActions: in Block: [each cull: resuming]
>>> BlockClosure>>on:do:
>>> SmalltalkImage>>logStartUpErrorDuring:into:tryDebugger:
>>> SmalltalkImage>>executeDeferredStartupActions: in Block: [:each | self...
>>> OrderedCollection>>do:
>>> SmalltalkImage>>executeDeferredStartupActions:
>>> SmalltalkImage>>startupImage:snapshotWorked:
>>> SmalltalkImage>>snapshot:andQuit:
>>> SmalltalkImage>>saveImageInFileNamed:
>>> SmalltalkImage>>saveAs:
>>> SaveCommandLineHandler>>saveImage
>>> SaveCommandLineHandler>>activate
>>> Got startup errors:
>>>   SubscriptOutOfBounds: 1
>>>
>>> Is this the behavior we want? It is kind of scary actually.
>>>
>>> Phil
>>>
>>
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

philippeback
account please.

2013/3/12 Camillo Bruni <[hidden email]>:

>
> On 2013-03-12, at 13:11, "[hidden email]" <[hidden email]> wrote:
>
>> Sure, where? Fogbugz, old tracker?
>
> fogbugz then :) and put it under the CommandLine project
>
>> This is currently confusing.
>>
>> Phil
>>
>> 2013/3/12 stephane ducasse <[hidden email]>:
>>> add a bug entry so that we handle it.
>>>
>>> Sred
>>>
>>> On Mar 12, 2013, at 12:10 PM, [hidden email] wrote:
>>>
>>>> In the book, we have that config should show the help.
>>>>
>>>> As in:
>>>> Examples:
>>>> # display this help message $PharoVM My.image config
>>>>
>>>> but...
>>>>
>>>>
>>>> PhilMac:~/Documents/Smalltalk/2-MyWorkspaces/workspaceZeroConf20130312
>>>> philippeback$] ./vm.sh Pharo.image config
>>>> ==== Startup Error: SubscriptOutOfBounds: 1
>>>> OrderedCollection(Object)>>errorSubscriptBounds:
>>>> OrderedCollection>>ensureBoundsFrom:to:
>>>> OrderedCollection>>at:
>>>> CommandLineArguments>>argumentAt:
>>>> ConfigurationCommandLineHandler(CommandLineHandler)>>argumentAt:
>>>> ConfigurationCommandLineHandler>>loadRepositoryURL
>>>> ConfigurationCommandLineHandler>>repositoryURL
>>>> ConfigurationCommandLineHandler>>gofer
>>>> ConfigurationCommandLineHandler>>loadConfigurationNames
>>>> ConfigurationCommandLineHandler>>listConfigurations
>>>> ConfigurationCommandLineHandler>>list
>>>> ConfigurationCommandLineHandler>>activate
>>>> ConfigurationCommandLineHandler class(CommandLineHandler class)>>activateWith:
>>>> DefaultCommandLineHandler>>handleSubcommand
>>>> DefaultCommandLineHandler>>handleArgument:
>>>> DefaultCommandLineHandler>>activate
>>>> DefaultCommandLineHandler class>>startUp: in Block: [self new activate]
>>>> BlockClosure>>cull:
>>>> SmalltalkImage>>executeDeferredStartupActions: in Block: [each cull: resuming]
>>>> BlockClosure>>on:do:
>>>> SmalltalkImage>>logStartUpErrorDuring:into:tryDebugger:
>>>> SmalltalkImage>>executeDeferredStartupActions: in Block: [:each | self...
>>>> OrderedCollection>>do:
>>>> SmalltalkImage>>executeDeferredStartupActions:
>>>> SmalltalkImage>>startupImage:snapshotWorked:
>>>> SmalltalkImage>>snapshot:andQuit:
>>>> SmalltalkImage>>saveImageInFileNamed:
>>>> SmalltalkImage>>saveAs:
>>>> SaveCommandLineHandler>>saveImage
>>>> SaveCommandLineHandler>>activate
>>>> Got startup errors:
>>>>   SubscriptOutOfBounds: 1
>>>>
>>>> Is this the behavior we want? It is kind of scary actually.
>>>>
>>>> Phil
>>>>
>>>
>>>
>>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

Camillo Bruni-3

On 2013-03-12, at 13:49, "[hidden email]" <[hidden email]> wrote:

> account please.

I added you with [hidden email] already a while ago.

Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

philippeback
Ok, never saw that I guess. Anyway, asking for a new password right away.

2013/3/12 Camillo Bruni <[hidden email]>:
>
> On 2013-03-12, at 13:49, "[hidden email]" <[hidden email]> wrote:
>
>> account please.
>
> I added you with [hidden email] already a while ago.
>

Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

philippeback
In reply to this post by Camillo Bruni-3
yep, works. Thanks. Issue(s) submitted.

2013/3/12 Camillo Bruni <[hidden email]>:
>
> On 2013-03-12, at 13:49, "[hidden email]" <[hidden email]> wrote:
>
>> account please.
>
> I added you with [hidden email] already a while ago.
>

Reply | Threaded
Open this post in threaded view
|

Re: Zeroconf: config command issue - oops

Camillo Bruni-3
aah good.


On 2013-03-12, at 14:04, "[hidden email]" <[hidden email]> wrote:

> yep, works. Thanks. Issue(s) submitted.
>
> 2013/3/12 Camillo Bruni <[hidden email]>:
>>
>> On 2013-03-12, at 13:49, "[hidden email]" <[hidden email]> wrote:
>>
>>> account please.
>>
>> I added you with [hidden email] already a while ago.
>>
>