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] < ml-node+s1294792n4939873h58@n4.nabble.com>: 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 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 ml-node+s1294792n1310670h65@n4.nabble.com To unsubscribe from Pharo Smalltalk Users, click here <http://forum.world.st/template/NamlServlet.jtp?macro=unsubscribe_by_code&nod...> . NAML <http://forum.world.st/template/NamlServlet.jtp?macro=macro_viewer&id=instant...> -- View this message in context: http://forum.world.st/Voyage-Timeout-tp4939672p4939905.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.