1

Topic: error when I fix alias patch

Hi alll,
when I applied alias patch iredadmin-v100-02-20091109.patch,  the iredamin web console don´t work and I get the following error in ssl_error_log

SyntaxError:

invalid syntax
[Mon Nov 09 10:53:03 2009] [error] [client 10.141.117.143]
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143] Traceback (most recent call last):
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]   File "/usr/lib/python2.4/site-packages/web.p  y-0.33-py2.4.egg/web/application.py", line 242, in process
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]     return self.handle()
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]   File "/usr/lib/python2.4/site-packages/web.p  y-0.33-py2.4.egg/web/application.py", line 233, in handle
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]     return self._delegate(fn, self.fvars, args  )
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]   File "/usr/lib/python2.4/site-packages/web.p  y-0.33-py2.4.egg/web/application.py", line 408, in _delegate
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]     mod = __import__(mod, globals(), locals(),   [""])
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]   File "/var/www/iredadmin/controllers/ldap/ba  sic.py", line 25, in ?
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]     from libs.ldaplib import core, auth, admin  , ldaputils
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]   File "/var/www/iredadmin/libs/ldaplib/admin.  py", line 26, in ?
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]     from libs.ldaplib import core, attrs, ldap  utils, iredldif, deltree
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]   File "/var/www/iredadmin/libs/ldaplib/iredld  if.py", line 86
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]     ]
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143]     ^
[Mon Nov 09 10:53:06 2009] [error] [client 10.141.117.143] SyntaxError: invalid syntax

----

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

2

Re: error when I fix alias patch

My mistake. sad

Please fix it with below steps:

  • Open libs/ldaplib/iredldif.py, find line 85.

            ('enabledService',  ['mail', 'deliver',],
  • Insert ')' before the last ','

            ('enabledService',  ['mail', 'deliver',]),

So sorry.

3

Re: error when I fix alias patch

ZhangHuangbin wrote:

My mistake. sad

Please fix it with below steps:

  • Open libs/ldaplib/iredldif.py, find line 85.

            ('enabledService',  ['mail', 'deliver',],
  • Insert ')' before the last ','

            ('enabledService',  ['mail', 'deliver',]),

So sorry.


ok. it's work
thanks so much