Attachment 'traceback.html'
Download--> -->
TypeError
<lambda>() takes exactly 1 argument (0 given)
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.
/srv/moin_tw/moin-test/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object>)
- 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>
- self = <MoinMoin.request.request_fcgi.Request object>
- self.page = <MoinMoin.Page.Page object>
- self.page.page_name = u'FindPage'
/srv/moin_tw/moin-test/MoinMoin/action/fullsearch.py in execute (pagename=u'FindPage', request=<MoinMoin.request.request_fcgi.Request object>, fieldname='value', titlesearch=0, statistic=0)
- 186 query = QueryParser(case=case, regex=regex,
- 187 titlesearch=titlesearch).parse_query(needle)
- 188 results = searchPages(request, query, sort, mtime, historysearch)
- 189 except ValueError: # catch errors in the search query
- 190 err = _('Your search query {{{"%s"}}} is invalid. Please refer to '
- results undefined
- searchPages = <function searchPages>
- request = <MoinMoin.request.request_fcgi.Request object>
- query = <MoinMoin.search.queryparser.AndExpression instance>
- sort = 'weight'
- mtime = u''
- historysearch = 0
/srv/moin_tw/moin-test/MoinMoin/search/__init__.py in searchPages (request=<MoinMoin.request.request_fcgi.Request object>, query=<MoinMoin.search.queryparser.AndExpression instance>, sort='weight', mtime=u'', historysearch=0, **kw={})
- 30 if isinstance(query, str) or isinstance(query, unicode):
- 31 query = QueryParser(**kw).parse_query(query)
- 32 return Search(request, query, sort, mtime=mtime,
- 33 historysearch=historysearch).run()
- 34
- historysearch = 0
- ).run undefined
/srv/moin_tw/moin-test/MoinMoin/search/builtin.py in run (self=<MoinMoin.search.builtin.Search instance>)
- 457 logging.debug("search: _xapianSearch found %d hits" % len(hits))
- 458 else:
- 459 hits = self._moinSearch()
- 460 logging.debug("search: moinSearch found %d hits" % len(hits))
- 461
- hits undefined
- self = <MoinMoin.search.builtin.Search instance>
- self._moinSearch = <bound method Search._moinSearch of <MoinMoin.search.builtin.Search instance>>
/srv/moin_tw/moin-test/MoinMoin/search/builtin.py in _moinSearch (self=<MoinMoin.search.builtin.Search instance>, pages=[{'attachment': '', 'pagename': u'FeatureRequests/AltTextForEmbedObjectMacro', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/TestBug', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/GuiEditorExcelPasteExpatErrorUnboundPrefix', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'/wiki/common', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'FrenchTranslation', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'FeatureRequests/AlterTableOfContentsAppearanceWithStyleSheet', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'HilfeZumEditieren', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/ActionInfoFails', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/CreatePageFailsOnIis', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'PdfPrintExample', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/EditspezialTitlename', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'GeorgeGeorgalis', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/NoHtmlLineAnchorsOnPagesWithFormatPlain', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/TypoInUserform', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'ReimarBauer/WikiDict', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'ParserMarket/ImageMap', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'WikiCourse/18 Attachments', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/1.6devPreSectionTerminated', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'VbZoli', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinQuestions/Developing', 'wikiname': 'Self'}, ...])
- 609 # but don't search attachments (thus attachment name = '')
- 610 pages = [{'pagename': p, 'attachment': '', 'wikiname': 'Self', } for p in self._getPageList()]
- 611 hits = self._getHits(pages, self._moinMatch)
- 612 self.request.clock.stop('_moinSearch')
- 613 return hits
- hits undefined
- self = <MoinMoin.search.builtin.Search instance>
- self._getHits = <bound method Search._getHits of <MoinMoin.search.builtin.Search instance>>
- pages = [{'attachment': '', 'pagename': u'FeatureRequests/AltTextForEmbedObjectMacro', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/TestBug', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/GuiEditorExcelPasteExpatErrorUnboundPrefix', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'/wiki/common', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'FrenchTranslation', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'FeatureRequests/AlterTableOfContentsAppearanceWithStyleSheet', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'HilfeZumEditieren', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/ActionInfoFails', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/CreatePageFailsOnIis', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'PdfPrintExample', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/EditspezialTitlename', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'GeorgeGeorgalis', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/NoHtmlLineAnchorsOnPagesWithFormatPlain', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/TypoInUserform', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'ReimarBauer/WikiDict', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'ParserMarket/ImageMap', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'WikiCourse/18 Attachments', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/1.6devPreSectionTerminated', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'VbZoli', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinQuestions/Developing', 'wikiname': 'Self'}, ...]
- self._moinMatch = <bound method Search._moinMatch of <MoinMoin.search.builtin.Search instance>>
/srv/moin_tw/moin-test/MoinMoin/search/builtin.py in _getHits (self=<MoinMoin.search.builtin.Search instance>, pages=[{'attachment': '', 'pagename': u'FeatureRequests/AltTextForEmbedObjectMacro', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/TestBug', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/GuiEditorExcelPasteExpatErrorUnboundPrefix', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'/wiki/common', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'FrenchTranslation', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'FeatureRequests/AlterTableOfContentsAppearanceWithStyleSheet', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'HilfeZumEditieren', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/ActionInfoFails', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/CreatePageFailsOnIis', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'PdfPrintExample', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/EditspezialTitlename', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'GeorgeGeorgalis', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/NoHtmlLineAnchorsOnPagesWithFormatPlain', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/TypoInUserform', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'ReimarBauer/WikiDict', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'ParserMarket/ImageMap', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'WikiCourse/18 Attachments', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinBugs/1.6devPreSectionTerminated', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'VbZoli', 'wikiname': 'Self'}, {'attachment': '', 'pagename': u'MoinMoinQuestions/Developing', 'wikiname': 'Self'}, ...], matchSearchFunction=<bound method Search._moinMatch of <MoinMoin.search.builtin.Search instance>>)
- 658 hits.append((wikiname, page, attachment, matches))
- 659 else:
- 660 matches = matchSearchFunction(page=page, uid=uid)
- 661 logging.debug("search: matchSearchFunction %r returned %r" % (matchSearchFunction, matches))
- 662 if matches:
- matches undefined
- matchSearchFunction = <bound method Search._moinMatch of <MoinMoin.search.builtin.Search instance>>
- page = <MoinMoin.Page.Page object>
- uid = None
/srv/moin_tw/moin-test/MoinMoin/search/builtin.py in _moinMatch (self=<MoinMoin.search.builtin.Search instance>, page=<MoinMoin.Page.Page object>, uid=None)
- 619 """
- 620 if page:
- 621 return self.query.search(page)
- 622
- 623 def _getHits(self, pages, matchSearchFunction):
- self = <MoinMoin.search.builtin.Search instance>
- self.query = <MoinMoin.search.queryparser.AndExpression instance>
- self.query.search = <bound method AndExpression.search of <MoinMoin.search.queryparser.AndExpression instance>>
- page = <MoinMoin.Page.Page object>
/srv/moin_tw/moin-test/MoinMoin/search/queryparser.py in search (self=<MoinMoin.search.queryparser.AndExpression instance>, page=<MoinMoin.Page.Page object>)
- 168 matches = []
- 169 for term in self._subterms:
- 170 result = term.search(page)
- 171 if not result:
- 172 return None
- result undefined
- term = <MoinMoin.search.queryparser.DomainSearch instance>
- term.search = <bound method DomainSearch.search of <MoinMoin.search.queryparser.DomainSearch instance>>
- page = <MoinMoin.Page.Page object>
/srv/moin_tw/moin-test/MoinMoin/search/queryparser.py in search (self=<MoinMoin.search.queryparser.DomainSearch instance>, page=<MoinMoin.Page.Page object>)
- 865
- 866 try:
- 867 match = checks[self.pattern]()
- 868 except KeyError:
- 869 match = False
- match undefined
- checks = {'standard': <bound method Page.isStandardPage of <MoinMoin.Page.Page object>>, 'system': <function <lambda>>, 'underlay': <bound method Page.isUnderlayPage of <MoinMoin.Page.Page object>>}
- self = <MoinMoin.search.queryparser.DomainSearch instance>
- self.pattern = u'system'
TypeError
<lambda>() takes exactly 1 argument (0 given)
- args = ('<lambda>() takes exactly 1 argument (0 given)',)
System Details
- Date: Fri, 04 Jan 2008 10:36:32 +0000
- Platform: Linux web.thinkmo.de 2.6.22.7-thinkmo-1 #1 SMP Fri Sep 28 14:48:51 CEST 2007 x86_64
- Python: Python 2.4.4 (/usr/bin/python)
- MoinMoin: Release 1.6.0 (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.