1 (edited by lethalp1mp 2011-03-11 11:07:02)

Topic: [SOLVED] iRedAdmin OSE MySQL language error.

I'm trying to get the OSE edition up and running in preparation for a Pro purchase and I'm running into a roadblock. Getting an internal server error when trying to login. Enabled debug mode and see this error in the apache error log:

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/web/application.py", line 241, in process
     return self.handle()
   File "/usr/lib/python2.4/site-packages/web/application.py", line 232, in handle
     return self._delegate(fn, self.fvars, args)
   File "/usr/lib/python2.4/site-packages/web/application.py", line 411, in _delegate
     return handle_class(cls)
   File "/usr/lib/python2.4/site-packages/web/application.py", line 386, in handle_class
     return tocall(*args)
   File "/var/www/iredadmin/controllers/mysql/basic.py", line 39, in POST
     auth_result = auth.auth(username=username, password=password)
   File "/var/www/iredadmin/libs/mysql/core.py", line 215, in auth
     session['lang'] = str(record.language) or 'en_US'
   File "/usr/lib/python2.4/site-packages/web/utils.py", line 67, in __getattr__
     raise AttributeError, k
 AttributeError: 'language'

Any ideas on how to fix this?

----

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

2

Re: [SOLVED] iRedAdmin OSE MySQL language error.

lethalp1mp wrote:

I'm trying to get the OSE edition up and running in preparation for a Pro purchase and I'm running into a roadblock. Getting an internal server error when trying to login. Enabled debug mode and see this error in the apache error log:

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/web/application.py", line 241, in process
     return self.handle()
   File "/usr/lib/python2.4/site-packages/web/application.py", line 232, in handle
     return self._delegate(fn, self.fvars, args)
   File "/usr/lib/python2.4/site-packages/web/application.py", line 411, in _delegate
     return handle_class(cls)
   File "/usr/lib/python2.4/site-packages/web/application.py", line 386, in handle_class
     return tocall(*args)
   File "/var/www/iredadmin/controllers/mysql/basic.py", line 39, in POST
     auth_result = auth.auth(username=username, password=password)
   File "/var/www/iredadmin/libs/mysql/core.py", line 215, in auth
     session['lang'] = str(record.language) or 'en_US'
   File "/usr/lib/python2.4/site-packages/web/utils.py", line 67, in __getattr__
     raise AttributeError, k
 AttributeError: 'language'

Any ideas on how to fix this?

Got it figured out. Apparently I was missing the 'language' column in the vmail.admin table. Got it all sorted.