Attachment 'bug-report.html'
Download--> -->
AttributeError
'module' object has no attribute 'BytesIO'
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.
/var/lib/python-support/python2.5/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_modpython.Request object at 0xba54766c>)
- 1305 self.page.send_page()
- 1306 else:
- 1307 handler(self.page.page_name, self)
- 1308
- 1309 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function execute at 0xba6bf72c>
- self = <MoinMoin.request.request_modpython.Request object at 0xba54766c>
- self.page = <MoinMoin.Page.Page object at 0xba54760c>
- self.page.page_name = u'SundryResearch'
/var/lib/python-support/python2.5/MoinMoin/action/userprefs.py in execute (pagename=u'SundryResearch', request=<MoinMoin.request.request_modpython.Request object at 0xba54766c>)
- 93 return Page.Page(request, pagename).send_page()
- 94
- 95 text, title, msg_class, msg = _create_page(request)
- 96 if title:
- 97 # XXX: we would like to make "Settings" here a link back
- text undefined
- title undefined
- msg_class undefined
- msg undefined
- global _create_page = <function _create_page at 0xba6bf64c>
- request = <MoinMoin.request.request_modpython.Request object at 0xba54766c>
/var/lib/python-support/python2.5/MoinMoin/action/userprefs.py in _create_page (request=<MoinMoin.request.request_modpython.Request object at 0xba54766c>, cancel=False)
- 81
- 82 if not obj or not obj.allowed():
- 83 return _create_prefs_page(request), None, msg_class, msg
- 84
- 85 return obj.create_form(), obj.title, msg_class, msg
- global _create_prefs_page = <function _create_prefs_page at 0xba6bf6bc>
- request = <MoinMoin.request.request_modpython.Request object at 0xba54766c>
- builtin None = None
- msg_class = None
- msg = None
/var/lib/python-support/python2.5/MoinMoin/action/userprefs.py in _create_prefs_page (request=<MoinMoin.request.request_modpython.Request object at 0xba54766c>, sel=None)
- 50 if sub in request.cfg.userprefs_disabled:
- 51 continue
- 52 cls = wikiutil.importPlugin(request.cfg, 'userprefs', sub, 'Settings')
- 53 obj = cls(request)
- 54 if not obj.allowed():
- cls = <class 'MoinMoin.userprefs.notification.Settings'>
- global wikiutil = <module 'MoinMoin.wikiutil' from '/var/lib/python-support/python2.5/MoinMoin/wikiutil.pyc'>
- wikiutil.importPlugin = <function importPlugin at 0xba353c34>
- request = <MoinMoin.request.request_modpython.Request object at 0xba54766c>
- request.cfg = <wikiconfig.Config object at 0xba3ee2cc>
- sub = 'oid'
/var/lib/python-support/python2.5/MoinMoin/wikiutil.py in importPlugin (cfg=<wikiconfig.Config object at 0xba3ee2cc>, kind='userprefs', name='oid', function='Settings')
- 1107 return importWikiPlugin(cfg, kind, name, function)
- 1108 except PluginMissingError:
- 1109 return importBuiltinPlugin(kind, name, function)
- 1110
- 1111
- global importBuiltinPlugin = <function importBuiltinPlugin at 0xba353d14>
- kind = 'userprefs'
- name = 'oid'
- function = 'Settings'
/var/lib/python-support/python2.5/MoinMoin/wikiutil.py in importBuiltinPlugin (kind='userprefs', name='oid', function='Settings')
- 1129 raise PluginMissingError
- 1130 moduleName = 'MoinMoin.%s.%s' % (kind, name)
- 1131 return importNameFromPlugin(moduleName, function)
- 1132
- 1133
- global importNameFromPlugin = <function importNameFromPlugin at 0xba353d4c>
- moduleName = 'MoinMoin.userprefs.oid'
- function = 'Settings'
/var/lib/python-support/python2.5/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName='MoinMoin.userprefs.oid', name='Settings')
- 1142 else:
- 1143 fromlist = [name]
- 1144 module = __import__(moduleName, globals(), {}, fromlist)
- 1145 if fromlist:
- 1146 # module has the obj for module <moduleName>
- module undefined
- builtin __import__ = <built-in function __import__>
- moduleName = 'MoinMoin.userprefs.oid'
- builtin globals = <built-in function globals>
- fromlist = ['Settings']
/var/lib/python-support/python2.5/MoinMoin/userprefs/oid.py in ()
- 12 import sha
- 13 try:
- 14 from MoinMoin.auth.openidrp import OpenIDAuth
- 15 from MoinMoin.util.moinoid import MoinOpenIDStore
- 16 from openid.consumer import consumer
- MoinMoin undefined
- OpenIDAuth undefined
/var/lib/python-support/python2.5/MoinMoin/auth/openidrp.py in ()
- 6 @license: GNU GPL, see COPYING for details.
- 7 """
- 8 from MoinMoin.util.moinoid import MoinOpenIDStore
- 9 from MoinMoin import user
- 10 from MoinMoin.auth import BaseAuth
- MoinMoin undefined
- MoinOpenIDStore undefined
/var/lib/python-support/python2.5/MoinMoin/util/moinoid.py in ()
- 12 from openid import oidutil
- 13 from openid.store.interface import OpenIDStore
- 14 from openid.association import Association
- 15 from openid.store import nonce
- 16
- openid undefined
- Association undefined
/usr/lib/python2.5/site-packages/openid/association.py in ()
- 38 from openid import kvform
- 39 from openid import oidutil
- 40 from openid.message import OPENID_NS
- 41
- 42 all_association_types = [
- openid undefined
- OPENID_NS undefined
/usr/lib/python2.5/site-packages/openid/message.py in ()
- 12 from openid import kvform
- 13 try:
- 14 ElementTree = oidutil.importElementTree()
- 15 except ImportError:
- 16 # No elementtree found, so give up, but don't fail to import,
- ElementTree undefined
- oidutil = None
- oidutil.importElementTree undefined
/usr/lib/python2.5/site-packages/openid/oidutil.py in importElementTree (module_names=['lxml.etree', 'xml.etree.cElementTree', 'xml.etree.ElementTree', 'cElementTree', 'elementtree.ElementTree'])
- 56 for mod_name in module_names:
- 57 try:
- 58 ElementTree = __import__(mod_name, None, None, ['unused'])
- 59 except ImportError:
- 60 pass
- ElementTree undefined
- builtin __import__ = <built-in function __import__>
- mod_name = 'lxml.etree'
- builtin None = None
/lxml.etree.pyx in lxml.etree (src/lxml/lxml.etree.c:119415) ()
AttributeError
'module' object has no attribute 'BytesIO'
- args = ("'module' object has no attribute 'BytesIO'",)
- message = "'module' object has no attribute 'BytesIO'"
System Details
- Date: Sat, 29 Nov 2008 22:07:57 +0000
- Platform: Linux bluebeard 2.6.27-10-generic #1 SMP Fri Nov 21 12:00:22 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.