I need to change the e-mail address I originallyprovided to the FAS. I
received the confirmation e-mail, however, when following the link I
get the following error (after logging in and clicking on the Confirm
button):
The server encountered an unexpected condition which prevented it from
fulfilling the request.
Looking at the bottom of the request, it looks like there are some
groups from Fedora that have not been renamed -- "Basic FAS group
fedorabugs does not exist".
Page handler: <bound method User.setemail of <fas.user.User object at
0x9a8266c>>
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py",
line 121, in _run
self.main()
File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py",
line 264, in main
body = page_handler(*virtual_path, **self.params)
File "<string>", line 3, in setemail
File "/usr/lib/python2.4/site-packages/turbogears/identity/conditions.py",
line 242, in require
return fn(self, *args, **kwargs)
File "<string>", line 3, in setemail
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py",
line 363, in expose
output = database.run_with_transaction(
File "<string>", line 5, in run_with_transaction
File "/usr/lib/python2.4/site-packages/turbogears/database.py", line
405, in sa_rwt
retval = func(*args, **kw)
File "<string>", line 5, in _expose
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py",
line 380, in <lambda>
mapping, fragment, args, kw)))
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py",
line 408, in _execute_func
output = errorhandling.try_call(func, *args, **kw)
File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py",
line 72, in try_call
return func(self, *args, **kw)
File "/usr/lib/python2.4/site-packages/fas/user.py", line 476, in setemail
session.flush()
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/scoping.py",
line 98, in do
return getattr(self.registry(), name)(*args, **kwargs)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/session.py",
line 786, in flush
self.uow.flush(self, objects)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py",
line 233, in flush
flush_context.execute()
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py",
line 445, in execute
UOWExecutor().execute(self, tasks)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py",
line 930, in execute
self.execute_save_steps(trans, task)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py",
line 945, in execute_save_steps
self.save_objects(trans, task)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py",
line 936, in save_objects
task.mapper._save_obj(task.polymorphic_tosave_objects, trans)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/mapper.py",
line 1144, in _save_obj
c = connection.execute(statement.values(value_params), params)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py",
line 844, in execute
return Connection.executors[c](self, object, multiparams, params)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py",
line 895, in execute_clauseelement
return self._execute_compiled(elem.compile(dialect=self.dialect,
column_keys=keys, inline=len(params) > 1), distilled_params=params)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py",
line 907, in _execute_compiled
self.__execute_raw(context)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py",
line 916, in __execute_raw
self._cursor_execute(context.cursor, context.statement,
context.parameters[0], context=context)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py",
line 960, in _cursor_execute
self._handle_dbapi_exception(e, statement, parameters, cursor)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py",
line 942, in _handle_dbapi_exception
raise exceptions.DBAPIError.instance(statement, parameters, e,
connection_invalidated=is_disconnect)
InternalError: (InternalError) ('Basic FAS group fedorabugs does not exist',)
'UPDATE people SET email=%(email)s,
unverified_email=%(unverified_email)s WHERE people.id = %(people_id)s'
{'unverified_email': '', 'people_id': 1161, 'email':
'michel.sylvan(a)gmail.com'}
--
Michel Salim
http://hircus.jaiku.com/