2018-01-23 23:43 GMT+01:00 Danny Milosavljevic :
> The attached file is gnu/services/trytond.scm which successfully runs
> trytond.
>
I run it and I confirm it works
I couldn't attemp at installing a couple of Tryton modules (on top of the
base ones) because in the vm the keyboard layout is mess
Danny Milosavljevic skribis:
> On Wed, 24 Jan 2018 15:47:16 +0100
> l...@gnu.org (Ludovic Courtès) wrote:
>
>> I’m not sure what you mean. There’s no notion of dependencies among
>> activation snippets, let alone between activation snippets and service
>> starts (when booting, activation snippet
Hi Ludo,
On Wed, 24 Jan 2018 15:47:16 +0100
l...@gnu.org (Ludovic Courtès) wrote:
> I’m not sure what you mean. There’s no notion of dependencies among
> activation snippets, let alone between activation snippets and service
> starts (when booting, activation snippets run *before* shepherd is
>
Hello,
Danny Milosavljevic skribis:
> Everyone:
>
> After I've tried writing some shepherd service I have to say that writing a
> shepherd "start" action is way too difficult.
>
> Even now, I've not gotten to work:
>
> * Having the activation depend on any other service.
I’m not sure what you m
2018-01-24 13:46 GMT+01:00 Danny Milosavljevic :
> Hi Catonano,
>
> > With "successfully"" you mean that it connects to postgres and it shhows
> te
> > proper screens in the client ?
>
> Yes.
>
> I invoked "tryton" which pops up a GUI. Then I edited the profiles there,
> adding "localhost" and th
Hi Catonano,
> With "successfully"" you mean that it connects to postgres and it shhows te
> proper screens in the client ?
Yes.
I invoked "tryton" which pops up a GUI. Then I edited the profiles there,
adding "localhost" and then I logged into the client GUI via login "admin"
and password "try
2018-01-23 23:43 GMT+01:00 Danny Milosavljevic :
> The attached file is gnu/services/trytond.scm which successfully runs
> trytond.
>
With "successfully"" you mean that it connects to postgres and it shhows te
proper screens in the client ?
Sometimes the trytond daemon does run but it fails to c
The attached file is gnu/services/trytond.scm which successfully runs trytond.
Everyone:
After I've tried writing some shepherd service I have to say that writing a
shepherd "start" action is way too difficult.
Even now, I've not gotten to work:
* Having the activation depend on any other servi
2018-01-22 20:01 GMT+01:00 Danny Milosavljevic :
> Hi Catonano,
>
> On Mon, 22 Jan 2018 13:42:26 +0100
> Catonano wrote:
>
> > The virtual machine boots successfully now
> >
> > The trytond service is running in it
>
> Cool!
>
> > But the postgres role doesn't exist so the connection to postgres
Hi Catonano,
On Mon, 22 Jan 2018 13:42:26 +0100
Catonano wrote:
> The virtual machine boots successfully now
>
> The trytond service is running in it
Cool!
> But the postgres role doesn't exist so the connection to postgres fails and
Your db-creation already invokes createdb. Try passing -O
2018-01-22 11:59 GMT+01:00 Danny Milosavljevic :
> > isn't invoke returning an exact integer ?
>
> No. "invoke" raises an exception if the child's exit code != 0.
> Otherwise you get #t.
>
> "system*" returns the exit code - might want to use that instead.
> (just replace the text "invoke" by "sy
> isn't invoke returning an exact integer ?
No. "invoke" raises an exception if the child's exit code != 0.
Otherwise you get #t.
"system*" returns the exit code - might want to use that instead.
(just replace the text "invoke" by "system*")
> Maybe tryton-admin insn't seeing the env var and pr
2018-01-14 12:00 GMT+01:00 Catonano :
> Hi Danny,
>
> thanks for your help
>
>
> 2018-01-14 11:43 GMT+01:00 Danny Milosavljevic :
>
>> Hi Catonano,
>>
>> On Sun, 14 Jan 2018 08:21:10 +0100
>> Catonano wrote:
>>
>>
> Ah, the spaces :-/
>
>
>>
>> TRYTOPASSILE = /gnu/store/some-hash-passfile
>>
Hello Catonano,
Danny Milosavljevic writes:
>> 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 eval
2018-01-14 17:38 GMT+01:00 Ricardo Wurmus :
>
> Catonano writes:
>
> >> 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
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 e
> 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
Catonano writes:
>> 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
Hi Danny,
thanks for your help
2018-01-14 11:43 GMT+01:00 Danny Milosavljevic :
> Hi Catonano,
>
> On Sun, 14 Jan 2018 08:21:10 +0100
> Catonano wrote:
>
> > the line is supposed to be like
> >
> > TRYTOPASSILE = /path/to/some/passfile trytond-admin -c
> > trytond-conf-file.conf
>
firstable I
On Sun, 14 Jan 2018 11:43:46 +0100
Danny Milosavljevic wrote:
> Hi Catonano,
>
> On Sun, 14 Jan 2018 08:21:10 +0100
> Catonano wrote:
>
> > the line is supposed to be like
> >
> > TRYTOPASSILE = /path/to/some/passfile trytond-admin -c
> > trytond-conf-file.conf
> >
> > that is
> >
> > TRYTO
Hi Catonano,
On Sun, 14 Jan 2018 08:21:10 +0100
Catonano 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/sto
2018-01-13 22:13 GMT+01:00 Ludovic Courtès :
> Heya,
>
> Catonano skribis:
>
> > In execvp of TRYTONPASSFILE =
> > /gnu/store/3qpvdgkagkqyzpaw65c0plzd9zqp44v6-passfile
> > /gnu/store/144hjm67pzq9x0v47hwfiabwqq219aya-trytond-4.6.2/bin/trytond-
> admin:
> > No such file or directory
> > ERROR: In p
Heya,
Catonano skribis:
> In execvp of TRYTONPASSFILE =
> /gnu/store/3qpvdgkagkqyzpaw65c0plzd9zqp44v6-passfile
> /gnu/store/144hjm67pzq9x0v47hwfiabwqq219aya-trytond-4.6.2/bin/trytond-admin:
> No such file or directory
> ERROR: In procedure scm-error:
> ERROR: program "TRYTONPASSFILE =
> /gnu/sto
Ok, I'm trying to build this tryton service
In running a VM like this
/gnu/store/9qcwl2vl8lnfbiid31irj92ffcagrc45-run-vm.sh --serial stdio -m 2G
I run into this error:
...
In execvp of TRYTONPASSFILE =
/gnu/store/3qpvdgkagkqyzpaw65c0plzd9zqp44v6-passfile
/gnu/store/144hjm67pzq9x0v47hwfiabwqq219
24 matches
Mail list logo