[Pharo-project] Zeroconf: config command issue - oops
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
it is $PharoVM My.image config --help and yes the error handling could be improved ;-) On 12 Mar 2013, at 12:10, "phil@highoctane.be" <phil@highoctane.be> 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
On 2013-03-12, at 12:47, Sven Van Caekenberghe <sven@stfx.eu> 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, "phil@highoctane.be" <phil@highoctane.be> 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
add a bug entry so that we handle it. Sred On Mar 12, 2013, at 12:10 PM, phil@highoctane.be 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
Sure, where? Fogbugz, old tracker? This is currently confusing. Phil 2013/3/12 stephane ducasse <stephane.ducasse@free.fr>:
add a bug entry so that we handle it.
Sred
On Mar 12, 2013, at 12:10 PM, phil@highoctane.be 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
On 2013-03-12, at 13:11, "phil@highoctane.be" <phil@highoctane.be> 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 <stephane.ducasse@free.fr>:
add a bug entry so that we handle it.
Sred
On Mar 12, 2013, at 12:10 PM, phil@highoctane.be 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
account please. 2013/3/12 Camillo Bruni <camillobruni@gmail.com>:
On 2013-03-12, at 13:11, "phil@highoctane.be" <phil@highoctane.be> 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 <stephane.ducasse@free.fr>:
add a bug entry so that we handle it.
Sred
On Mar 12, 2013, at 12:10 PM, phil@highoctane.be 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
aah good. On 2013-03-12, at 14:04, "phil@highoctane.be" <phil@highoctane.be> wrote:
yep, works. Thanks. Issue(s) submitted.
2013/3/12 Camillo Bruni <camillobruni@gmail.com>:
On 2013-03-12, at 13:49, "phil@highoctane.be" <phil@highoctane.be> wrote:
account please.
I added you with phil@highoctane.be already a while ago.
participants (4)
-
Camillo Bruni -
phil@highoctane.be -
stephane ducasse -
Sven Van Caekenberghe