Description
from Internal error 500 - Python script
Steps to reproduce
call site http://wiki.ubuntuusers.de/Upgrade
Example
Component selection
- general
Details
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/srv/www/de/bin/MoinMoin/request.py in init (self=<MoinMoin.request.RequestWSGI object>, env={'DOCUMENT_ROOT': '/htdocs', 'FCGI_ROLE': 'RESPONDER', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5', 'HTTP_ACCEPT_CHARSET': 'ISO-8859-1,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip,deflate', 'HTTP_ACCEPT_LANGUAGE': 'de-de,de;q=0.8,en-us;q=0.5,en;q=0.3', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_COOKIE': 'ubuntuusers_data=a%3A2%3A%7Bs%3A11%3A%22autologi...i%3A1174177463%3Bi%3A77764%3Bi%3A1174180302%3B%7D', 'HTTP_HOST': 'wiki.ubuntuusers.de', ...})
- 2079
- 2080 self._setup_vars_from_std_env(env)
2081 RequestBase.init(self, {})
- 2082
- 2083 except Exception, err:
global RequestBase = <class 'MoinMoin.request.RequestBase'>
RequestBase.init = <unbound method RequestBase.init>
self = <MoinMoin.request.RequestWSGI object>
/srv/www/de/bin/MoinMoin/request.py in init (self=<MoinMoin.request.RequestWSGI object>, properties={})
- 189 self.rootpage = Page(self, rootname, is_rootpage=1)
- 190
- 191 self.user = self.get_user_from_form()
- 192
- 193 if not self.query_string.startswith('action=xmlrpc'):
/srv/www/de/bin/MoinMoin/request.py in get_user_from_form (self=<MoinMoin.request.RequestWSGI object>)
- 554 u = self.get_user_default_unknown(name=name, password=password,
- 555 login=login, logout=logout,
- 556 user_obj=None)
- 557 return u
- 558
- user_obj undefined
- builtin None = None
/srv/www/de/bin/MoinMoin/request.py in get_user_default_unknown (self=<MoinMoin.request.RequestWSGI object>, **kw={'login': False, 'logout': False, 'name': None, 'password': None, 'user_obj': None})
- 559 def get_user_default_unknown(self, **kw):
- 560 """ call do_auth and if it doesnt return a user object, make some "Unknown User" """
- 561 user_obj = self.get_user_default_None(**kw)
- 562 if user_obj is None:
- 563 user_obj = user.User(self, auth_method="request:427")
/srv/www/de/bin/MoinMoin/request.py in get_user_default_None (self=<MoinMoin.request.RequestWSGI object>, **kw={'login': False, 'logout': False, 'name': None, 'password': None, 'user_obj': None})
- 573 for auth in self.cfg.auth:
- 574 user_obj, continue_flag = auth(self, name=name, password=password,
- 575 login=login, logout=logout, user_obj=user_obj)
- 576 if not continue_flag:
- 577 break
- login = False
- logout = False
- user_obj = None
/srv/www/de/wiki/phpBBsession.py in call (self=<phpBBsession.phpBB object>, request=<MoinMoin.request.RequestWSGI object>, **opt={'login': False, 'logout': False, 'name': None, 'password': None, 'user_obj': None})
- 124
- 125 # Update the session and user table.
- 126 self.UpdateUserAndCookieInDB()
- 127
- 128 # Vorbelegen der Moin-Auth Variablen.
self = <phpBBsession.phpBB object>
self.UpdateUserAndCookieInDB = <bound method phpBB.UpdateUserAndCookieInDB of <phpBBsession.phpBB object>>
/srv/www/de/wiki/phpBBsession.py in UpdateUserAndCookieInDB (self=<phpBBsession.phpBB object>)
- 55 cur.execute("set character set 'utf8'")
- 56 try:
57 cur.execute(
- 58 UPDATE %(prefix)ssessions s
- 59 SET session_time = %i,
cur = <MySQLdb.cursors.Cursor object>
cur.execute = <bound method Cursor.execute of <MySQLdb.cursors.Cursor object>>
self = <phpBBsession.phpBB object>
self.config = {'base_url': 'base_url[1', 'cookiedomain2': ".'.$base_ur", 'dbhost': 'sql1.ubuntu-eu.org', 'dbms': 'mysql4', 'dbname': 'ubuntu_de', 'dbpasswd': 'g69gfzf', 'dbuser': 'ubuntu_de', 'forum_login_url': "http://forum.'.$base_url.'/login/", 'forum_logout_url': "http://forum.'.$base_url.'/logout/", 'portal_root_url': "http://'.$base_url.'/", ...}
- self.session_time = 1174180781.712394
- self.session_id = '76164059ecbb4a085207700ebbfa2cd7'
not enough arguments for format string
- args = ('not enough arguments for format string',)
System Details
- Date: Sun, 18 Mar 2007 01:21:14 +0000
- Platform: Linux asa 2.6.15-28-686 #1 SMP PREEMPT Thu Feb 1 16:14:07 UTC 2007 i686
- Python: Python 2.4.3 (/usr/bin/python)
MoinMoin: Release 1.5.7 (release)
Workaround
Discussion
Plan
- Priority:
- Assigned to:
- Status: not a moin bug, but a bug in a 3rd party auth plugin