From: Catonano <catonano@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: weird errors
Date: Sun, 14 Jan 2018 08:21:10 +0100 [thread overview]
Message-ID: <CAJ98PDy2UbE3U=FKv94F81ScDkDEX5=AhPfMa5DdcG6c8MfSkA@mail.gmail.com> (raw)
In-Reply-To: <87a7xhmpht.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 2838 bytes --]
2018-01-13 22:13 GMT+01:00 Ludovic Courtès <ludo@gnu.org>:
> Heya,
>
> Catonano <catonano@gmail.com> 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/store/3qpvdgkagkqyzpaw65c0plzd9zqp44v6-passfile
> > /gnu/store/144hjm67pzq9x0v47hwfiabwqq219aya-trytond-4.6.2/bin/trytond-
> admin"
> > exited with non-zero code 32512
>
> It’s trying to execute a program named “TRYTONPASSFILE = …/…”. This
> initial “TRYTONPASSFILE =” string is bogus, it’s not the name of the
> program.
>
TRYTONPASSFILE is supposed to be an environment variable forr trytond-admin
to consume
If TRYTONPASSFILE isn't set, tytond-admin will prompt the user and require
some interaction
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
The problem seesm to be that a call to some .trytond-admin-real can't be
satisfied
> Respawning trytond.
> > Service trytond has been started.
> > Backtrace:
> > 3 (primitive-load "/gnu/store/dh2mm0hk37q4cr4g390psp5y7jl?")
> > In ice-9/eval.scm:
> > 182:19 2 (proc #(#<directory (guile-user) 2767140> #("tryt?" ?) ?))
> > 142:16 1 (compile-top-call _ (7 . invoke) ((11 0 . 1) (10 # # ?)))
> > In unknown file:
> > 0 (%resolve-variable (7 . invoke) #<directory (guile-user?>)
> >
> > ERROR: In procedure %resolve-variable:
> > ERROR: Unbound variable: invoke
>
> ‘invoke’ is in (guix build utils), so you need (use-modules (guix build
> utils)) somewhere.
>
> Specifically, in the ‘tryton-shepherd-service’ procedure you posted, you
> need to define ‘start-script’ like this:
>
> (program-file "start-trytond"
> (with-imported-modules '((guix build utils))
> #~(begin
> (use-modules (guix build utils))
>
> (let ((user …))
> ;; …
> (invoke …)))))
>
Ah, ok, I missed this
>
> > warning: failed to load '(gnu tests install)':
> > In procedure allocate-struct: Wrong type argument in position 2: 13
>
> This suggests an ABI mismatch; run ‘make clean-go && make’.
>
>
Ok
> HTH, looks like you’re almost there! :-)
>
Thankks you Ludo !
Admittedly I'm a bit tired ;-)
I'll do this last turn of tries
If it doesn't work afer this, I'll abandon it and move on
I'll keep you posted !
[-- Attachment #2: Type: text/html, Size: 4236 bytes --]
next prev parent reply other threads:[~2018-01-14 7:21 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-13 17:00 weird errors Catonano
2018-01-13 21:13 ` Ludovic Courtès
2018-01-14 7:21 ` Catonano [this message]
2018-01-14 10:43 ` Danny Milosavljevic
2018-01-14 10:57 ` Danny Milosavljevic
2018-01-14 11:00 ` Catonano
2018-01-14 16:38 ` Ricardo Wurmus
2018-01-14 20:35 ` Catonano
2018-01-14 16:45 ` Danny Milosavljevic
2018-01-14 20:33 ` Catonano
2018-01-15 5:43 ` Alex Vong
2018-01-22 10:52 ` Catonano
2018-01-22 10:59 ` Danny Milosavljevic
2018-01-22 12:42 ` Catonano
2018-01-22 19:01 ` Danny Milosavljevic
2018-01-22 20:37 ` Catonano
2018-01-23 22:43 ` weird errors; shepherd Danny Milosavljevic
2018-01-24 12:34 ` Catonano
2018-01-24 12:46 ` Danny Milosavljevic
2018-01-24 12:52 ` Catonano
2018-01-24 14:47 ` Ludovic Courtès
2018-01-24 19:36 ` Danny Milosavljevic
2018-01-24 22:28 ` Ludovic Courtès
2018-01-29 7:24 ` Catonano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ98PDy2UbE3U=FKv94F81ScDkDEX5=AhPfMa5DdcG6c8MfSkA@mail.gmail.com' \
--to=catonano@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).