[Glass] Can I use tODE in this context?

Mariano Martinez Peck via Glass glass at lists.gemtalksystems.com
Tue Sep 15 08:10:26 PDT 2015


On Tue, Sep 15, 2015 at 11:39 AM, Dale Henrichs <
dale.henrichs at gemtalksystems.com> wrote:

>
>
> On 9/14/15 6:33 PM, Mariano Martinez Peck wrote:
>
>
>
> On Mon, Sep 14, 2015 at 8:33 PM, Dale Henrichs <
> dale.henrichs at gemtalksystems.com> wrote:
>
>>
>>
>> On 09/14/2015 04:05 PM, Mariano Martinez Peck wrote:
>>
>>
>>
>> On Mon, Sep 14, 2015 at 7:03 PM, Dale Henrichs <
>> dale.henrichs at gemtalksystems.com> wrote:
>>
>>> Mariano,
>>>
>>> Where <stone-name> matches the stoneName: field in your description file.
>>>
>>> Soooooo, to hook up your stone to the directory structure, execute the
>>> following tODE shell script:
>>>
>>>   script --script=installServerTode2
>>>
>>>
>> Damn...I am running out of disk space in this small SSD....grrr... Either
>> I trust and do not do backups (and I call setUpSys directly, and if screw
>> up I use time machine), or .... we add compressed backups. I tried: 'man bu
>> backup' but I do not see any option like --compressed which would be super
>> cool :)
>>
>> and you'll be ready to rumba... the script does a backup before running
>>> the setUpSys commands so if we run into problems in your sandbox we can
>>> restore from backup and try again ...
>>>
>>>
>> OK, tomorrow I will try later with setUpSys without backups...
>>
>>
>> Shoot! I've been meaning to add a --compressed option to the `bu` command
>> ... I've made a note ...
>>
>>
> Should I open an issue?
>
> yes please...
>


In GsDevKitHome issue tracker or is there a separate one for tODE?



>
>
>
>> setUpSys shouldn't do anything that catastrophic if it fails and we can
>> probably repair at the object level if it does ---
>>
>>
> I tried but I get
>
> tode 1 > script --script=setUpSys
> Topez ERROR: a TodeCommandError occurred (error 121000), File or directory
> not found: '$GS_HOME/tode/sys/default'
>
> But the directory DOES exist, as I can try it from my command line:
>
> % ls -la  $GS_HOME/tode/sys/default
> total 0
> drwxr-xr-x  10 mariano  staff  340 Sep 14 13:45 .
> drwxr-xr-x   6 mariano  staff  204 Sep 14 13:45 ..
> -rw-r--r--   1 mariano  staff    0 Sep 14 13:45 README.md
> drwxr-xr-x   4 mariano  staff  136 Sep 14 13:45 bin
> drwxr-xr-x   4 mariano  staff  136 Sep 14 13:45 client
> drwxr-xr-x   5 mariano  staff  170 Sep 14 13:45 home
> drwxr-xr-x   4 mariano  staff  136 Sep 14 13:45 pharo
> drwxr-xr-x  20 mariano  staff  680 Sep 14 13:45 projects
> drwxr-xr-x   3 mariano  staff  102 Sep 14 13:45 server
> drwxr-xr-x   8 mariano  staff  272 Sep 14 13:45 templates
>
>
> I'm going to guess that GS_HOME is not defined ... it needs to be defined
> in the shell when you start your netldi run this tODE shell command :
>
>   eval `{System clientEnvironmentVariable: 'GS_HOME'. System
> gemEnvironmentVariable: 'GS_HOME'}`; edit
>
>
mmmm i get this:


tode 1 >   eval `{System clientEnvironmentVariable: 'GS_HOME'. System
gemEnvironmentVariable: 'GS_HOME'}`; edit
[82042625 sz:1 Array] anArray( anArray( '/Users/mariano/gsDevKitHome', nil))
tode 1 > script --script=setUpSys
Topez ERROR: a TodeCommandError occurred (error 121000), File or directory
not found: '$GS_HOME/tode/sys/default'

mmm why it cannot get the variable...mmm I must run now...will be back later

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


More information about the Glass mailing list