health-dev
[Top][All Lists]
Advanced

[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
CREATE ROLE
Database user created
Creating database GNUHEALTH
Database created
Restarting database
Initializing database - this may take a while  (Note: this is the trytond-admin 
step!)
"admin" email for "GNUHEALTH": address@hidden
Enabling GNU Health at boot time
Created symlink /etc/systemd/system/multi-user.target.wants/postgresql.service 
→ /usr/lib/systemd/system/postgresql.service.
Created symlink /etc/systemd/system/multi-user.target.wants/gnuhealth.service → 
/usr/lib/systemd/system/gnuhealth.service.
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 
/usr/lib/python3.6/site-packages/trytond/modules 
2020-02-28 18:40:56 [INFO] Retrieving language pack file for de
--2020-02-28 19:40:56--  
http://translate.gnusolidario.org/export/?path=/de/GNUHEALTH/
Auflösen des Hostnamens translate.gnusolidario.org 
(translate.gnusolidario.org)… 5.189.152.174
Verbindungsaufbau zu translate.gnusolidario.org 
(translate.gnusolidario.org)|5.189.152.174|:80 … verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet … 200 OK
Länge: 4330208 (4,1M) [application/zip]
Wird in »/tmp/de.zip« gespeichert.

/tmp/de.zip                         
100%[==================================================================>]   
4,13M  2,07MB/s    in 2,0s    

2020-02-28 19:41:01 (2,07 MB/s) - »/tmp/de.zip« 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 
GNUHEALTH -v
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>
    admin.run(options)
  File "/usr/lib/python3.6/site-packages/trytond/admin.py", line 54, in run
    activatedeps=options.activatedeps)
  File "/usr/lib/python3.6/site-packages/trytond/pool.py", line 149, in init
    self.start()
  File "/usr/lib/python3.6/site-packages/trytond/pool.py", line 102, in start
    register_classes()
  File "/usr/lib/python3.6/site-packages/trytond/modules/__init__.py", line 
323, in register_classes
    for node in create_graph(get_module_list()):
  File "/usr/lib/python3.6/site-packages/trytond/modules/__init__.py", line 
149, in create_graph
    info = get_module_info(module)
  File "/usr/lib/python3.6/site-packages/trytond/modules/__init__.py", 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/misc.py", line 74, in 
file_open
    raise IOError('File not found : %s ' % name)
OSError: File not found : 
/usr/lib/python3.6/site-packages/trytond/modules/health_caldav/tryton.cfg 

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

Anyone to confirm this finding?

Thanks
Axel



reply via email to

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