500 Internal error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Page handler: <bound method Root.authenticator of <ldapadm.controllers.Root object at 0x1b25d90>>
Traceback (most recent call last):
File "/usr/local/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py", line 105, in _run
self.main()
File "/usr/local/lib/python2.4/site-packages/CherryPy-2.2.1-py2.4.egg/cherrypy/_cphttptools.py", line 254, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in authenticator
File "/usr/local/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/controllers.py", line 173, in validate
return errorhandling.run_with_errors(errors, func, *args, **kw)
File "/usr/local/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/errorhandling.py", line 113, in run_with_errors
return func(self, *args, **kw)
File "<string>", line 3, in authenticator
File "/usr/local/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/controllers.py", line 334, in expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "/usr/local/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/database.py", line 302, in so_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/usr/local/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/controllers.py", line 351, in <lambda>
mapping, fragment, args, kw)))
File "/usr/local/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/controllers.py", line 378, in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File "/usr/local/lib/python2.4/site-packages/TurboGears-1.0.1-py2.4.egg/turbogears/errorhandling.py", line 73, in try_call
return func(self, *args, **kw)
File "/root/tmp/orgldap/LDAPAdmin/trunk/ldapadm/controllers.py", line 135, in authenticator
return func(*args, **kwargs)
File "/root/tmp/orgldap/LDAPAdmin/trunk/ldapadm/controllers.py", line 141, in wrapper
result = func(*args, **kwargs)
File "/root/tmp/orgldap/LDAPAdmin/trunk/ldapadm/controllers.py", line 466, in create
user.populate(_user)
File "/usr/local/lib/python2.4/site-packages/OrgLDAP-0.0.2-py2.4.egg/timka/ldap/admin.py", line 563, in populate
super(User, self).populate(data)
File "/usr/local/lib/python2.4/site-packages/OrgLDAP-0.0.2-py2.4.egg/timka/ldap/admin.py", line 471, in populate
super(SimpleUser, self).populate(data)
File "/usr/local/lib/python2.4/site-packages/OrgLDAP-0.0.2-py2.4.egg/timka/ldap/admin.py", line 394, in populate
self.update(data)
File "/usr/local/lib/python2.4/site-packages/OrgLDAP-0.0.2-py2.4.egg/timka/ldap/__init__.py", line 339, in update
self[key] = value
File "/usr/local/lib/python2.4/site-packages/OrgLDAP-0.0.2-py2.4.egg/timka/ldap/__init__.py", line 444, in __setitem__
self._data[key] = to_list(value)
File "/usr/local/lib/python2.4/site-packages/OrgLDAP-0.0.2-py2.4.egg/timka/ldap/util.py", line 30, in to_list
return [str(arg)]
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-9: ordinal not in range(128)