[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird errors
From: |
Danny Milosavljevic |
Subject: |
Re: weird errors |
Date: |
Sun, 14 Jan 2018 11:43:46 +0100 |
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
>
> 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:
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).
> 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)