WikiEngine by Martin Pool, in Python

basis for MoinMoin and PikiePikie


This was the first WikiEngine I ran myself, back in late 1999, on an MsWindows Lap Top. Then Wiki On Mac, Wiki On Zaurus, Wiki On N810, then back to Wiki On Mac (all as my Private Wiki).

On some fresh installs (esp Wiki On Mac), initial install starts returning raw (unrendered) HTML to the browser. Old notes are at Django For Simplest Thing. Now trying to fix Sept07'2014 on old IMac.

  • tried changing default-opener of piki.py to Idle - no change
  • tried changing hash-bang to #!/usr/bin/python (based on which python) - no change
  • check output in Mac Chrome network tab, it's returning header of text/plain despite the code having text/html in it
  • change hash-bang in pcgi.py to #!/usr/bin/python (based on which python) - no change
  • try
curl --head <http://localhost:8008/piki.py?RecentChanges>
HTTP/1.0 200 OK
Server: SimpleHTTP/0.6 Python/2.6.1
Date: Mon, 08 Sep 2014 14:19:37 GMT
Content-type: text/plain
Content-Length: 18199
Last-Modified: Mon, 08 Sep 2014 13:58:40 GMT
  • in pcgi.py changed to handler_class.cgi_directories = [''] - that did it

Edited:    |       |    Search Twitter for discussion