Attachment 'traceback.html'
Download- attachment:vidkonf-minutes_20060308.txt of vidkonf
Attachment 'vidkonf-minutes_20060308.txt'
Download--> -->
ImportError
cannot import name wiki
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/local/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object at 0x84f96ec>)
- 1281 self.page.send_page(msg=msg)
- 1282 else:
- 1283 handler(self.page.page_name, self)
- 1284
- 1285 # every action that didn't use to raise MoinMoinNoFooter must call this now:
- handler = <function execute at 0x852cc34>
- self = <MoinMoin.request.request_cgi.Request object at 0x84f96ec>
- self.page = <MoinMoin.Page.Page object at 0x8529a8c>
- self.page.page_name = u'vidkonf'
/usr/local/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py in execute (pagename=u'vidkonf', request=<MoinMoin.request.request_cgi.Request object at 0x84f96ec>)
- 583 elif do == 'view':
- 584 if request.user.may.read(pagename):
- 585 view_file(pagename, request)
- 586 else:
- 587 msg = _('You are not allowed to view attachments of this page.', formatted=False)
- global view_file = <function view_file at 0x852ced4>
- pagename = u'vidkonf'
- request = <MoinMoin.request.request_cgi.Request object at 0x84f96ec>
/usr/local/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py in view_file (pagename=u'vidkonf', request=<MoinMoin.request.request_cgi.Request object at 0x84f96ec>)
- 1103 # send body
- 1104 request.write(request.formatter.startContent())
- 1105 send_viewfile(pagename, request)
- 1106 send_uploadform(pagename, request)
- 1107 request.write(request.formatter.endContent())
- global send_viewfile = <function send_viewfile at 0x852ce9c>
- pagename = u'vidkonf'
- request = <MoinMoin.request.request_cgi.Request object at 0x84f96ec>
/usr/local/lib/python2.5/site-packages/MoinMoin/action/AttachFile.py in send_viewfile (pagename=u'vidkonf', request=<MoinMoin.request.request_cgi.Request object at 0x84f96ec>)
- 1031 elif mt.major == 'text':
- 1032 ext = os.path.splitext(filename)[1]
- 1033 Parser = wikiutil.getParserForExtension(request.cfg, ext)
- 1034 if Parser is not None:
- 1035 try:
- Parser undefined
- global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.pyc'>
- wikiutil.getParserForExtension = <function getParserForExtension at 0x842caac>
- request = <MoinMoin.request.request_cgi.Request object at 0x84f96ec>
- request.cfg = <wikiconfig.Config instance at 0x84f986c>
- ext = u'.txt'
/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in getParserForExtension (cfg=<wikiconfig.Config instance at 0x84f986c>, extension=u'.txt')
- 1232 for pname in getPlugins('parser', cfg):
- 1233 try:
- 1234 Parser = importPlugin(cfg, 'parser', pname, 'Parser')
- 1235 except PluginMissingError:
- 1236 continue
- Parser = <class MoinMoin.parser.text_xslt.Parser at 0x86aae3c>
- global importPlugin = <function importPlugin at 0x842c8ec>
- cfg = <wikiconfig.Config instance at 0x84f986c>
- pname = 'eventcal'
/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importPlugin (cfg=<wikiconfig.Config instance at 0x84f986c>, kind='parser', name='eventcal', function='Parser')
- 1100 """
- 1101 try:
- 1102 return importWikiPlugin(cfg, kind, name, function)
- 1103 except PluginMissingError:
- 1104 return importBuiltinPlugin(kind, name, function)
- global importWikiPlugin = <function importWikiPlugin at 0x842c924>
- cfg = <wikiconfig.Config instance at 0x84f986c>
- kind = 'parser'
- name = 'eventcal'
- function = 'Parser'
/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importWikiPlugin (cfg=<wikiconfig.Config instance at 0x84f986c>, kind='parser', name='eventcal', function='Parser')
- 1113 raise PluginMissingError
- 1114 moduleName = '%s.plugin.%s.%s' % (cfg.siteid, kind, name)
- 1115 return importNameFromPlugin(moduleName, function)
- 1116
- 1117
- global importNameFromPlugin = <function importNameFromPlugin at 0x842c994>
- moduleName = 'wikiconfig.plugin.parser.eventcal'
- function = 'Parser'
/usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName='wikiconfig.plugin.parser.eventcal', name='Parser')
- 1132 Raise PluginAttributeError if name does not exists.
- 1133 """
- 1134 module = __import__(moduleName, globals(), {}, [name])
- 1135 try:
- 1136 return getattr(module, name)
- module undefined
- builtin __import__ = <built-in function __import__>
- moduleName = 'wikiconfig.plugin.parser.eventcal'
- builtin globals = <built-in function globals>
- name = 'Parser'
/home/wiki/data/plugin/parser/eventcal.py in ()
- 59
- 60 import datetime, re
- 61 from MoinMoin.parser import wiki
- 62 import urllib
- 63 from MoinMoin import config
- MoinMoin undefined
- wiki undefined
ImportError
cannot import name wiki
- args = ('cannot import name wiki',)
- message = 'cannot import name wiki'
System Details
- Date: Wed, 18 Jun 2008 12:40:13 +0000
- Platform: FreeBSD mignon.ki.iif.hu 6.3-STABLE FreeBSD 6.3-STABLE #12: Mon May 19 18:48:06 CEST 2008 root@mignon.ki.iif.hu:/usr/obj/usr/src/sys/MIGNON2 i386
- Python: Python 2.5.2 (/usr/local/bin/python)
- MoinMoin: Release 1.6.2 (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.