Package: wiki.debian.org Severity: important To reproduce:
http://wiki.debian.org Click "Login" Click "you can create one now" Fill all entries in form and click "Create profile" At this point, instead of getting an account created, I'm greeted with: TypeError unbound method password_checker() must be called with LocalSecrets instance as first argument (got unicode instance instead) By clicking "show debugging information" I get the traceback below. Please let me know if there's any further information I could provide that would be helpful. -Carl 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. 1. /var/lib/python-support/python2.5/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object at 0xdbcf46c>) 1. 1305 self.page.send_page() 2. 1306 else: 3. 1307 handler(self.page.page_name, self) 4. 1308 5. 1309 # every action that didn't use to raise MoinMoinFinish must call this now: * handler = <function execute at 0xbb9bed4> * self = <MoinMoin.request.request_wsgi.Request object at 0xdbcf46c> * self.page = <MoinMoin.Page.Page object at 0xdbcf34c> * self.page.page_name = u'FrontPage' 2. /var/lib/python-support/python2.5/MoinMoin/action/newaccount.py in execute (pagename=u'FrontPage', request=<MoinMoin.request.request_wsgi.Request object at 0xdbcf46c>) 1. 178 2. 179 if submitted: # user pressed create button 3. 180 request.theme.add_msg(_create_user(request), "dialog") 4. 181 return page.send_page() 5. 182 else: # show create form * request = <MoinMoin.request.request_wsgi.Request object at 0xdbcf46c> * request.theme = <MoinMoin.theme.modern.Theme instance at 0xdbcffac> * request.theme.add_msg = <bound method Theme.add_msg of <MoinMoin.theme.modern.Theme instance at 0xdbcffac>> * global _create_user = <function _create_user at 0xbb9b144> 3. /var/lib/python-support/python2.5/MoinMoin/action/newaccount.py in _create_user (request=<MoinMoin.request.request_wsgi.Request object at 0xdbcf46c>) 1. 57 pw_checker = request.cfg.password_checker 2. 58 if pw_checker: 3. 59 pw_error = pw_checker(theuser.name, password) 4. 60 if pw_error: 5. 61 return _("Password not acceptable: %s") % pw_error * pw_error undefined * pw_checker = <function password_checker at 0x9e3356c> * theuser = <MoinMoin.user.User at 0xdd815ec name:u'CarlWorth' valid:0> * theuser.name = u'CarlWorth' * password = u'password' 4. /srv/wiki.debian.org/etc/moin/wikiconfig.py in password_checker (username=u'CarlWorth', passwd=u'password') 1. 51 2. 52 def password_checker(username, passwd): 3. 53 result = LocalSecrets.password_checker(username, passwd); 4. 54 if result != None: 5. 55 return result * result undefined * global LocalSecrets = <class localsecrets.LocalSecrets at 0x9e2cbcc> * LocalSecrets.password_checker = <unbound method LocalSecrets.password_checker> * username = u'CarlWorth' * passwd = u'password' TypeError unbound method password_checker() must be called with LocalSecrets instance as first argument (got unicode instance instead) * args = ('unbound method password_checker() must be called... as first argument (got unicode instance instead)',) * message = 'unbound method password_checker() must be called... as first argument (got unicode instance instead)' System Details * Date: Wed, 12 Aug 2009 18:56:03 +0000 * Platform: Linux widor 2.6.26-2-686 #1 SMP Sun Jul 26 21:25:33 UTC 2009 i686 * Python: Python 2.5.2 (/usr/bin/python) * MoinMoin: Release 1.7.1 (release) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org