IOError
[Errno 2] No such file or directory:
'D:\\WWWSrv\\WikiHome\\test\\data\\pages\\TestPage\\attachments\\\xed\x85\x8c\xec\x8a\xa4\xed\x8a\xb8.txt'
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.
D:\WWWSRV\MoinMoin\Lib\site-packages\MoinMoin\request.py
in run
(self=<MoinMoin.request.RequestCGI object>)
- 1135 from MoinMoin.wikiaction import getHandler
- 1136 handler = getHandler(self, action)
- 1137 handler(self.page.page_name, self)
- 1138
- 1139 # 5. Or redirect to another page
- handler
= <function execute>
- self
= <MoinMoin.request.RequestCGI object>
- self.page
= <MoinMoin.Page.Page instance>
- self.page.page_name
= u'TestPage'
D:\WWWSRV\MoinMoin\Lib\site-packages\MoinMoin\action\AttachFile.py
in execute
(pagename=u'TestPage', request=<MoinMoin.request.RequestCGI object>)
- 458 if request.user.may.write(pagename):
- 459 if request.form.has_key('file'):
- 460 do_upload(pagename, request)
- 461 else:
- 462 # This might happen when trying to upload file names
- global
do_upload
= <function do_upload>
- pagename
= u'TestPage'
- request
= <MoinMoin.request.RequestCGI object>
D:\WWWSRV\MoinMoin\Lib\site-packages\MoinMoin\action\AttachFile.py
in do_upload
(pagename=u'TestPage', request=<MoinMoin.request.RequestCGI object>)
- 567 'target': target, 'filename': filename}
- 568 else:
- 569 stream = open(fpath, 'wb')
- 570 try:
- 571 stream.write(filecontent)
- stream undefined
- builtin
open
= <type 'file'>
- fpath
= 'D:\\WWWSrv\\WikiHome\\test\\data\\pages\\TestPage\\attachments\\\xed\x85\x8c\xec\x8a\xa4\xed\x8a\xb8.txt'
IOError
[Errno 2] No such file or directory:
'D:\\WWWSrv\\WikiHome\\test\\data\\pages\\TestPage\\attachments\\\xed\x85\x8c\xec\x8a\xa4\xed\x8a\xb8.txt'
- args = (2, 'No such file or directory')
- errno = 2
- filename = 'D:\\WWWSrv\\WikiHome\\test\\data\\pages\\TestPage\\attachments\\\xed\x85\x8c\xec\x8a\xa4\xed\x8a\xb8.txt'
- strerror = 'No such file or directory'
System Details
- Date: Tue, 30 May 2006 11:56:27 +0000
- Platform: win32 (nt)
- Python: Python 2.4.2 (C:\Python24\python.exe)
- MoinMoin: Release 1.5.3 (release)