unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Catonano <catonano@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: weird errors
Date: Mon, 22 Jan 2018 20:01:46 +0100	[thread overview]
Message-ID: <20180122200146.545ef7f6@scratchpost.org> (raw)
In-Reply-To: <CAJ98PDzUNQrpEn3xRvSDx1Rqg3dEa4iJVw+242bjKwX6g4y1LA@mail.gmail.com>

Hi Catonano,

On Mon, 22 Jan 2018 13:42:26 +0100
Catonano <catonano@gmail.com> 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 trytond,
maybe everything works then.

So in gnu/services/trytond.scm:

               (createdb-script (string-append #$postgresql "/bin/createdb")
                                "-O" "trytond"
                                #$database-name)

And later

  (apply invoke createdb-script)

> trytond attempts to connect to a sqlite database that doesn't exist

Probably a fallback, hmm.

> I'm not gonna keep working on this
> It's not fun anymore

Too bad.  I can understand it though.

For the part I had in the frustration by shitty VM error reporting, I'm sorry.

I've now merged the tryton packages from your repository into guix master.

(I've applied small stylistic fixes)

Since it's snowing outside and cold as hell, I'll also try to get a minimal
trytond service to work, starting from your work.

I have no idea what the program is supposed to do - so I'll stop when it starts
up.

  reply	other threads:[~2018-01-22 19:01 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
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 [this message]
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=20180122200146.545ef7f6@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=catonano@gmail.com \
    --cc=guix-devel@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).