[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] access database on own domain name via gnu health clien

From: ourdiaspora
Subject: Re: [Health-dev] access database on own domain name via gnu health client
Date: Wed, 15 Apr 2020 09:38:49 +0000

Am Mittwoch, 15. April 2020, 10:16:58 CEST schrieb ourdiaspora:

> looks like your setup is somehow messed up.
> rm -rf /home/gnuhealth/gnuhealth
> and run gnuhealth-setup again
> trytond will then be automatically installed

Same error occurs, after successful installation:

2020-04-15 09:22:42 [INFO] Starting GNU Health Server version 3.6.2 ...
Traceback (most recent call last):
  File "/usr/local/bin/trytond", line 14, in <module>
    from trytond import server
ImportError: cannot import name 'server' from 'trytond' 
2020-04-15 09:22:42 [ERROR] Bailing out !

The problem is the shell script. Line 14 of '/usr/local/bi/trytond':
from trytond import server

The script creates the directory 'gnuhealth'; below is content of tryton 
'' (what kind of file name convention is this???):
# This file is part of Tryton.  The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
import os
import time
import warnings
from email import charset

__version__ = "5.0.20"

os.environ['TZ'] = 'UTC'
if hasattr(time, 'tzset'):

if time.tzname[0] != 'UTC':
    warnings.warn('Timezone must be set to UTC instead of %s' % time.tzname[0])

# set email encoding for utf-8 to 'quoted-printable'
charset.add_charset('utf-8', charset.QP, charset.QP)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]