[Glass] Problem with `create_gs_server_image` in latest gsDevKit_home

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Tue Nov 21 10:23:15 PST 2017


On Tue, Nov 21, 2017 at 3:15 PM, Dale Henrichs <
dale.henrichs at gemtalksystems.com> wrote:

>
>
> On 11/21/17 9:49 AM, Mariano Martinez Peck wrote:
>
>
>
> On Tue, Nov 21, 2017 at 2:47 PM, Dale Henrichs <
> dale.henrichs at gemtalksystems.com> wrote:
>
>>
>>
>> On 11/21/17 9:40 AM, Mariano Martinez Peck wrote:
>>
>>
>>
>> On Tue, Nov 21, 2017 at 2:22 PM, Dale Henrichs via Glass <
>> glass at lists.gemtalksystems.com> wrote:
>>
>>> I don't quite understand under what conditions you get an error ... and
>>> what the error is?
>>>
>>
>> It happened to me when I wanted to `updateGsDevKit` and the `-d` caused
>> this problem. Error? No error...pharo VM simply opening the Finder dialog
>> as the passed image didn't exist.
>> See attached picture.
>>
>>
>>> What options are you using and what does the output look like when it
>>> fails ...
>>>
>>
>> Just the instructions from the GsDevKit release:  `updateGsDevKit -ti` in
>> client or   `updateGsDevKit -gsd` on server.
>>
>> What is strange is that this happened to me in my OSX (client side) and
>> in ONE of the server... but not in another one. I imagine the difference is
>> that the working installation did have the `gsDevKitCommandLine.image`
>> already while the other one did not.
>>
>> Okay this was the bit that was confusing to me ... but it makes sense
>> that the -f would fail if the image hadn't been created yet ... submitted a
>> bug [1].
>>
>> Dale
>>
>> [1] https://github.com/GsDevKit/GsDevKit_home/issues/199
>>
>>
> OK, perfect. I didn't submit any PR because I am not sure which path would
> you like to follow...  The easiest thing that came to my mind is what I
> said in first email:
>
> *I guess we could check if `$directoryPath/$imageName" ` exists, and if
> not, then use $initialImageName even if -f was passed by...*
>
> But maybe you have a better idea.
>
> I don't have a better idea ... I've been threatening to create the `gsDevKitCommandLine.image`
> during the install, so that it will "always exist", but we always have to
> account for the possibility that the `gsDevKitCommandLine.image` may not
> exist ...
>
>
>
I thought about that too... but then I imagine maybe someone accidentally
remove it (maybe wrongly thinking that would help to rebuild it etc) .. so
I kind of concluded adding an IF kind of logic would be safer...



> Cheers,
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gemtalksystems.com/mailman/private/glass/attachments/20171121/d7953c59/attachment.html>


More information about the Glass mailing list