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

Bug#619681: marked as done (wiki login fails)



Your message dated Sat, 26 Mar 2011 11:47:12 +0800
with message-id <1301111232.2332.19.camel@chianamo>
and subject line wiki: login issue fixed
has caused the Debian Bug report #619681,
regarding wiki login fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
619681: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=619681
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: wiki.debian.org
Severity: grave

Please don't experimental on live sites!

My login attempt results in:

NameError

global name 'sha' is not defined

If you want to report a bug, please save this page and attach it to your bug report.

    Show debugging information
    Report bug
    Visit MoinMoin wiki

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/wiki.debian.org/etc/moin/MoinMoin/request/request_wsgi.py in __init__ (self=<MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>, env={'CONTENT_LENGTH': '59', 'CONTENT_TYPE': 'application/x-www-form-urlencoded', 'DOCUMENT_ROOT': '/etc/apache2/htdocs', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', 'HTTP_ACCEPT_CHARSET': 'windows-1252,utf-8;q=0.7,*;q=0.7', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT_LANGUAGE': 'en-gb,en;q=0.5', 'HTTP_CONNECTION': 'keep-alive', 'HTTP_HOST': 'wiki.debian.org', ...})
        33
        34 self._setup_vars_from_std_env(env)
        35 RequestBase.__init__(self, {})
        36
        37 except Exception, err:
        global RequestBase = <class 'MoinMoin.request.RequestBase'>
        RequestBase.__init__ = <unbound method RequestBase.__init__>
        self = <MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>

    /srv/wiki.debian.org/etc/moin/MoinMoin/request/__init__.py in __init__ (self=<MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>, properties={})
        216 # set self.user even if _handle_auth_form raises an Exception
        217 self.user = None
        218 self.user = self._handle_auth_form(user_obj)
        219 del user_obj
        220 self.cfg.session_handler.after_auth(self, self.cfg.session_id_handler, self.user)
        self = <MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>
        self.user = None
        self._handle_auth_form = <bound method Request._handle_auth_form of <Moin...quest.request_wsgi.Request object at 0xbb81a32c>>
        user_obj = None

    /srv/wiki.debian.org/etc/moin/MoinMoin/request/__init__.py in _handle_auth_form (self=<MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>, user_obj=None)
        630 return self.handle_auth(user_obj, attended=True, username=username,
        631 password=password, login=login, logout=logout,
        632 stage=stage, openid_identifier=oid)
        633
        634 def handle_auth(self, user_obj, attended=False, **kw):
        stage = None
        openid_identifier undefined
        oid = None

    /srv/wiki.debian.org/etc/moin/MoinMoin/request/__init__.py in handle_auth (self=<MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>, user_obj=None, attended=True, **kw={'login': True, 'logout': False, 'openid_identifier': None, 'password': u'*******', 'stage': None, 'username': u'BenHutchings'})
        662 if stage and authmethod.name != stage:
        663 continue
        664 ret = authmethod.login(self, user_obj, **extra)
        665 user_obj = ret.user_obj
        666 cont = ret.continue_flag
        ret undefined
        authmethod = <MoinMoin.auth.MoinAuth instance at 0xb801528c>
        authmethod.login = <bound method MoinAuth.login of <MoinMoin.auth.MoinAuth instance at 0xb801528c>>
        self = <MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>
        user_obj = None
        extra = {'attended': True, 'cookie': <SimpleCookie: >, 'openid_identifier': None, 'password': u'*******', 'username': u'BenHutchings'}

    /srv/wiki.debian.org/etc/moin/MoinMoin/auth/__init__.py in login (self=<MoinMoin.auth.MoinAuth instance at 0xb801528c>, request=<MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>, user_obj=None, **kw={'attended': True, 'cookie': <SimpleCookie: >, 'openid_identifier': None, 'password': u'*******', 'username': u'BenHutchings'})
        241 return ContinueLogin(user_obj, _('Missing password. Please enter user name and password.'))
        242
        243 u = user.User(request, name=username, password=password, auth_method=self.name)
        244 if u.valid:
        245 logging.debug("%s: successfully authenticated user %r (valid)" % (self.name, u.name))
        u undefined
        global user = <module 'MoinMoin.user' from '/srv/wiki.debian.org/etc/moin/MoinMoin/user.pyc'>
        user.User = <class MoinMoin.user.User at 0xb7f6acbc>
        request = <MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>
        name undefined
        username = u'BenHutchings'
        password = u'*******'
        auth_method undefined
        self = <MoinMoin.auth.MoinAuth instance at 0xb801528c>
        self.name = 'moin'

    /srv/wiki.debian.org/etc/moin/MoinMoin/user.py in __init__ (self=<MoinMoin.user.User at 0xbb81a7ac name:u'BenHutchings' valid:0>, request=<MoinMoin.request.request_wsgi.Request object at 0xbb81a32c>, id=None, name=u'BenHutchings', password=u'*******', auth_username='', **kw={'auth_method': 'moin'})
        319 if password:
        320 try:
        321 self.enc_password = encodePassword(password)
        322 except UnicodeError:
        323 pass # Should never happen
        self = <MoinMoin.user.User at 0xbb81a7ac name:u'BenHutchings' valid:0>
        self.enc_password = <HIDDEN>
        global encodePassword = <function encodePassword at 0xb7fa002c>
        password = u'*******'

    /srv/wiki.debian.org/etc/moin/MoinMoin/user.py in encodePassword (pwd='*******', charset='utf-8')
        162 pwd = pwd.encode(charset)
        163
        164 pwd = sha.new(pwd).digest()
        165 pwd = '{SHA}' + base64.encodestring(pwd).rstrip()
        166 return pwd
        pwd = '*******'
        sha undefined
        ).digest undefined

NameError

global name 'sha' is not defined

    args = ("global name 'sha' is not defined",)
    message = "global name 'sha' is not defined"

System Details

    Date: Sat, 26 Mar 2011 02:07:56 +0000
    Platform: Linux widor 2.6.32-5-686 #1 SMP Tue Mar 8 21:36:00 UTC 2011 i686
    Python: Python 2.5.5 (/usr/bin/python)
    MoinMoin: Release 1.7.1 (release)



--- End Message ---
--- Begin Message ---
The wiki underwent an upgrade by DSA, which turned out to be incomplete.
I've finished most of the manual parts of the upgrade process and the
wiki is mostly back to normal now, login certainly works again.

http://wiki.debian.org/MigrationStatus

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply to: