Calyx,
The answer is in the line
IOError: [Errno 13] Permission denied: '/usr/share/moin/data/edit-log'
Moin does not have write permission to this file. I can't say why the
permissions on this file were changed.
To fix this, give write permission to the effective user of the Moin
process. This may be a matter of adding group write permission or of
changing the ownership of the file to the Moin user, depending on your
situation.
- George
Calyx wrote:
> Hi list members,
>
> When I edit a wiki page and click "show preview" all seems to work as usual.
> However when I then want to save the chages, this message appears. Once
> this message appears, I can only log out of moinmoin.
> Although the changes have been saved, I wonder if anyone can suggest a
> solution so I dont have to log out and log back in for too much longer.
> I am not sure why I would have lost permission to edit and how I restore it.
>
>
> Traceback (most recent call last):
> File "/var/lib/python-support/python2.4/MoinMoin/request.py", line 1137, in
> run
> handler(self.page.page_name, self)
> File "/var/lib/python-support/python2.4/MoinMoin/wikiaction.py", line 638,
> in do_edit
> savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment)
> File "/var/lib/python-support/python2.4/MoinMoin/PageEditor.py", line 918,
> in saveText
> mtime_usecs, rev = self._write_file(newtext, action, comment, extra)
> File "/var/lib/python-support/python2.4/MoinMoin/PageEditor.py", line 810,
> in _write_file
> glog.add(self.request, mtime_usecs, rev, action, self.page_name, None,
> extra, comment)
> File "/var/lib/python-support/python2.4/MoinMoin/logfile/editlog.py", line
> 176, in add
> self._add(line)
> File "/var/lib/python-support/python2.4/MoinMoin/logfile/logfile.py", line
> 411, in _add
> self._output.write(line)
> File "/var/lib/python-support/python2.4/MoinMoin/logfile/logfile.py", line
> 139, in __getattr__
> self._output = codecs.open(self.__filename, 'a', config.charset)
> File "codecs.py", line 666, in open
> file = __builtin__.open(filename, mode, buffering)
> IOError: [Errno 13] Permission denied: '/usr/share/moin/data/edit-log'
>
> Additionally cgitb raised this exception:
> Traceback (most recent call last):
> File "/var/lib/python-support/python2.4/MoinMoin/failure.py", line 143, in
> handle
> handler.handle()
> File "/var/lib/python-support/python2.4/MoinMoin/support/cgitb.py", line
> 566, in handle
> doc = view.format(formatter, self.context)
> File "/var/lib/python-support/python2.4/MoinMoin/support/cgitb.py", line
> 343, in format
> return formatter.section(self.formatContent(), {'class': 'cgitb'})
> File "/var/lib/python-support/python2.4/MoinMoin/failure.py", line 32, in
> formatContent
> content = (
> File "/var/lib/python-support/python2.4/MoinMoin/failure.py", line 82, in
> formatDebugInfo
> info = [self.debugInfoHideScript(),
> File "/var/lib/python-support/python2.4/MoinMoin/failure.py", line 96, in
> formatTraceback
> return self.formatAllTracebacks(self.formatOneTraceback)
> File "/var/lib/python-support/python2.4/MoinMoin/failure.py", line 108, in
> formatAllTracebacks
> tracebacks.append(formatFuction((type, value, tb)))
> File "/var/lib/python-support/python2.4/MoinMoin/support/cgitb.py", line
> 421, in formatOneTraceback
> output = [self.formatter.subTitle('Traceback'),
> File "/var/lib/python-support/python2.4/MoinMoin/support/cgitb.py", line
> 434, in tracebackFrames
> frames.append(frame.format(self.formatter))
> File "/var/lib/python-support/python2.4/MoinMoin/support/cgitb.py", line
> 197, in format
> vars, highlight = self.scan()
> File "/var/lib/python-support/python2.4/MoinMoin/support/cgitb.py", line
> 286, in scan
> vars = self.scanVariables(reader)
> File "/var/lib/python-support/python2.4/MoinMoin/support/cgitb.py", line
> 298, in scanVariables
> value = getattr(parent, token, __UNDEF__)
> File "/var/lib/python-support/python2.4/MoinMoin/logfile/logfile.py", line
> 139, in __getattr__
> self._output = codecs.open(self.__filename, 'a', config.charset)
> File "codecs.py", line 666, in open
> file = __builtin__.open(filename, mode, buffering)
> IOError: [Errno 13] Permission denied: '/usr/share/moin/data/edit-log'
>
>
> Many thanks for any suggestions.
>
> Irma
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Moin-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/moin-user
--
----------------------------------------------------------------------
* George Dinwiddie * http://blog.gdinwiddie.com
Software Development http://www.idiacomputing.com
Consultant and Coach http://www.agilemaryland.org
----------------------------------------------------------------------
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user