Attachment 'moin.html'
Download --> -->
TypeError
random_string() takes exactly 1 argument (2 given)
If you want to report a bug, please save this page and attach it to your bug report.
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.
/usr/lib/python2.5/site-packages/MoinMoin/request/request_wsgi.py
in __init__
(self=
- 33
- 34 self._setup_vars_from_std_env(env)
- 35 RequestBase.__init__(self, {})
- 36
- 37 except Exception, err:
- global
RequestBase
=
- RequestBase.__init__
=
- self
=
/usr/lib/python2.5/site-packages/MoinMoin/request/__init__.py
in __init__
(self=
- 210 # session handler start, auth
- 211 self.parse_cookie()
- 212 user_obj = self.cfg.session_handler.start(self, self.cfg.session_id_handler)
- 213 shfinisher = lambda request: self.cfg.session_handler.finish(request, request.user,
- 214 self.cfg.session_id_handler)
- user_obj undefined
- self
=
- self.cfg
=
- self.cfg.session_handler
=
- self.cfg.session_handler.start
=
- self.cfg.session_id_handler
=
/usr/lib/python2.5/site-packages/MoinMoin/session.py
in start
(self=
- 411 sessiondata.is_stored = store
- 412 else:
- 413 session_name = session_id_handler.generate_new_id(request)
- 414 logging.debug("starting session (new session_name %r)" % session_name)
- 415 store = hasattr(request.cfg, 'anonymous_session_lifetime')
- session_name
= None
- session_id_handler
=
- session_id_handler.generate_new_id
=
- request
=
/usr/lib/python2.5/site-packages/MoinMoin/session.py
in generate_new_id
(self=
- 293 @param request: the request instance
- 294 """
- 295 return random_string(self._SESSION_NAME_LEN, self._SESSION_NAME_CHARS)
- 296
- 297
- global
random_string
=
- self
=
- self._SESSION_NAME_LEN
= 32
- self._SESSION_NAME_CHARS
= 'abcdefghijklmnopqrstuvwxyz0123456789_'
TypeError
random_string() takes exactly 1 argument (2 given)
- args = ('random_string() takes exactly 1 argument (2 given)',)
- message = 'random_string() takes exactly 1 argument (2 given)'
System Details
- Date: Mon, 28 Jul 2008 22:33:22 +0000
- Platform: Linux doomtrain 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.7.1 (release)
Attached Files
To refer to attachments on a page, use
attachment:filename, as shown below in the list of files. Do
NOT use the URL of the
[get] link, since this is subject to change and can break easily.
You are not allowed to attach a file to this page.