AttributeError'module' object has no attribute 'html_head_index' | Please include this information in your bug reports!: Python Python 2.3.4: /usr/bin/python Linux thinkmo 2.4.26-thinkmo-1 #1 Sat Apr 24 18:16:31 CEST 2004 i686 MoinMoin Release 1.2.3 [Revision 1.186] Sat Aug 21 00:53:18 2004 |
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/share/moin/moin/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>) |
403 |
404 if config.allow_extended_names: |
405 Page(query).send_page(self, count_hit=1) |
406 else: |
407 from MoinMoin.parser.wiki import Parser |
Page = <class MoinMoin.Page.Page>, query = 'StartSeite', ).send_page undefined, self = <MoinMoin.request.RequestCGI instance>, count_hit undefined |
/home/twaldmann/moincvs/moin--main--1.2/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg='', **keywords={'count_hit': 1}) |
572 wikiutil.send_title(request, title, link=link, msg=msg, |
573 pagename=self.page_name, print_mode=print_mode, pi_refresh=pi_refresh, |
574 allow_doubleclick=1, trail=trail) |
575 |
576 # user-defined form preview? |
allow_doubleclick undefined, trail = None |
/usr/local/share/moin/moin/MoinMoin/wikiutil.py in send_title(request=<MoinMoin.request.RequestCGI instance>, text='StartSeite', **keywords={'allow_doubleclick': 1, 'link': '/StartSeite?action=fullsearch&value=StartSeite&literal=1&case=1&context=40', 'msg': '', 'pagename': 'StartSeite', 'pi_refresh': None, 'print_mode': False, 'trail': None}) |
895 # the original, english pages as well as for (the possible modified) frontpage: |
896 elif pagename in [page_front_page, config.page_front_page, page_title_index, ]: |
897 user_head += config.html_head_index |
898 # if it is a normal page, index it, but do not follow the links, because |
899 # there are a lot of illegal links (like actions) or duplicates: |
user_head = '\n<META HTTP-EQUIV="Content-Type" CONTENT="text/h...rel="icon" href="/favicon.ico" type="image/png">\n', global config = <module 'MoinMoin.config' from '/usr/local/share/moin/moin/MoinMoin/config.pyc'>, config.html_head_index undefined |
AttributeError: 'module' object has no attribute 'html_head_index'
__doc__ =
'Attribute not found.'
__getitem__ =
<bound method AttributeError.__getitem__ of <exceptions.AttributeError instance>>
__init__ =
<bound method AttributeError.__init__ of <exceptions.AttributeError instance>>
__module__ =
'exceptions'
__str__ =
<bound method AttributeError.__str__ of <exceptions.AttributeError instance>>
args =
("'module' object has no attribute 'html_head_index'",)