[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: weird errors

From: Catonano
Subject: Re: weird errors
Date: Sun, 14 Jan 2018 12:00:19 +0100

Hi Danny,

thanks for your help

2018-01-14 11:43 GMT+01:00 Danny Milosavljevic <address@hidden>:
Hi Catonano,

On Sun, 14 Jan 2018 08:21:10 +0100
Catonano <address@hidden> wrote:

> the line is supposed to be like
> TRYTOPASSILE = /path/to/some/passfile trytond-admin -c
> trytond-conf-file.conf

firstable I apologize for having written "TYTONPASSILE"

Of course an F is missing, my keybord is driving me mad

> that is
> TRYTOPASSILE = /gnu/store/some-hash-passfile
> /gnu/store/some-hash-trytond-admin -c
> /gnu/stor/some-hash-trytond-conf-file.conf

That only works with a shell - and the spaces marked below break it:

Ah, the spaces :-/

TRYTOPASSILE = /gnu/store/some-hash-passfile
            ^ ^

You'd need to remove those.  But even better instead do the following:

I'd just call (setenv "/gnu/store/some-hash-passfile") instead of starting a whole shell (it's a waste and increases the attach surface for no reason to use a shell here).

I can certainly do like you suggest. It's cleaner

But "trytond-admin" has to be called finally. Doesn't this require a shell anyway ?


> The problem seesm to be that a call to some .trytond-admin-real can't be
> satisfied

I don't think so.  Did you check via "ls -a" ? (files whose names start with a dot are otherwise hidden from output)

No, you' re right, it's there

~$ ls -lha /gnu/store/144hjm67pzq9x0v47hwfiabwqq219aya-trytond-4.6.2/bin/
totale 32K
dr-xr-xr-x 2 root root 4,0K  1 gen  1970 ./
dr-xr-xr-x 4 root root 4,0K  1 gen  1970 ../
-r-xr-xr-x 2 root root 1,5K  1 gen  1970 trytond
-r-xr-xr-x 2 root root 1,5K  1 gen  1970 trytond-admin
-r-xr-xr-x 3 root root  671  1 gen  1970 .trytond-admin-real
-r-xr-xr-x 2 root root 1,5K  1 gen  1970 trytond-cron
-r-xr-xr-x 2 root root  805  1 gen  1970 .trytond-cron-real
-r-xr-xr-x 2 root root 1,8K  1 gen  1970 .trytond-real

So were the spaces the only problem ?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]