CacheError
[Error 183] Cannot create a file when that file already exists
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.
C:\Moin\Lib\site-packages\MoinMoin\request\__init__.py in run (self=<MoinMoin.request.request_cgi.Request object at 0x0085E2D0>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function do_show at 0x00BBD7F0>
- self = <MoinMoin.request.request_cgi.Request object at 0x0085E2D0>
- self.page = <MoinMoin.Page.Page object at 0x00BE8AD0>
- self.page.page_name = u'HomePage'
C:\Moin\Lib\site-packages\MoinMoin\action\__init__.py in do_show (pagename=u'HomePage', request=<MoinMoin.request.request_cgi.Request object at 0x0085E2D0>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
- content_only = 0
C:\Moin\Lib\site-packages\MoinMoin\Page.py in send_page (self=<MoinMoin.Page.Page object at 0x00C0C530>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1199 format_args=pi['formatargs'],
- 1200 do_cache=do_cache,
- 1201 start_line=pi['lines'])
- 1202
- 1203 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0x00C09B70>, 'format': u'wiki', 'formatargs': u'', 'language': u'en', 'lines': 4}
C:\Moin\Lib\site-packages\MoinMoin\Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x00C0C530>, request=<MoinMoin.request.request_cgi.Request object at 0x0085E2D0>, body=u'\n{{attachment:Vero Transparent.png|Vero Software...Administration, "Administration",4,to="^#acl")>>\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 4})
- 1292 raise
- 1293 try:
- 1294 code = self.makeCache(request, parser)
- 1295 self.execute(request, parser, code)
- 1296 except Exception, e:
- code undefined
- self = <MoinMoin.Page.Page object at 0x00C0C530>
- self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page object at 0x00C0C530>>
- request = <MoinMoin.request.request_cgi.Request object at 0x0085E2D0>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x00BFEB98>
C:\Moin\Lib\site-packages\MoinMoin\Page.py in makeCache (self=<MoinMoin.Page.Page object at 0x00C0C530>, request=<MoinMoin.request.request_cgi.Request object at 0x0085E2D0>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x00BFEB98>)
- 1360 self.page_name.encode(config.charset), 'exec')
- 1361 cache = caching.CacheEntry(request, self, self.getFormatterName(), scope='item')
- 1362 cache.update(marshal.dumps(code))
- 1363 return code
- 1364
- cache = <MoinMoin.caching.CacheEntry instance at 0x00C58558>
- cache.update = <bound method CacheEntry.update of <MoinMoin.caching.CacheEntry instance at 0x00C58558>>
- marshal = <module 'marshal' (built-in)>
- marshal.dumps = <built-in function dumps>
- code = <code object <module> at 00C57B18, file "HomePage", line 2>
C:\Moin\Lib\site-packages\MoinMoin\caching.py in update (self=<MoinMoin.caching.CacheEntry instance at 0x00C58558>, content='c\x00\x00\x00\x00\x00\x00\x00\x00\t\x00\x00\x00@\x00\x00\x00s\x8a\x04\x00\x00e\x00\x00e\x01\x00i\x02\x00i\x03\x00e\x01\x00i\x02\x00i\x04\x00e\x05\x00\x83\x01...\x001\x01\r\x01\x1f\x01\r\x01\x19\x01\r\x01\x15\x001\x01\r\x01\x1f\x01\r\x01\x19\x01\r\x01\x19\x01\r\x01\t\x01\x1f\x01\r\x01\x19\x01\r\x01\x1f\x01\r\x01\x19\x01\r\x01')
- 241 self.close()
- 242 except (pickle.PicklingError, OSError, IOError, ValueError), err:
- 243 raise CacheError(str(err))
- 244
- 245 def content(self):
- global CacheError = <class 'MoinMoin.caching.CacheError'>
- builtin str = <type 'str'>
- err = WindowsError(183, 'Cannot create a file when that file already exists')
CacheError
[Error 183] Cannot create a file when that file already exists
- args = ('[Error 183] Cannot create a file when that file already exists',)
- message = '[Error 183] Cannot create a file when that file already exists'
System Details
- Date: Wed, 26 Aug 2009 09:15:00 +0000
- Platform: win32 (nt)
- Python: Python 2.5.4 (C:\Python\python.exe)
- MoinMoin: Release 1.8.2 (release)