Hello,
Error in sending report :
[2025-10-17 07:14:31,361][WARNING][172.23.100.27][admin][CP Server Thread-4][rdiffweb.controller.page_pref_notification] fail to save report settings
Traceback (most recent call last):
File "rdiffweb/controller/page_pref_notification.py", line 64, in populate_obj
File "rdiffweb/core/notification.py", line 388, in send_report
File "rdiffweb/core/notification.py", line 168, in _queue_mail
File "rdiffweb/core/rdw_templating.py", line 231, in compile_template
File "jinja2/environment.py", line 1295, in render
File "jinja2/environment.py", line 942, in handle_exception
File "/opt/minarca-server/rdiffweb/templates/email_report.html", line 1, in top-level template code
{% extends 'email_layout.html' %}
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/minarca-server/rdiffweb/templates/email_layout.html", line 315, in top-level template code
{% call body('bg-light')%}
^^^^^^^^^^^^^^^^^^^^^^^^^
File "jinja2/runtime.py", line 784, in _invoke
File "/opt/minarca-server/rdiffweb/templates/email_layout.html", line 38, in template
{{ caller() }}
File "jinja2/runtime.py", line 784, in _invoke
File "/opt/minarca-server/rdiffweb/templates/email_layout.html", line 316, in template
{% call container() %}
File "jinja2/runtime.py", line 784, in _invoke
File "/opt/minarca-server/rdiffweb/templates/email_layout.html", line 70, in template
<td style="line-height: 24px; font-size: 16px; margin: 0;" align="left">{{ caller() }}</td>
^^^^^^^^^^^^^^^^^^^^^^^^^
File "jinja2/runtime.py", line 784, in _invoke
File "/opt/minarca-server/rdiffweb/templates/email_layout.html", line 317, in template
{% call card() %}
File "jinja2/runtime.py", line 784, in _invoke
File "/opt/minarca-server/rdiffweb/templates/email_layout.html", line 98, in template
{{ caller() }}
File "jinja2/runtime.py", line 784, in _invoke
File "/opt/minarca-server/rdiffweb/templates/email_layout.html", line 324, in template
{% call card_body() %}
File "jinja2/runtime.py", line 784, in _invoke
File "/opt/minarca-server/rdiffweb/templates/email_layout.html", line 137, in template
align="left">{{ caller() }}</td>
^^^^^^^^^^^^^^^^^^^^^^^^^
File "jinja2/runtime.py", line 784, in _invoke
File "/opt/minarca-server/rdiffweb/templates/email_layout.html", line 325, in template
{% block body %}
File "/opt/minarca-server/rdiffweb/templates/email_report.html", line 18, in block 'body'
{% set start = start_time.epoch|format_date("medium") %}
^^^^^^^^^^^^^^^^^^^^^^^^^
File "rdiffweb/tools/i18n.py", line 328, in format_date
File "babel/dates.py", line 370, in get_date_format
File "babel/core.py", line 350, in parse
TypeError: ("Empty locale identifier value: None\n\nIf you didn't explicitly pass an empty value to a Babel function, this could be caused by there being no suitable locale environment variables for the API you tried to use.",)