all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <contact.ng0@cryptolab.net>
To: Catonano <catonano@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: trytond
Date: Wed, 5 Apr 2017 20:34:20 +0000	[thread overview]
Message-ID: <20170405203420.kawqmxxap54w74wx@abyayala> (raw)
In-Reply-To: <CAJ98PDyH01xdR4v3hpfxcFpB3C1QeprwZbGXR_isB2TFif1cTg@mail.gmail.com>

Catonano transcribed 3.1K bytes:
> In trying to build trytond (mind the d) 4.2.3, tests fail and I see this
> message

Heh. I finally get what you tried to tell me a couple of weeks ago when
we talked about GNU Health.. so tryton is different from what I am
working on :)

> ======================================================================
> ERROR: setUpClass (trytond.tests.test_copy.CopyTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/tmp/guix-build-python2-trytond-4.2.3.drv-1/trytond-4.2.3/trytond/tests/test_copy.py",
> line 15, in setUpClass
>     activate_module('tests')
>   File
> "/tmp/guix-build-python2-trytond-4.2.3.drv-1/trytond-4.2.3/trytond/tests/test_tryton.py",
> line 47, in activate_module
>     create_db()
>   File
> "/tmp/guix-build-python2-trytond-4.2.3.drv-1/trytond-4.2.3/trytond/tests/test_tryton.py",
> line 398, in create_db
>     transaction.database.create(transaction.connection, name)
>   File
> "/tmp/guix-build-python2-trytond-4.2.3.drv-1/trytond-4.2.3/trytond/backend/sqlite/database.py",
> line 269, in create
>     with sqlite.connect(path) as conn:
> OperationalError: unable to open database file
> 
> This "unable to open database file" appears tens of times
> 
> The tests use pysqlite (which is python@2 only)
> 
> Has the daemon environment anything to do with this ?

Most likely, I think the tests want to connect to an sqlite database.
But I see that you use an environmental variable already, so without
looking into the application itself I can't reply anything useful.
Someone else might have more insights.

> The package is here
> http://paste.lisp.org/display/343575
> 
> Thanks in advance

  reply	other threads:[~2017-04-05 20:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05 20:03 trytond Catonano
2017-04-05 20:34 ` ng0 [this message]
2017-04-06  0:10 ` trytond Hartmut Goebel
2017-04-06  7:43   ` trytond 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170405203420.kawqmxxap54w74wx@abyayala \
    --to=contact.ng0@cryptolab.net \
    --cc=catonano@gmail.com \
    --cc=help-guix@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.