1

Topic: Can't create user

======== Required information ====
- iRedMail version: 0.8.4 (non pro)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Ubuntu 12.04.2 LTS
- Related log if you're reporting an issue:
====
I can't create user (only user) and changed to debug mode.
Received messages when I try to create an user:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/web/application.py", line 242, in process
    return self.handle()
  File "/usr/lib/pymodules/python2.7/web/application.py", line 233, in handle
    return self._delegate(fn, self.fvars, args)
  File "/usr/lib/pymodules/python2.7/web/application.py", line 415, in _delegate
    return handle_class(cls)
  File "/usr/lib/pymodules/python2.7/web/application.py", line 390, in handle_class
    return tocall(*args)
  File "/usr/share/apache2/iredadmin/controllers/decorators.py", line 11, in proxyfunc
    return func(self, *args, **kw)
  File "/usr/share/apache2/iredadmin/controllers/mysql/user.py", line 189, in GET
    msg=i.get('msg'),
  File "/usr/share/apache2/iredadmin/libs/iredbase.py", line 168, in render_template
    return jinja_env.get_template(template_name).render(context)
  File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
    return self.environment.handle_exception(exc_info, True)
  File "/usr/share/apache2/iredadmin/libs/../templates/default/mysql/user/create.html", line 11, in top-level template code
    {% from "macros/msgHandlers.html" import userMsgHandler with context %}
  File "/usr/share/apache2/iredadmin/libs/../templates/default/layout.html", line 7, in top-level template code
    <title>{% block title %}{%endblock%}</title>
  File "/usr/share/apache2/iredadmin/libs/../templates/default/mysql/user/create.html", line 13, in block "title"
    {% block title %}{{ _('Add user under domain: %s') |format(cur_domain) }}{% endblock title %}
  File "/usr/lib/python2.7/dist-packages/jinja2/filters.py", line 503, in do_format
    return soft_unicode(value) % (kwargs or args)
TypeError: not all arguments converted during string formatting

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Can't create user

Do you have any mail domain?

3

Re: Can't create user

ZhangHuangbin wrote:

Do you have any mail domain?

Yes I have, works perfectly, the postmaster@mydomain can send and receive.

Thanks, for the quick answer.

4

Re: Can't create user

No idea yet, sorry. I cannot figure out what the problem is.

5

Re: Can't create user

ZhangHuangbin wrote:

No idea yet, sorry. I cannot figure out what the problem is.

This is a language specific problem.
My language is Hungarian for postmaster and when I want add a new user, come an 'Internal server error'.
I change settings to English (US) the error is gone and I can create a new user.

6

Re: Can't create user

Oh, there must be a translation error in Hungarian language.
Since you're Hungarian, could you help translate it? Here's howto:
http://www.iredmail.org/forum/topic378- … guage.html

7

Re: Can't create user

Sorry for the late answer, but I'm a teacher, and recently was the finish of school year (tests, administration, etc.).

I help with pleasure in translation.

As I see on my server the iRedMail Hungarian translation is from 2009. I try make a new translation and I will test the results.

(My server is Ubuntu 12.04 LTS, iRedMail with MySQL, I changed Roundcube to SOGo. I will make a brief howto about the install and setup.)