Sorry for the delay, here is the log:
----
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] Traceback (most recent call last):
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] File "/usr/lib/python2.6/site-packages/web/application.py", line 239, in process
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] return self.handle()
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] File "/usr/lib/python2.6/site-packages/web/application.py", line 230, in handle
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] return self._delegate(fn, self.fvars, args)
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] File "/usr/lib/python2.6/site-packages/web/application.py", line 420, in _delegate
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] return handle_class(cls)
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] File "/usr/lib/python2.6/site-packages/web/application.py", line 396, in handle_class
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] return tocall(*args)
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] File "/var/www/iredadmin/controllers/decorators.py", line 61, in decorated
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] return f(*args, **kw)
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] File "/var/www/iredadmin/libs/sqllib/decorators.py", line 26, in proxyfunc
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] return func(*args, **kw)
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] File "/var/www/iredadmin/controllers/sql/alias.py", line 205, in POST
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] form=form)
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] File "/var/www/iredadmin/libs/sqllib/decorators.py", line 26, in proxyfunc
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] return func(*args, **kw)
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] File "/var/www/iredadmin/libs/sqllib/alias.py", line 352, in update
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] moderators_in_domain += stripped_members[i.username]
[Wed Feb 03 14:42:02 2016] [error] [client X.X.X.X] KeyError: u'mail@address.com'
----
I've tried to change
"moderators_in_domain += stripped_members[i.username]"
with
"moderators_in_domain += stripped_moderators[i.username]"
but nothing has changed
Thanks, Mattia