Topic: DBmailAdmin 1.1.1 jinja2.exceptions.TemplateSyntaxError
==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Web server (Apache or Nginx):
- Manage mail accounts with iRedAdmin-Pro?
- Related log if you're reporting an issue:
====hello there
using dbmailadmin v.1.1.1. on an opensuse leap 42.1 box without any big issues so far.
but just recently i got offered an update of jinja2
python-Jinja2-2.8-6.1.noarch
running this jinja version created a bug.
downgrading back to python-Jinja2-2.7.3-4.2.noarch resolves the issue
i will copy error log below.
i thought perhaps you might be interested in?
sadly i'm no python developer how can i fix this error?
thanks & greetings
becki
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/web/application.py", line 239, in process
return self.handle()
File "/usr/lib/python2.7/site-packages/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/usr/lib/python2.7/site-packages/web/application.py", line 420, in _delegate
return handle_class(cls)
File "/usr/lib/python2.7/site-packages/web/application.py", line 396, in handle_class
return tocall(*args)
File "/srv/ssl/dbmailadmin/httpdocs/controllers/decorators.py", line 11, in proxyfunc
return func(self, *args, **kw)
File "/srv/ssl/dbmailadmin/httpdocs/controllers/dbmail_mysql/basic.py", line 220, in GET
removeQuarantinedInDays=settings.AMAVISD_REMOVE_QUARANTINED_IN_DAYS,
File "/srv/ssl/dbmailadmin/httpdocs/libs/iredbase.py", line 215, in render_template
return jinja_env.get_template(template_name).render(context)
File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 989, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 754, in handle_exception
reraise(exc_type, exc_value, tb)
File "/srv/ssl/dbmailadmin/httpdocs/libs/../templates/default/macros/general.html", line 814, in template
{% macro display_per_user_wblist(values=[], htmlInputName, label) -%}
TemplateSyntaxError: non-default argument follows default argument
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.