You are viewing a plain text version of this content. The canonical link for it is here.
Posted to infrastructure-issues@apache.org by "#asfinfra IRC Bot (JIRA)" <ji...@apache.org> on 2009/10/17 19:22:31 UTC

[jira] Closed: (INFRA-2060) Error when saving wiki page

     [ https://issues.apache.org/jira/browse/INFRA-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

#asfinfra IRC Bot closed INFRA-2060.
------------------------------------

    Resolution: Invalid

> Error when saving wiki page
> ---------------------------
>
>                 Key: INFRA-2060
>                 URL: https://issues.apache.org/jira/browse/INFRA-2060
>             Project: Infrastructure
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: MoinMoin
>            Reporter: Will Glass-Husain
>
> I tried to update page "BoardReports" in the Velocity wiki and got an error. 
> User: WillGlassHusain
> Page: http://wiki.apache.org/velocity/BoardReports#preview
> Oddly, the page showed content from August of 2008 (with a last update date of 8/2008) - I could have sworn I'd updated this after the latest board report in Feb 2009.
> Error (copied from HTML error page).
> OSError[Errno 1] Not owner: '/www/wiki.apache.org/data/velocity/data/pages/BoardReports/revisions/00000012'	Please include this information in your bug reports!:
> Python Python 2.4.4: /usr/bin/python
> SunOS eos.apache.org 5.10 Generic_138888-03 sun4v
> MoinMoin Release 1.3.4 [Revision 1.3.4 release]
> Tue May 19 04:36:57 2009
> A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
>  /www/wiki.apache.org/lib/python2.3/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance at 0xb69b8>)
>   844                     from MoinMoin.wikiaction import getHandler
>   845                     handler = getHandler(self, action)
>   846                     handler(self.page.page_name, self)
>   847 
>   848             # 5. Or redirect to another page
> handler = <function do_savepage at 0x184bb0>, self = <MoinMoin.request.RequestCGI instance at 0xb69b8>, self.page = <MoinMoin.Page.Page instance at 0xd1b20>, self.page.page_name = u'BoardReports'
>  /www/wiki.apache.org/lib/python2.3/site-packages/MoinMoin/wikiaction.py in do_savepage(pagename=u'BoardReports', request=<MoinMoin.request.RequestCGI instance at 0xb69b8>)
>   614         try:
>   615             savemsg = pg.saveText(savetext, rev, trivial=trivial,
>   616                                   comment=comment)
>   617         except pg.EditConflict, msg:
>   618             # Handle conflict and send editor
> comment = u''
>  /www/wiki.apache.org/lib/python2.3/site-packages/MoinMoin/PageEditor.py in saveText(self=<MoinMoin.PageEditor.PageEditor instance at 0x174648>, newtext=u'As part of the Apache Software Foundation we mus...eport-November2009"]\n\n * ["BoardReport-May2009"]\n', rev=11, **kw={'comment': u'', 'trivial': 0})
>   935             
>   936             # write the page file
>   937             mtime_usecs, rev = self._write_file(newtext, action, comment, extra)
>   938             self.clean_acl_cache()
>   939   
> mtime_usecs undefined, rev = 11, self = <MoinMoin.PageEditor.PageEditor instance at 0x174648>, self._write_file = <bound method PageEditor._write_file of <MoinMoin.PageEditor.PageEditor instance at 0x174648>>, newtext = u'As part of the Apache Software Foundation we mus...eport-November2009"]\n\n * ["BoardReport-May2009"]\n', action = 'SAVE', comment = u'', extra = u''
>  /www/wiki.apache.org/lib/python2.3/site-packages/MoinMoin/PageEditor.py in _write_file(self=<MoinMoin.PageEditor.PageEditor instance at 0x174648>, text=u'As part of the Apache Software Foundation we mus...eport-November2009"]\n\n * ["BoardReport-May2009"]\n', action='SAVE', comment=u'', extra=u'')
>   829         f.write(self.encodeTextMimeType(text))
>   830         f.close()
>   831         os.chmod(pagefile, 0666 & config.umask)
>   832         mtime_usecs = wikiutil.timestamp2version(os.path.getmtime(pagefile))
>   833         # set in-memory content
> global os = <module 'os' from '/usr/lib/python2.4/os.py'>, os.chmod = <built-in function chmod>, pagefile = '/www/wiki.apache.org/data/velocity/data/pages/BoardReports/revisions/00000012', global config = <module 'MoinMoin.config' from '/www/wiki.apache...lib/python2.3/site-packages/MoinMoin/config.pyc'>, config.umask = 504
> OSError: [Errno 1] Not owner: '/www/wiki.apache.org/data/velocity/data/pages/BoardReports/revisions/00000012'
>       __doc__ = 'OS system call failed.'
>       __getitem__ = <bound method OSError.__getitem__ of <exceptions.OSError instance at 0x471f30>>
>       __init__ = <bound method OSError.__init__ of <exceptions.OSError instance at 0x471f30>>
>       __module__ = 'exceptions'
>       __str__ = <bound method OSError.__str__ of <exceptions.OSError instance at 0x471f30>>
>       args = (1, 'Not owner')
>       errno = 1
>       filename = '/www/wiki.apache.org/data/velocity/data/pages/BoardReports/revisions/00000012'
>       strerror = 'Not owner' 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.