Description

My usage pattern: I use MoinMoin from different operating systems within the same wikidir.

After I switch the OS from Windows to Linux and back, I try to save a modified page. On save, MoinMoin gives either HTTP 500 or another "Internal error" page.

Steps to reproduce

  1. Reboot to Linux (I use Ubuntu Precise), run MoinMoin wikiserver.py, edit some MoinMoin page, save the page;

  2. Reboot to Windows 7.
  3. Edit the same page, save it.
  4. MoinMoin doesn't save the page and gives an either error saving page or HTTP 500 page (I don't remember the type of error page MoinMoin gives).

  5. Go to the page data dir, backup the nested "cache" dir at some another location, then delete the "cache" dir with all of its contents.
  6. Try to save the same page again.
  7. Now MoinMoin saves it OK.

Workaround

cache
  1. (see above)
  2. Search area: From the current folder
  3. Check "Case sensitive" and "Search for folders"
  4. Press "Find" button (or just Enter)
  5. Choose "Panel" button with arrows;
  6. Press "Panel" button with Enter keyboard key;
  7. Choose all panelized "cache" folders with Insert key (press it and wait for all files to be selected, then release the pressed Insert key);
  8. Either move these folders to a backup location (F6 key) or just delete them (F8 or ShiftDelete).

  9. Enjoy.

Example

Component selection

Details

MoinMoin Version

1.9.4

OS and Version

Windows 7 and Linux Ubuntu Precise

Python Version

2.7.3 x86 from python.org

Server Setup

wikiserver.py (local server)

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Russian in userprefs; Russian and English in practice

Discussion

This is not a Bug

After a change of the OS aka python installation you have to clean all cache files, see HelpOnMoinCommand (moin ... maint cleancache). In the page dirs are byte compiled cache files stored. They won't load on a different compiled python installation. The same problem you describe also happens on the same architecture with different python versions.

If you want feel free to add an HowTo out of this.

Q: is it the same 2.7.3 python under ubuntu AND windows?

Plan


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/OperatingSystemsSwitchBug (last edited 2012-07-22 12:59:54 by ThomasWaldmann)