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.

  1. /srv/moin_tw/moin-test/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object>)

    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>
    • self = <MoinMoin.request.request_fcgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'FindPage'
  2. /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)

    1. 186 query = QueryParser(case=case, regex=regex,
    2. 187 titlesearch=titlesearch).parse_query(needle)
    3. 188 results = searchPages(request, query, sort, mtime, historysearch)
    4. 189 except ValueError: # catch errors in the search query
    5. 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
  3. /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={})

    1. 30 if isinstance(query, str) or isinstance(query, unicode):
    2. 31 query = QueryParser(**kw).parse_query(query)
    3. 32 return Search(request, query, sort, mtime=mtime,
    4. 33 historysearch=historysearch).run()
    5. 34
    • historysearch = 0
    • ).run undefined
  4. /srv/moin_tw/moin-test/MoinMoin/search/builtin.py in run (self=<MoinMoin.search.builtin.Search instance>)

    1. 457 logging.debug("search: _xapianSearch found %d hits" % len(hits))
    2. 458 else:
    3. 459 hits = self._moinSearch()
    4. 460 logging.debug("search: moinSearch found %d hits" % len(hits))
    5. 461
    • hits undefined
    • self = <MoinMoin.search.builtin.Search instance>
    • self._moinSearch = <bound method Search._moinSearch of <MoinMoin.search.builtin.Search instance>>
  5. /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'}, ...])

    1. 609 # but don't search attachments (thus attachment name = '')
    2. 610 pages = [{'pagename': p, 'attachment': '', 'wikiname': 'Self', } for p in self._getPageList()]
    3. 611 hits = self._getHits(pages, self._moinMatch)
    4. 612 self.request.clock.stop('_moinSearch')
    5. 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>>
  6. /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>>)

    1. 658 hits.append((wikiname, page, attachment, matches))
    2. 659 else:
    3. 660 matches = matchSearchFunction(page=page, uid=uid)
    4. 661 logging.debug("search: matchSearchFunction %r returned %r" % (matchSearchFunction, matches))
    5. 662 if matches:
    • matches undefined
    • matchSearchFunction = <bound method Search._moinMatch of <MoinMoin.search.builtin.Search instance>>
    • page = <MoinMoin.Page.Page object>
    • uid = None
  7. /srv/moin_tw/moin-test/MoinMoin/search/builtin.py in _moinMatch (self=<MoinMoin.search.builtin.Search instance>, page=<MoinMoin.Page.Page object>, uid=None)

    1. 619 """
    2. 620 if page:
    3. 621 return self.query.search(page)
    4. 622
    5. 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>
  8. /srv/moin_tw/moin-test/MoinMoin/search/queryparser.py in search (self=<MoinMoin.search.queryparser.AndExpression instance>, page=<MoinMoin.Page.Page object>)

    1. 168 matches = []
    2. 169 for term in self._subterms:
    3. 170 result = term.search(page)
    4. 171 if not result:
    5. 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>
  9. /srv/moin_tw/moin-test/MoinMoin/search/queryparser.py in search (self=<MoinMoin.search.queryparser.DomainSearch instance>, page=<MoinMoin.Page.Page object>)

    1. 865
    2. 866 try:
    3. 867 match = checks[self.pattern]()
    4. 868 except KeyError:
    5. 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.
  • [get | view] (2008-01-04 12:00:10, 26.1 KB) [[attachment:screenshot.png]]
  • [get | view] (2008-01-04 12:01:02, 18.1 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.