[Moin-user] Pyton error while performing my first edit
Mark Levison
levisonmark at hotmail.com
Wed Feb 26 08:32:10 EST 2003
I just installed MoinMoin on IIS Server as per the instructions at
http://twistedmatrix.com/users/jh.twistd/moin/moin.cgi/MoinMoin/InstallDocs
I attempted to edit my Front Page and get this error OSError: [Errno 13]
(Permission denied Python 2.2.2).
My machine:
Windows XP (fully patched)
IIS version 5.1
runs ASP .NET 1.1 (although I removed all asp associations from my wiki
directories).
Does anyone have any idea what happened?
Cheers
Mark Levison
OSError: [Errno 13] Permission denied Python 2.2.2
C:\Python22\python.exe
A problem occurred while running a Python script. Here is the sequence of
function calls leading up to the error, with the most recent (innermost)
call first. The exception attributes are:
__doc__ = 'OS system call failed.'
__getitem__ = <bound method OSError.__getitem__ of <exceptions.OSError
instance at 0x0071B578>>
__init__ = <bound method OSError.__init__ of <exceptions.OSError
instance at 0x0071B578>>
__module__ = 'exceptions'
__str__ = <bound method OSError.__str__ of <exceptions.OSError
instance at 0x0071B578>>
args = (13, 'Permission denied')
errno = 13
filename = None
strerror = 'Permission denied'
C:\Moin\Lib\site-packages\MoinMoin\PageEditor.py in
_write_file(self=<MoinMoin.PageEditor.PageEditor instance at 0x0071B5D0>,
text='#pragma section-numbers off\n\nDarwin Wiki is t... search or browse
the database in various ways\n')
360 and not is_deprecated:
361 os.rename(page_filename, os.path.join(config.backup_dir,
362 wikiutil.quoteFilename(self.page_name) + '.' +
str(os.path.getmtime(page_filename))))
global wikiutil = <module 'MoinMoin.wikiutil' from
'C:\Moin\Lib\site-packages\MoinMoin\wikiutil.pyc'>, global quoteFilename =
undefined, self = <MoinMoin.PageEditor.PageEditor instance at 0x0071B5D0>,
global page_name = undefined, global str = undefined, global os = <module
'os' from 'C:\Python22\lib\os.pyc'>, global path = undefined, global
getmtime = undefined, page_filename = 'data\\text\\FrontPage'
363 else:
364 if os.name == 'nt':
C:\Moin\Lib\site-packages\MoinMoin\PageEditor.py in
save_text(self=<MoinMoin.PageEditor.PageEditor instance at 0x0071B5D0>,
request=<MoinMoin.request.Request instance at 0x00696EC8>, newtext='#pragma
section-numbers off\n\nDarwin Wiki is t... search or browse the database in
various ways\n', datestamp='1015299366', **kw={'comment': '', 'notify': 0,
'stripspaces': 0})
429
430 # write the page file
431 mtime = self._write_file(newtext)
mtime = undefined, self = <MoinMoin.PageEditor.PageEditor instance at
0x0071B5D0>, global _write_file = undefined, newtext = '#pragma
section-numbers off\n\nDarwin Wiki is t... search or browse the database in
various ways\n'
432
433 # write the editlog entry
C:\Moin\Lib\site-packages\MoinMoin\wikiaction.py in
do_savepage(pagename='FrontPage', request=<MoinMoin.request.Request instance
at 0x00696EC8>)
437 else:
438 savemsg = pg.save_text(request, savetext, datestamp,
439 stripspaces=rstrip, notify=notify, comment=comment)
global stripspaces = undefined, rstrip = 0, notify = 0, comment = ''
440 pg.send_page(request, msg=savemsg)
441
C:\Moin\Lib\site-packages\MoinMoin\cgimain.py in run(properties={})
233 else:
234 try:
235 cgitb.handler()
cgitb = <module 'MoinMoin.support.cgitb' from
'C:\Moin\Lib\site-packages\MoinMoin\support\cgitb.pyc'>, handler = <function
do_savepage at 0x0066C600>
236 except:
237 apply(cgi.print_exception, saved_exc)
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
More information about the Moin-user
mailing list