Error sending report

12 views
Skip to first unread message

Savory

unread,
Oct 17, 2025, 5:22:49 AMOct 17
to Minarca Data Backup
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.",)

Savory

unread,
Oct 17, 2025, 5:44:47 AMOct 17
to Minarca Data Backup
This issue is related to the LANG variable not being defined in the Docker container, add LANG: fr_FR.UTF8 in "environment:"

Patrik Dufresne

unread,
Oct 27, 2025, 9:17:52 AM (11 days ago) Oct 27
to min...@googlegroups.com
Hello Savory,

This is indeed an issue and should be fixed. Could you take the time to fill out an issue in gitlab ? 

https://gitlab.com/ikus-soft/minarca/-/issues

This helps me organise the communication.


--
You received this message because you are subscribed to the Google Groups "Minarca Data Backup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minarca+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/minarca/9f6f562d-8d59-4569-a20a-b9172e781fc5n%40googlegroups.com.


--
ATTENTION : Je serai en vacances du 16 oct au 26 oct 2025.
ATTENTION: I will be on vacation from Oct 16 to Oct 26, 2025.
IKUS Software
Reply all
Reply to author
Forward
0 new messages