Message7481
The latest tests for german locale in test/test_liveserver.py fail for me.
Looks like the computed LOCALE_DIRS in roundup/i18n.py does not find the locale of the checked-out directory.
I have the roundup checkout I'm testing with in
/nobackup/ralf/checkout/sourceforge/roundup.hg.tip
and LOCALE_DIRS contains:
(Pdb) p LOCALE_DIRS
['/usr/share/locale', '/nobackup/ralf/share/locale']
This results in all mofiles being None and the translator being set to the NullTranslator.
Note that when searching in LOCALE_DIRS the domain is set to 'roundup' and on that system no roundup locales are installed in /usr/share.
Any Idea on how to improve this? The regression tests should find the .mo files in the checked out directory and *not* in the installed roundup installation. I'm wondering why this works in the online regression-test framework?
This bit me when testing Marcus' modifications until I noticed that the test breaks without his changes, too. |
|
Date |
User |
Action |
Args |
2022-05-02 09:31:58 | schlatterbeck | set | recipients:
+ schlatterbeck, rouilj, marcus.priesch |
2022-05-02 09:31:58 | schlatterbeck | set | messageid: <1651483918.24.0.502824686044.issue2551200@roundup.psfhosted.org> |
2022-05-02 09:31:58 | schlatterbeck | link | issue2551200 messages |
2022-05-02 09:31:57 | schlatterbeck | create | |
|