From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catonano Subject: Re: weird errors Date: Sun, 14 Jan 2018 21:33:48 +0100 Message-ID: References: <87a7xhmpht.fsf@gnu.org> <20180114114346.78977872@scratchpost.org> <20180114174509.3428f435@scratchpost.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11431bec4018bf0562c26a13" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eaoyX-0007ne-97 for guix-devel@gnu.org; Sun, 14 Jan 2018 15:33:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eaoyW-00037A-CJ for guix-devel@gnu.org; Sun, 14 Jan 2018 15:33:53 -0500 In-Reply-To: <20180114174509.3428f435@scratchpost.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Danny Milosavljevic Cc: guix-devel --001a11431bec4018bf0562c26a13 Content-Type: text/plain; charset="UTF-8" 2018-01-14 17:45 GMT+01:00 Danny Milosavljevic : > > So were the spaces the only problem ? > > In https://gitlab.com/humanitiesNerd/guix-hacks/blob/trytonservice/gnu/ > services/trytond.scm , you don't invoke a shell (example: "sh", "bash", > "csh" etc) so the "VARIABLE=VALUE" syntax will not be evaluated by the > shell and the kernel will try to start a program called "VARIABLE=VALUE" > instead. > > So either (invoke "sh" "-c" "VARIABLE=VALUE trytond-admin ...") or just > use setenv and then invoke trytond-admin directly. > Aahh I see now ! Ok, thank you I won't fix it right now because it's late and I'm tired. But I'll take care of this in the coming days Thanks ! --001a11431bec4018bf0562c26a13 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2018-01-14 17:45 GMT+01:00 Danny Milosavljevic <da= nnym@scratchpost.org>:
> So = were the spaces the only problem ?

In ht= tps://gitlab.com/humanitiesNerd/guix-hacks/blob/trytonservice/gnu= /services/trytond.scm , you don't invoke a shell (example: &qu= ot;sh", "bash", "csh" etc) so the "VARIABLE= =3DVALUE" syntax will not be evaluated by the shell and the kernel wil= l try to start a program called "VARIABLE=3DVALUE" instead.

So either (invoke "sh" "-c" "VARIABLE=3DVALUE tryt= ond-admin ...") or just use setenv and then invoke trytond-admin direc= tly.


Aahh I see now = !

Ok, thank you

I won't fix it right now because it's late and= I'm tired. But I'll take care of this in the coming days

Thanks !
--001a11431bec4018bf0562c26a13--