Attachment 'traceback.html'

Download

--> -->

IOError

[Errno 20] Not a directory: '/var/www/trashwiki/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.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)

    1. 1205 self.page.send_page(self, msg=msg)
    2. 1206 else:
    3. 1207 handler(self.page.page_name, self)
    4. 1208
    5. 1209 # generate page footer (actions that do not want this footer use
    • handler = <function execute>
    • self = <MoinMoin.request.RequestModPy object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'testi'
  2. /usr/lib/python2.4/site-packages/MoinMoin/action/fullsearch.py in execute (pagename=u'testi', request=<MoinMoin.request.RequestModPy object>, fieldname='value', titlesearch=0)

    1. 71 query = search.QueryParser(case=case, regex=regex,
    2. 72 titlesearch=titlesearch).parse_query(needle)
    3. 73 results = search.searchPages(request, query)
    4. 74
    5. 75 # directly show a single hit
    • results undefined
    • search = <module 'MoinMoin.search' from '/usr/lib/python2.4/site-packages/MoinMoin/search.pyc'>
    • search.searchPages = <function searchPages>
    • request = <MoinMoin.request.RequestModPy object>
    • query = <MoinMoin.search.TextSearch instance>
  3. /usr/lib/python2.4/site-packages/MoinMoin/search.py in searchPages (request=<MoinMoin.request.RequestModPy 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.RequestModPy object>
    • query = <MoinMoin.search.TextSearch instance>
    • ).run undefined
  4. /usr/lib/python2.4/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.4/site-packages/MoinMoin/search.py in _moinSearch (self=<MoinMoin.search.Search instance>, pages=[(u'HelpOnProcessors', ''), (u'OVAL116', ''), (u'BooBoo', ''), (u'WikiCourse/BasicIntroductionHandOut', ''), (u'HelpOnEditing', ''), (u'OVAL1885', ''), (u'HelpContents', ''), (u'OVAL528', ''), (u'CVE-2006-4702', ''), (u'HelpOnHeadlines', ''), (u'CVE-2007-0945', ''), (u'CVE-2007-0944', ''), (u'HelpOnAccessControlLists', ''), (u'CVE-2007-0946', ''), (u'OVAL1722', ''), (u'HelpOnXmlPages', ''), (u'HelpOnPageDeletion', ''), (u'WikiCourse', ''), (u'UserPreferences', ''), (u'HelpOnFormatting', ''), ...])

    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.4/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.4/site-packages/MoinMoin/Page.py in get_raw_body (self=<MoinMoin.Page.Page instance>)

    1. 784 # try to open file
    2. 785 try:
    3. 786 file = codecs.open(self._text_filename(), 'rb', config.charset)
    4. 787 except IOError, er:
    5. 788 import errno
    • builtin file = <type 'file'>
    • global codecs = <module 'codecs' from '/usr/lib/python2.4/codecs.pyc'>
    • codecs.open = <function open>
    • self = <MoinMoin.Page.Page instance>
    • self._text_filename = <bound method Page._text_filename of <MoinMoin.Page.Page instance>>
    • global config = <module 'MoinMoin.config' from '/usr/lib/python2.4/site-packages/MoinMoin/config.pyc'>
    • config.charset = 'utf-8'
  8. /usr/lib/python2.4/codecs.py in open (filename='/var/www/trashwiki/data/pages/current/revisions/99999999', mode='rb', encoding='utf-8', errors='strict', buffering=1)

    1. 664 # Force opening of the file in binary mode
    2. 665 mode = mode + 'b'
    3. 666 file = __builtin__.open(filename, mode, buffering)
    4. 667 if encoding is None:
    5. 668 return file
    • builtin file = <type 'file'>
    • global __builtin__ = <module '__builtin__' (built-in)>
    • __builtin__.open = <type 'file'>
    • filename = '/var/www/trashwiki/data/pages/current/revisions/99999999'
    • mode = 'rb'
    • buffering = 1

IOError

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

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

System Details

  • Date: Mon, 05 Nov 2007 07:45:39 +0000
  • Platform: Linux localhost.localdomain 2.6.19-1.2288.2.4.fc5smp #1 SMP Sun Mar 4 16:38:41 EST 2007 i686
  • Python: Python 2.4.3 (/usr/bin/python)
  • MoinMoin: Release 1.5.8 (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] (2007-11-28 22:34:10, 1.7 KB) [[attachment:moin_rpc_put_page.patch]]
  • [get | view] (2007-11-05 07:54:30, 12.5 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.