[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Announcing FAS2 Tests!



Another One XD. When I try to apply to the fedorabugs group. (I tried to apply to test, and it worked fine, then fedorabugs again and it gave me this. it seems to be an issue with certain groups.

500 Internal error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Page handler: <bound method Group.apply of <fas.group.Group object at 0x154cc90>>
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 apply
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 apply
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 200, in validate
return errorhandling.run_with_errors(errors, func, *args, **kw)
File "/usr/lib/python2.4/site-packages/turbogears/errorhandling.py", line 110, in run_with_errors
return func(self, *args, **kw)
File "<string>", line 3, in apply
File "/usr/lib/python2.4/site-packages/turbogears/controllers.py", line 361, 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 411, in sa_rwt
session.commit()
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 544, in commit
self.transaction.commit()
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/session.py", line 250, in commit
self._prepare_impl()
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/session.py", line 234, in _prepare_impl
self.session.flush()
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/session.py", line 764, in flush
self.uow.flush(self, objects)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py", line 215, in flush
flush_context.execute()
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py", line 437, in execute
UOWExecutor().execute(self, tasks)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py", line 927, in execute
self.execute_save_steps(trans, task)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py", line 942, in execute_save_steps
self.save_objects(trans, task)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/unitofwork.py", line 933, in save_objects
task.mapper._save_obj(task.polymorphic_tosave_objects, trans)
File "/usr/lib/python2.4/site-packages/sqlalchemy/orm/mapper.py", line 1106, in _save_obj
c = connection.execute(statement.values(value_params), params)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py", line 846, in execute
return Connection.executors[c](self, object, multiparams, params)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py", line 897, 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 909, in _execute_compiled
self.__execute_raw(context)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py", line 918, 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 962, in _cursor_execute
self._handle_dbapi_exception(e, statement, parameters, cursor)
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py", line 944, in _handle_dbapi_exception
raise exceptions.DBAPIError.instance(statement, parameters, e, connection_invalidated=is_disconnect)
ProgrammingError: (ProgrammingError) plpython: function "bugzilla_sync" failed
DETAIL: plpy.SPIError: plpy.execute() takes a sequence as its second argument
-Anand
'INSERT INTO person_roles (person_id, group_id, role_type, role_status, internal_comments, sponsor_id, approval) VALUES (%(person_id)s, %(group_id)s, %(role_type)s, %(role_status)s, %(internal_comments)s, %(sponsor_id)s, %(approval)s)' {'internal_comments': None, 'role_status': 'unapproved', 'sponsor_id': None, 'person_id': 1122, 'approval': None, 'group_id': 1116, 'role_type': 'user'}


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]