[Moin-user] Edit Problem Moinmoin 1.1 (not a joke)

Fred Fontis fontis at gmx.net
Mon Mar 7 14:51:11 EST 2011


Hi,

we use moinmoin-wiki Version 1.1 since many years and it worked fine.

Last week our (stoneold) server crashes and i install a Debian 6 64bit 
Server with apache2. Also i install moinmoin1.1 as it described in 
INSTALL.html/Unix and all went fine.

I restore my own wiki's from my (uncorrupted!) Backup and make the 
relevant entries in httpd.conf. My own wikis starts up fine...

But the first time we want to edit a page, this message appears:

"Sorry, someone else saved the page while you edited it.
Please do the following: Use the back button of your browser, and cut&paste
your changes from there. Then go forward to here, and click EditText again.
Now re-add your changes to the current page contents.
Do not just replace
the content editbox with your version of the page, because that would
delete the changes of the other person, which is excessively rude!"

I try to delete the file editlog and last-edited, gave permissions to 
everything and so on...nothing worked. Strange was, that this message 
also appears on the wiki testsite under /usr/local/share/moin/mywiki 
that i created like it was described in INSTALL.html...

I search for that string in the Python-Moin files and found in file 
PageEditor.py

         elif datestamp != '0' and datestamp != 
str(os.path.getmtime(self._text_filename())):
             msg = self._("""<b>Sorry, someone else saved the page while 
you edited it.
<p>Please do the following: Use the back button of your browser, and 
cut&paste
your changes from there. Then go forward to here, and click EditText again.
Now re-add your changes to the current page contents.
<p><em>Do not just replace
the content editbox with your version of the page, because that would
delete the changes of the other person, which is excessively rude!</em></b>
""")

If i comment this snipet i could save the pages!

Now my question to the developers: is this a valid workaround? Are traps 
there? Only 2-3 fellows in our company edit pages, so conflicts are not 
probably...

What else could i do instaed of this hack?

Any idea?

Best Regards Fontis





More information about the Moin-user mailing list