Hi Hilaire,

I also use a command line handler for start in a new image with voyage . I start it like this on windows:

.\...\Pharo5.0.image --no-default-preferences eval --save " MCRepositoryGroup default addRepository: (MCHttpRepository location: 'http://smalltalkhub.com/mc/Sabine/RKA24/main' ��user: 'Sabine' ��password: 'xxx').Metacello new smalltalkhubUser: 'Sabine' project: 'RKA24'; configuration: 'RKA24'; version: #development; load".

Are you sure that the code in the file is executed? I had similar problems and asked in slack. Unfortunately the discussion is gone. It came out that some combinations of file configuration and command line commands do not work. I currently don't remember which (save?) but perhaps this brings you to an idea.

Regards
Sabine


2017-03-24 20:51 GMT+01:00 HilaireFernandes [via Smalltalk] <[hidden email]>:
If I open manualy this image execute the configureMyImage.st code from a
playground, then save the image, I don't have a Voyage time error at
start up.

Are there non friendly interaction between voyage/socket and st command
handler?

Hilaire

Le 22/03/2017 �� 20:35, Hilaire a ��crit :

> Hi,
>
> When I configure a production image with command st handler as following:
>
> pharo myImage st --save --quit configureMyImage.st
>
> I notice at image start up, a Socket timeout error.
>
> In the configureMyImage.st script, among other things, I open a
> singleton Voyage repository. I added a 5s delay at the end of this
> script, just wondering if image was shutdown before Voyage establishes
> connection with the Mongo DB, but no.
>
> Any incompatibility issues to be aware of between st command handler
> (particularly the --save part) and Voyage repository?
>
> Thanks,
> Hilaire
--
Dr. Geo
http://drgeo.eu





If you reply to this email, your message will be added to the discussion below:
http://forum.world.st/Voyage-Timeout-tp4939672p4939873.html
To start a new topic under Pharo Smalltalk Users, email [hidden email]
To unsubscribe from Pharo Smalltalk Users, click here.
NAML


View this message in context: Re: Voyage Timeout
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.