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.
C:\Python24\Lib\site-packages\MoinMoin\request.py
in run
(self=<MoinMoin.request.RequestModPy object>)
- 1135 from MoinMoin.wikiaction import getHandler
- 1136 handler = getHandler(self, action)
- 1137 handler(self.page.page_name, self)
- 1138
- 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'
C:\home\web\Moin\drawiki\data\plugin\action\PDFPrint.py
in execute
(pagename=u'PrettyDocs', request=<MoinMoin.request.RequestModPy object>)
- 6 def execute(pagename, request):
- 7 _ = request.getText
- 8 Formatter = wikiutil.importPlugin("formatter", "HTMLDOC", "Formatter")
- 9 #~ Formatter = wikiutil.importPlugin(request.cfg,"formatter", "HTMLDOC", function="Formatter")
- 10
- Formatter undefined
- global
wikiutil
= <module 'MoinMoin.wikiutil' from 'C:\Python24\lib\site-packages\MoinMoin\wikiutil.pyc'>
- wikiutil.importPlugin
= <function importPlugin>
C:\Python24\Lib\site-packages\MoinMoin\wikiutil.py
in importPlugin
(cfg='formatter', kind='HTMLDOC', name='Formatter', function='execute')
- 799 """
- 800 try:
- 801 return importWikiPlugin(cfg, kind, name, function)
- 802 except PluginMissingError:
- 803 return importBuiltinPlugin(kind, name, function)
- global
importWikiPlugin
= <function importWikiPlugin>
- cfg
= 'formatter'
- kind
= 'HTMLDOC'
- name
= 'Formatter'
- function
= 'execute'
C:\Python24\Lib\site-packages\MoinMoin\wikiutil.py
in importWikiPlugin
(cfg='formatter', kind='HTMLDOC', name='Formatter', function='execute')
- 809 See importPlugin docstring.
- 810 """
- 811 if not name in wikiPlugins(kind, cfg):
- 812 raise PluginMissingError
- 813 moduleName = '%s.plugin.%s.%s' % (cfg.siteid, kind, name)
- name
= 'Formatter'
- global
wikiPlugins
= <function wikiPlugins>
- kind
= 'HTMLDOC'
- cfg
= 'formatter'
C:\Python24\Lib\site-packages\MoinMoin\wikiutil.py
in wikiPlugins
(kind='HTMLDOC', cfg='formatter')
- 860 """
- 861 # Wiki plugins are located in wikiconfig.plugin module
- 862 modulename = '%s.plugin.%s' % (cfg.siteid, kind)
- 863 return pysupport.importName(modulename, "modules")
- 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)