[Moin-user] Failed to update MoinMoin from 1.2.3 to 1.3.1 and being disappointed :-(

Ulf Lamping ulf.lamping at web.de
Thu Jan 13 17:52:26 EST 2005


Hi List!

First of all, I'm using MoinMoin for several months and was delighted 
about the simple usage of a wiki, although the installation was a bit 
tricky.

I'm a developer with only very limited knowledge on python.

Today I'm trying for more than 4 hours now to update the wiki and got 
stuck now :-(

I tried to folllow the info from the following (and other pages):

http://moinmoin.wikiwikiweb.de/MoinMoinRelease1.3/README%2emigration
http://moinmoin.wikiwikiweb.de/HelpOnInstalling
http://moinmoin.wikiwikiweb.de/HelpOnUpdating
http://moinmoin.wikiwikiweb.de/MoinMoinRelease1.3/CHANGES

Let me say that the documentation about the update process is a piece of 
crap :-(((

Some examples qouting the migration file: 

"To start, copy your data/ directory to this directory" 
What is this directory?

The migration file doesn't even mention that you have to replace your 
moin.cgi file and maybe other files too (I've found that info somewhere 
in the CHANGES file).



As I've observed by other projects too, developers seem to think it's 
enough to write good programs, but it itsn't. It's also very important 
to write good documentation, as user's have to be able to *use* 
software. And of course, making the program as easy to use as possible 
is always a good idea. Yes, I know that writing documentation isn't fun, 
but it has to be done.

I'm now at a point, where I actually thinking about moving to a 
different wiki software, although I like the MoinMoin wiki engine. But I 
don't want to go through that kind of update process again spending 
hours to update to a new MoinMoin program version. I thought that the 
days of such a script and configuration hell is over.

Currently I'm thinking to go back to the backup of my content, bring up 
the 1.2.3 version back to life, and convert the content to some other 
wiki engine and stop using MoinMoin :-(


Just in case someone is able to help me, here's the output of my apache 
server when accessing the page: http://127.0.0.1/mywiki?action=test

MoinMoin CGI Diagnosis
======================

Release 1.3.1
Revision patch-434
Python version 2.3.4 (#1, Jun 13 2004, 11:21:03) 
[GCC 3.3.1 (cygming special)]
Python installed to /usr
PyXML is NOT installed
Python Path:
   /cygdrive/d/ulfl/etc/Moin/mywiki
   /usr/lib/python23.zip
   /usr/lib/python2.3
   /usr/lib/python2.3/plat-cygwin
   /usr/lib/python2.3/lib-tk
   /usr/lib/python2.3/lib-dynload
   /usr/lib/python2.3/site-packages
Checking directories...
    data directory tests OK (set to '/cygdrive/d/ulfl/etc/Moin/mywiki/D:\ulfl\etc\Moin\mywiki\data')
    user directory tests OK (set to '/cygdrive/d/ulfl/etc/Moin/mywiki/D:\ulfl\etc\Moin\mywiki\data/user')

Server Environment:
    COMSPEC = 'C:\\WINNT\\system32\\cmd.exe'    DOCUMENT_ROOT = 'D:/ulfl/etc/localhost/webpages'    GATEWAY_INTERFACE = 'CGI/1.1'    HOME = '/'    HTTP_ACCEPT = 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1'    HTTP_ACCEPT_CHARSET = 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'    HTTP_ACCEPT_ENCODING = 'gzip,deflate'    HTTP_ACCEPT_LANGUAGE = 'en-us,en;q=0.5'    HTTP_CONNECTION = 'keep-alive'    HTTP_COOKIE = 'MOIN_ID=1097148654.38.14717'    HTTP_HOST = '127.0.0.1'    HTTP_KEEP_ALIVE = '300'    HTTP_USER_AGENT = 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041217'    PATH = '/cygdrive/c/Program Files/Siemens/iMap/bin:/cygdrive/c/Program Files/Perl/bin/:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdrive/c/WINNT/System32/Wbem:/cygdrive/c/Program Files/CatPC/Bin:/cygdrive/c/Program Files/CatPC/Windows/System32:/cygdrive/c/Program Files/CatPC/Windows/System:/cygdrive/c/Program Files/doxygen/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin/tools:"C:/Program Files/Symantec/Norton Ghost 2003/":/cygdrive/c/python22:/usr/bin:/cygdrive/c/docbook/bat:/cygdrive/c/docbook/bin:/cygdrive/c/Program Files/Common Files/GTK/2.0/bin:/cygdrive/c/Program Files/Rational/ClearCase/bin:/cygdrive/c/Program Files/Rational/common:/cygdrive/c/Program Files/OpenJade-1.3/bin:/cygdrive/c/Program Files/Common Files/GIS/Tools:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin/tools'    PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'    QUERY_STRING = 'action=test'    REMOTE_ADDR = '127.0.0.1'    REMOTE_PORT = '3977'    REQUEST_METHOD = 'GET'    REQUEST_URI = '/mywiki?action=test'    SCRIPT_FILENAME = 'D:/ulfl/etc/Moin/mywiki/moin.cgi'    SCRIPT_NAME = '/mywiki'    SERVER_ADDR = '127.0.0.1'    SERVER_ADMIN = 'admin at mob.nbgm.siemens.de'    SERVER_NAME = '127.0.0.1'    SERVER_PORT = '80'    SERVER_PROTOCOL = 'HTTP/1.1'    SERVER_SIGNATURE = '<address>Apache/2.0.52 (Win32) Server at 127.0.0.1 Port 80</address>\n'    SERVER_SOFTWARE = 'Apache/2.0.52 (Win32)'    SYSTEMROOT = 'C:\\WINNT'    TERM = 'cygwin'    WINDIR = 'C:\\WINNT'
Unit Tests:
Page: page.exists() finds existing pages only ... ok
PageEditor: expanding variables ... ok
parser.wiki: DateTime macro ... ok
parser.wiki: ------------ long rule shortened to hr6 ... ok
parser.wiki: --- is no rule ... ok
parser.wiki: ---- is standard rule ... ok
parser.wiki: ----- rules with size ... ok
parser.wiki: TOC links to headings with white space ... ok
parser.wiki: link formating ... FAIL
parser.wiki: ignore white space around heading text ... ok
parser.wiki: empty line separates paragraphs ... ok
parser.wiki: first paragraph should be in <p> ... ok
parser.wiki: create paragraph after block markup ... ok
parser.wiki: close open inline tag when block close ... ok
parser.wiki: escape wiki table  markup in pre ... ok
parser.wiki: escape wiki table  markup in pre with hashbang ... ok
parser.wiki: escape wiki table markup in python code area ... ok
parser.wiki: escape wiki table markup in `tt` ... ok
parser.wiki: escape wiki table markup in {{{tt}}} ... ok
parser.wiki: escape html markup in getText formatted call with link ... FAIL
parser.wiki: escape html markup in getText formatted call ... FAIL
parser.wiki: escape html markup in GetText macro ... ok
parser.wiki: escape html markup in getText non formatted call ... ok
parser.wiki: escape html markup in pre ... ok
parser.wiki: escape html markup in pre with hashbang ... ok
parser.wiki: escape html markup in python code area ... ok
parser.wiki: escape html markup in `tt` ... ok
parser.wiki: escape html markup in {{{tt}}} ... ok
parser.wiki: text formating ... ok
parser.wiki: empty lines before block element ignored ... ok
parser.wiki: paragraph closed before block element ... ok
pysupport: import nonexistant parser from moin ... ok
pysupport: import wiki parser from moin ... ok
pysupport: import nonexistant parser plugin ... ok
pysupport: import test parser plugin ... ok
repair_language: should replace known language ... ok
repair_language: return crlf line endings ... ok
repair_language: should not replace in page body ... ok
repair_language: should not replace unknown langauge ... ok
request: normalize pagename: restrict groups to alpha numeric Unicode ... ok
request: normalize pagename: normalize slashes ... ok
request: normalize pagename: normalize whitespace ... ok
request: normalize pagename: remove invalid unicode chars ... ok
request: normalize pagename: underscore convert to spaces and normalized ... ok
user: isValidName: reject group names ... ok
user: encode password ... ok
user: isValidName: reject unicode non alpha numeric characters ... ok
user: isValidName: accept names in any language, with spaces ... ok
user: isValidName: reject leading, traling or multiple whitespace ... ok
util.mail: decoding spam safe mail ... ok
util.web: creating html select with non existing selection ... ok
util.web: creating html select with selected item ... ok
util.web: make query sting from argument ... ok
util.web: make query sting from argument and keywords ... ok
util.web: make query sting from keywords ... ok
widget.html: append to and extend composite element ... ok
widget.html: creating html widgets ... ok
widegt.html: invalid attributes raises exception ... ok
wikiacl: allow extra white space between entries ... ok
wikiacl: bad guy may not allowed anything ... ok
wikiacl: default meta acl ... ok
wikiacl: empty acl string raise StopIteration ... ok
wikiacl: empty names with rights ... ok
wikiacl: empty rights ... ok
wikiacl: ignore rights not in acl_rights_valid ... ok
wikiacl: ignore invalid acl ... ok
wikiacl: mixed wiki names and names with spaces ... ok
wikiacl: acl modifiers ... ok
wikiacl: multiple entries ... ok
wikiacl: multiple entries with spaces ... ok
wikiacl: multiple names with spaces ... ok
wikiacl: single name with spaces ... ok
wikiacl: single wiki name, single right ... ok
wikiacl: white space acl string raise StopIteration ... ok
wikiacl: applying acl by user name ... ok
wikidicts: create group from first level list items ... ok
wikidict: names in SystemPagesGroup should be in request.dicts ... ok
wikidicts: create dict from keys and values in text ... ok
wikimacro: trivial macro works ... ok
wikiutil: good system page names accepted, bad rejected ... ok
wikiutil: good form names accepted, bad rejected ... ok
wikiutil: good template names accepted, bad rejected ... ok
wikixml.marshal: create new marshal ... ok
wikixml.marshal: setting marshal property ... ok

======================================================================
FAIL: parser.wiki: link formating
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/MoinMoin/_tests/test_parser_wiki.py", line 211, in testLinkFormating
    '"%(expected)s" not in "%(result)s"' % locals())
  File "/tmp/python.5248/usr/lib/python2.3/unittest.py", line 278, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: "/">../</a>" not in "<a class="nonexistent" href="/mywiki/">?</a>../"

======================================================================
FAIL: parser.wiki: escape html markup in getText formatted call with link
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/MoinMoin/_tests/test_parser_wiki.py", line 302, in testEscapeInGetTextFormatedLink
    self._test(test)
  File "/usr/lib/python2.3/site-packages/MoinMoin/_tests/test_parser_wiki.py", line 314, in _test
    'Expected "%(expected)s" but got "%(result)s"' % locals())
  File "/tmp/python.5248/usr/lib/python2.3/unittest.py", line 278, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: Expected "<escape>" but got "<p><a class="nonexistent" href="/mywiki/%3cescape%3e">?</a>&lt;escape&gt; </p>
"

======================================================================
FAIL: parser.wiki: escape html markup in getText formatted call
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/MoinMoin/_tests/test_parser_wiki.py", line 296, in testEscapeInGetTextFormatted
    self._test(test)
  File "/usr/lib/python2.3/site-packages/MoinMoin/_tests/test_parser_wiki.py", line 314, in _test
    'Expected "%(expected)s" but got "%(result)s"' % locals())
  File "/tmp/python.5248/usr/lib/python2.3/unittest.py", line 278, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: Expected "<escape>" but got "<p>&lt;escape&gt; </p>
"

----------------------------------------------------------------------
Ran 84 tests in 1.262s

FAILED (failures=3)







More information about the Moin-user mailing list