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.
/usr/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 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'
/usr/lib/python2.4/site-packages/MoinMoin/action/fullsearch.py in execute (pagename=u'testi', request=<MoinMoin.request.RequestModPy object>, fieldname='value', titlesearch=0)
- 71 query = search.QueryParser(case=case, regex=regex,
- 72 titlesearch=titlesearch).parse_query(needle)
- 73 results = search.searchPages(request, query)
- 74
- 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>
/usr/lib/python2.4/site-packages/MoinMoin/search.py in searchPages (request=<MoinMoin.request.RequestModPy object>, query=<MoinMoin.search.TextSearch instance>, **kw={})
- 1265 @rtype: SearchResults instance
- 1266 @return: search results
- 1267 """
- 1268 return Search(request, query).run()
- 1269
- global Search = <class MoinMoin.search.Search>
- request = <MoinMoin.request.RequestModPy object>
- query = <MoinMoin.search.TextSearch instance>
- ).run undefined
/usr/lib/python2.4/site-packages/MoinMoin/search.py in run (self=<MoinMoin.search.Search instance>)
- 1166 hits = self._lupySearch()
- 1167 else:
- 1168 hits = self._moinSearch()
- 1169
- 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>>
/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', ''), ...])
- 1227 hits.append((page, attachment, None))
- 1228 else:
- 1229 match = self.query.search(page)
- 1230 if match:
- 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>
/usr/lib/python2.4/site-packages/MoinMoin/search.py in search (self=<MoinMoin.search.TextSearch instance>, page=<MoinMoin.Page.Page instance>)
- 242
- 243 # Search in page body
- 244 body = page.get_raw_body()
- 245 for match in self.search_re.finditer(body):
- 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>>
/usr/lib/python2.4/site-packages/MoinMoin/Page.py in get_raw_body (self=<MoinMoin.Page.Page instance>)
- 784 # try to open file
- 785 try:
- 786 file = codecs.open(self._text_filename(), 'rb', config.charset)
- 787 except IOError, er:
- 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'
/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)
- 664 # Force opening of the file in binary mode
- 665 mode = mode + 'b'
- 666 file = __builtin__.open(filename, mode, buffering)
- 667 if encoding is None:
- 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.You are not allowed to attach a file to this page.