--> -->

IOError

[Errno 20] Not a directory: '/var/www/moin/cfiwiki/data/pages/current/revisions/99999999'

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. /usr/lib/python2.3/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1133 pass
    2. 1134 except Exception, err:
    3. 1135 self.fail(err)
    4. 1136
    5. 1137 return self.finish()
    • self = <MoinMoin.request.RequestCGI object>
    • self.fail = <bound method RequestCGI.fail of <MoinMoin.request.RequestCGI object>>
    • err = <exceptions.IOError instance>
  2. /usr/lib/python2.3/site-packages/MoinMoin/action/fullsearch.py in execute (pagename=u'Home', request=<MoinMoin.request.RequestCGI object>, fieldname='value', titlesearch=False)

    1. 61 query = search.QueryParser(case=case, regex=regex,
    2. 62 titlesearch=titlesearch).parse_query(needle)
    3. 63 results = search.searchPages(request, query)
    4. 64
    5. 65 # directly show a single hit
    • results undefined
    • search = <module 'MoinMoin.search' from '/usr/lib/python2.3/site-packages/MoinMoin/search.pyc'>
    • search.searchPages = <function searchPages>
    • request = <MoinMoin.request.RequestCGI object>
    • query = <MoinMoin.search.TextSearch instance>
  3. /usr/lib/python2.3/site-packages/MoinMoin/search.py in searchPages (request=<MoinMoin.request.RequestCGI object>, query=<MoinMoin.search.TextSearch instance>, **kw={})

    1. 1265 @rtype: SearchResults instance
    2. 1266 @return: search results
    3. 1267 """
    4. 1268 return Search(request, query).run()
    5. 1269
    • global Search = <class MoinMoin.search.Search>
    • request = <MoinMoin.request.RequestCGI object>
    • query = <MoinMoin.search.TextSearch instance>
    • ).run undefined
  4. /usr/lib/python2.3/site-packages/MoinMoin/search.py in run (self=<MoinMoin.search.Search instance>)

    1. 1166 hits = self._lupySearch()
    2. 1167 else:
    3. 1168 hits = self._moinSearch()
    4. 1169
    5. 1170 # important - filter deleted pages or pages the user may not read!
    • hits undefined
    • self = <MoinMoin.search.Search instance>
    • self._moinSearch = <bound method Search._moinSearch of <MoinMoin.search.Search instance>>
  5. /usr/lib/python2.3/site-packages/MoinMoin/search.py in _moinSearch (self=<MoinMoin.search.Search instance>, pages=[(u'HelpOnProcessors', ''), (u'WikiCourse/BasicIntroduction/110 Headlines and Paragraphs', ''), (u'WikiCourse/BasicIntroductionHandOut', ''), (u'HelpOnEditing', ''), (u'HelpOnUserHandling', ''), (u'HelpContents', ''), (u'HelpOnInstalling/MinimalWiki', ''), (u'HelpOnHeadlines', ''), (u'HelpOnAccessControlLists', ''), (u'HelpOnXmlPages', ''), (u'HelpOnPageDeletion', ''), (u'CiscoSwitchMaintenance', ''), (u'WikiCourse', ''), (u'UserPreferences', ''), (u'WikiCourse/BasicIntroduction/195 Actions', ''), (u'HelpOnInstalling/ApacheWithModPython', ''), (u'HelpOnAutoAdmin', ''), (u'HelpOnProcessingInstructions', ''), (u'HelpOnInstalling/BasicInstallation', ''), (u'MailScanner', ''), ...])

    1. 1227 hits.append((page, attachment, None))
    2. 1228 else:
    3. 1229 match = self.query.search(page)
    4. 1230 if match:
    5. 1231 hits.append((page, attachment, match))
    • match = None
    • self = <MoinMoin.search.Search instance>
    • self.query = <MoinMoin.search.TextSearch instance>
    • self.query.search = <bound method TextSearch.search of <MoinMoin.search.TextSearch instance>>
    • page = <MoinMoin.Page.Page instance>
  6. /usr/lib/python2.3/site-packages/MoinMoin/search.py in search (self=<MoinMoin.search.TextSearch instance>, page=<MoinMoin.Page.Page instance>)

    1. 242
    2. 243 # Search in page body
    3. 244 body = page.get_raw_body()
    4. 245 for match in self.search_re.finditer(body):
    5. 246 matches.append(TextMatch(re_match=match))
    • body undefined
    • page = <MoinMoin.Page.Page instance>
    • page.get_raw_body = <bound method Page.get_raw_body of <MoinMoin.Page.Page instance>>
  7. /usr/lib/python2.3/site-packages/MoinMoin/Page.py in get_raw_body (self=<MoinMoin.Page.Page instance>)

    1. 786 return ""
    2. 787 else:
    3. 788 raise er
    4. 789
    5. 790 # read file content and make sure it is closed properly
    • er = <exceptions.IOError instance>

IOError

[Errno 20] Not a directory: '/var/www/moin/cfiwiki/data/pages/current/revisions/99999999'

  • args = (20, 'Not a directory')
  • errno = 20
  • filename = '/var/www/moin/cfiwiki/data/pages/current/revisions/99999999'
  • strerror = 'Not a directory'

System Details