[Top][All Lists]

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

[Health-dev] Error after installation of language pack

From: Axel Braun
Subject: [Health-dev] Error after installation of language pack
Date: Sun, 1 Mar 2020 13:58:31 +0100

Dear GNU Health hackers, 

here is something to test.

Setup of a new, clean GH installation, with new database:

Starting database....
Database started
Changing postgres trust method
Postgres trust method changed
Create database user
Database user created
Creating database GNUHEALTH
Database created
Restarting database
Initializing database - this may take a while  (Note: this is the trytond-admin 
"admin" email for "GNUHEALTH": address@hidden
Enabling GNU Health at boot time
Created symlink /etc/systemd/system/ 
→ /usr/lib/systemd/system/postgresql.service.
Created symlink /etc/systemd/system/ → 
All done
2020-02-28 18:32:14 [WARNING] Please review your setup before using the system 
in production!

Installation of the language pack:

localhost:/home/test # gnuhealth-control getlang de
2020-02-28 18:40:56 [INFO] Going to modules directory 
2020-02-28 18:40:56 [INFO] Retrieving language pack file for de
--2020-02-28 19:40:56--
Auflösen des Hostnamens 
Verbindungsaufbau zu 
(||:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 4330208 (4,1M) [application/zip]
Wird in »/tmp/« gespeichert.

4,13M  2,07MB/s    in 2,0s    

2020-02-28 19:41:01 (2,07 MB/s) - »/tmp/« gespeichert [4330208/4330208]

2020-02-28 18:41:01 [INFO] Installing / Updating language files for de ...
2020-02-28 18:41:01 [INFO] Language pack de sucessfully installed / updated
2020-02-28 18:41:01 [INFO] You now need to update the database modules

Updating of modules:
tryton@localhost:/home/test> trytond-admin -c /etc/tryton/trytond.conf --all -d 
7106 140565472298304 [2020-02-28 18:42:57,065] INFO 
trytond.backend.postgresql.database connect to "GNUHEALTH"
Traceback (most recent call last):
  File "/usr/bin/trytond-admin", line 21, in <module>
  File "/usr/lib/python3.6/site-packages/trytond/", line 54, in run
  File "/usr/lib/python3.6/site-packages/trytond/", line 149, in init
  File "/usr/lib/python3.6/site-packages/trytond/", line 102, in start
  File "/usr/lib/python3.6/site-packages/trytond/modules/", line 
323, in register_classes
    for node in create_graph(get_module_list()):
  File "/usr/lib/python3.6/site-packages/trytond/modules/", line 
149, in create_graph
    info = get_module_info(module)
  File "/usr/lib/python3.6/site-packages/trytond/modules/", line 87, 
in get_module_info
    with tools.file_open(os.path.join(name, 'tryton.cfg')) as fp:
  File "/usr/lib/python3.6/site-packages/trytond/tools/", line 74, in 
    raise IOError('File not found : %s ' % name)
OSError: File not found : 

-> translation is in directory health_calendar instead of calendar (same for 
health_webdav3_server and webdav)

Anyone to confirm this finding?


reply via email to

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