Description

I got a Python exception when I clicked on the first (left-most) link in the list of history links displayed at the top of the page.

Steps to reproduce

Below is the HTML source from the error page that got displayed

Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/request.py", line 845, in run
    handler(self.page.page_name, self)
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/action/fullsearch.py", line 54, in execute
    results = search.searchPages(request, query)
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/search.py", line 1103, in searchPages
    result = query.search(page)
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/search.py", line 387, in search
    for link in page.getPageLinks(page.request):
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/Page.py", line 1439, in getPageLinks
    cache = caching.CacheEntry(request, arena, key)
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/caching.py", line 31, in __init__
    self.arena_dir = arena.getPagePath('cache', check_create=1)
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/Page.py", line 298, in getPagePath
    return self.getPageStatus(*args, **kw)[1]
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/Page.py", line 294, in getPageStatus
    filesys.makeDirs(dirname)
  File "/System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site-packages/MoinMoin/util/filesys.py", line 26, in makeDirs
    os.mkdir(name, mode & config.umask)
OSError: [Errno 17] File exists: './underlay/pages/WikiCourse(2f)BasicIntroduction(2f)195_Actions/cache'

Workaround

Discussion

If you have some time for testing, try to reproduce this by creating a new instance with a new fresh data and underlay directory, and trying to visit the same pages. If you registered and account and created a home page, do that again in the new instance.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/PythonExceptionDuringNav (last edited 2007-10-29 19:09:29 by localhost)