Attachment 'PrettyDocs.html'

Download

--> -->

AttributeError

'str' object has no attribute 'siteid'

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. C:\Python24\Lib\site-packages\MoinMoin\request.py in run (self=<MoinMoin.request.RequestModPy object>)

    1. 1135 from MoinMoin.wikiaction import getHandler
    2. 1136 handler = getHandler(self, action)
    3. 1137 handler(self.page.page_name, self)
    4. 1138
    5. 1139 # 5. Or redirect to another page
    • handler = <function execute>
    • self = <MoinMoin.request.RequestModPy object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'PrettyDocs'
  2. C:\home\web\Moin\drawiki\data\plugin\action\PDFPrint.py in execute (pagename=u'PrettyDocs', request=<MoinMoin.request.RequestModPy object>)

    1. 6 def execute(pagename, request):
    2. 7 _ = request.getText
    3. 8 Formatter = wikiutil.importPlugin("formatter", "HTMLDOC", "Formatter")
    4. 9 #~ Formatter = wikiutil.importPlugin(request.cfg,"formatter", "HTMLDOC", function="Formatter")
    5. 10
    • Formatter undefined
    • global wikiutil = <module 'MoinMoin.wikiutil' from 'C:\Python24\lib\site-packages\MoinMoin\wikiutil.pyc'>
    • wikiutil.importPlugin = <function importPlugin>
  3. C:\Python24\Lib\site-packages\MoinMoin\wikiutil.py in importPlugin (cfg='formatter', kind='HTMLDOC', name='Formatter', function='execute')

    1. 799 """
    2. 800 try:
    3. 801 return importWikiPlugin(cfg, kind, name, function)
    4. 802 except PluginMissingError:
    5. 803 return importBuiltinPlugin(kind, name, function)
    • global importWikiPlugin = <function importWikiPlugin>
    • cfg = 'formatter'
    • kind = 'HTMLDOC'
    • name = 'Formatter'
    • function = 'execute'
  4. C:\Python24\Lib\site-packages\MoinMoin\wikiutil.py in importWikiPlugin (cfg='formatter', kind='HTMLDOC', name='Formatter', function='execute')

    1. 809 See importPlugin docstring.
    2. 810 """
    3. 811 if not name in wikiPlugins(kind, cfg):
    4. 812 raise PluginMissingError
    5. 813 moduleName = '%s.plugin.%s.%s' % (cfg.siteid, kind, name)
    • name = 'Formatter'
    • global wikiPlugins = <function wikiPlugins>
    • kind = 'HTMLDOC'
    • cfg = 'formatter'
  5. C:\Python24\Lib\site-packages\MoinMoin\wikiutil.py in wikiPlugins (kind='HTMLDOC', cfg='formatter')

    1. 860 """
    2. 861 # Wiki plugins are located in wikiconfig.plugin module
    3. 862 modulename = '%s.plugin.%s' % (cfg.siteid, kind)
    4. 863 return pysupport.importName(modulename, "modules")
    5. 864
    • modulename undefined
    • cfg = 'formatter'
    • cfg.siteid undefined
    • kind = 'HTMLDOC'

AttributeError

'str' object has no attribute 'siteid'

  • args = ("'str' object has no attribute 'siteid'",)

System Details

  • Date: Mon, 29 May 2006 04:19:06 +0000
  • Platform: win32 (nt)
  • Python: Python 2.4.3 (C:\Program Files\Apache Group\Apache2\bin\Apache.exe)
  • MoinMoin: Release 1.5.3 (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] (2006-05-29 04:41:20, 8.1 KB) [[attachment:PrettyDocs.html]]
 All files | Selected Files: delete move to page copy to page

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