1

Topic: Error when edit account profile

==== Required information ====
- iRedMail version:
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):
- Linux/BSD distribution name and version:
- Related log if you're reporting an issue:
======== Required information ====
- iRedMail version: 0.8.6, iRedAPD-1.4.2, iRedAdmin-1.8.1
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL 5.5.28
- Linux/BSD distribution name and version: FreeBSD 9.0 Release
- Apache 2.2.23
- PHP 5.4.7
- Python 2.7.3
- Related log if you're reporting an issue: apache error log....
[error] Exception KeyError: KeyError(34397516800,) in <module 'threading' from '/usr/local/lib/python2.7/threading.pyc'> ignored
[error] Traceback (most recent call last):
[error]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 239, in process
[error]     return self.handle()
[error]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 230, in handle
[error]     return self._delegate(fn, self.fvars, args)
[error]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 420, in _delegate
[error]     return handle_class(cls)
[error]   File "/usr/local/lib/python2.7/site-packages/web/application.py", line 396, in handle_class
[error]     return tocall(*args)
[error]   File "/usr/local/www/iredadmin/controllers/decorators.py", line 11, in proxyfunc
[error]     return func(self, *args, **kw)
[error]   File "/usr/local/www/iredadmin/controllers/mysql/domain.py", line 121, in GET
[error]     throttleLib = throttle.Throttle()
[error] NameError: global name 'throttle' is not defined
====

I just upgraded from iRedAPD-1.3.8, iRedMail-0.8.3 and iRedAdmin-Pro-1.7.0. Everything seems fine, can send/receive e-mail without problem. When I want to view account profile, I see "internal server error" on the page. The above error dumped from apache error log. Any idea? Please help and thanks.

2

Re: Error when edit account profile

Do below steps to fix this issue?

- Restart Apache web service.
- Delete all records in SQL table "iredadmin.sessions" to force admin to re-login.
- Login to iRedAdmin-Pro.

3

Re: Error when edit account profile

Yes, it does fix the issue.

Thanks ZhangHuangbin !