Attachment 'traceback.html'

Download

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.

  1. /usr/local/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object at 0x84f96ec>)

    1. 1281 self.page.send_page(msg=msg)
    2. 1282 else:
    3. 1283 handler(self.page.page_name, self)
    4. 1284
    5. 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'
  2. /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>)

    1. 583 elif do == 'view':
    2. 584 if request.user.may.read(pagename):
    3. 585 view_file(pagename, request)
    4. 586 else:
    5. 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>
  3. /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>)

    1. 1103 # send body
    2. 1104 request.write(request.formatter.startContent())
    3. 1105 send_viewfile(pagename, request)
    4. 1106 send_uploadform(pagename, request)
    5. 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>
  4. /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>)

    1. 1031 elif mt.major == 'text':
    2. 1032 ext = os.path.splitext(filename)[1]
    3. 1033 Parser = wikiutil.getParserForExtension(request.cfg, ext)
    4. 1034 if Parser is not None:
    5. 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'
  5. /usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in getParserForExtension (cfg=<wikiconfig.Config instance at 0x84f986c>, extension=u'.txt')

    1. 1232 for pname in getPlugins('parser', cfg):
    2. 1233 try:
    3. 1234 Parser = importPlugin(cfg, 'parser', pname, 'Parser')
    4. 1235 except PluginMissingError:
    5. 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'
  6. /usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importPlugin (cfg=<wikiconfig.Config instance at 0x84f986c>, kind='parser', name='eventcal', function='Parser')

    1. 1100 """
    2. 1101 try:
    3. 1102 return importWikiPlugin(cfg, kind, name, function)
    4. 1103 except PluginMissingError:
    5. 1104 return importBuiltinPlugin(kind, name, function)
    • global importWikiPlugin = <function importWikiPlugin at 0x842c924>
    • cfg = <wikiconfig.Config instance at 0x84f986c>
    • kind = 'parser'
    • name = 'eventcal'
    • function = 'Parser'
  7. /usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importWikiPlugin (cfg=<wikiconfig.Config instance at 0x84f986c>, kind='parser', name='eventcal', function='Parser')

    1. 1113 raise PluginMissingError
    2. 1114 moduleName = '%s.plugin.%s.%s' % (cfg.siteid, kind, name)
    3. 1115 return importNameFromPlugin(moduleName, function)
    4. 1116
    5. 1117
    • global importNameFromPlugin = <function importNameFromPlugin at 0x842c994>
    • moduleName = 'wikiconfig.plugin.parser.eventcal'
    • function = 'Parser'
  8. /usr/local/lib/python2.5/site-packages/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName='wikiconfig.plugin.parser.eventcal', name='Parser')

    1. 1132 Raise PluginAttributeError if name does not exists.
    2. 1133 """
    3. 1134 module = __import__(moduleName, globals(), {}, [name])
    4. 1135 try:
    5. 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'
  9. /home/wiki/data/plugin/parser/eventcal.py in ()

    1. 59
    2. 60 import datetime, re
    3. 61 from MoinMoin.parser import wiki
    4. 62 import urllib
    5. 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.
  • [get | view] (2008-06-18 13:00:01, 36.7 KB) [[attachment:screenshot.png]]
  • [get | view] (2008-06-18 14:38:28, 0.0 KB) [[attachment:test.txt]]
  • [get | view] (2008-06-18 13:00:36, 34.8 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.