Project

General

Profile

Actions

Bug #7108

open

Hawat's babel.cfg is missing from deb installation

Added by Pavel Kácha over 3 years ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Development - Tools
Target version:
Start date:
03/08/2021
Due date:
% Done:

0%

Estimated time:
To be discussed:
No

Description

According to doc, administrator should be able to locally change template texts along with appropriate localizations. However, needed Makefile falls flat because of missing ./lib/hawat/babel.cfg:

(venv) root@mentat-hub:/var/mentat/venv/lib/python3.7/site-packages/hawat# make hpybabel-update
...
*** Updating translations for Hawat user interface *** .

Traceback (most recent call last):
  File "/var/mentat/venv/bin/pybabel", line 8, in <module>
    sys.exit(main())
  File "/var/mentat/venv/lib/python3.7/site-packages/babel/messages/frontend.py", line 929, in main
    return CommandLineInterface().run(sys.argv)
  File "/var/mentat/venv/lib/python3.7/site-packages/babel/messages/frontend.py", line 853, in run
    return cmdinst.run()
  File "/var/mentat/venv/lib/python3.7/site-packages/babel/messages/frontend.py", line 438, in run
    mappings = self._get_mappings()
  File "/var/mentat/venv/lib/python3.7/site-packages/babel/messages/frontend.py", line 502, in _get_mappings
    with open(self.mapping_file, po_file_read_mode) as fileobj:
FileNotFoundError: [Errno 2] No such file or directory: './babel.cfg'
make: *** [Makefile:134: hpybabel-update] Error 1
Actions

Also available in: Atom PDF