[Moin-user] Moin test with 2 fails: testBasicPackageThings and other related.

Eduardo Mercovich eduardo.mercovich at gmail.com
Mon Sep 18 13:04:26 EDT 2006


Hello everybody.

I have just installed Moin 1.5.5a with Python 2.4.3 (both fairly new)
in a DreamHost server. After some permission tweaking, everything
seems fine.

However, when running moin.cgi?action=test, I have 2 errors. Here is
the test output. Any idea what could they mean?

Thanks a lot...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

MoinMoin Diagnosis
======================

Release 1.5.5a
Revision release
Python version 2.4.3 (#1, Sep 15 2006, 13:32:02)
[GCC 3.3.5 (Debian 1:3.3.5-13)]
Python installed to /home/edumerco/apps
PyXML is NOT installed
Python Path:
   /home/edumerco/simplementewiki.org/cgi-bin
   /home/edumerco/wikifarm/simplementewiki
   /home/edumerco/apps/lib/python2.4/site-packages
   /home/edumerco/apps/lib/python2.4
   /home/.option/edumerco/simplementewiki.org/cgi-bin
   /home/edumerco/apps/lib/python24.zip
   /home/edumerco/apps/lib/python2.4
   /home/edumerco/apps/lib/python2.4/plat-linux2
   /home/edumerco/apps/lib/python2.4/lib-tk
   /home/edumerco/apps/lib/python2.4/lib-dynload
   /home/edumerco/apps/lib/python2.4/site-packages
Checking directories...
    data directory tests OK (set to
'/home/edumerco/wikifarm/simplementewiki/data')
    user directory tests OK (set to
'/home/edumerco/wikifarm/simplementewiki/data/user')

Server Environment:
    ONLY AVAILABLE FOR LOCAL REQUESTS ON THIS HOST!

Unit Tests:
error: access error like a dict ... ok
error: create with encoded string ... ok
error: create with any object ... ok
error: create with unicode ... ok
testSyntaxReference (MoinMoin._tests.test_formatter.FormatterTestCase)
... Formatting using <class MoinMoin.formatter.dom_xml.Formatter at
0x40708e9c>
ERROR
new locking: NoLockingForReading tests if files still work when
filename is target of a rename ... ok
testQuoting (MoinMoin._tests.test_packages.QuotingTestCase) ... ok
testBasicPackageThings
(MoinMoin._tests.test_packages.UnsafePackageTestcase) ... ERROR
Page: page.exists() finds existing pages only ... ok
PageEditor: expand @USERNAME@ CamelCase ... ok
PageEditor: expand @USERNAME@ extended name - enabled ... ok
PageEditor: expand @MAILTO@ ... ok
PageEditor: expand user variables ... ok
PageEditor: expand general variables ... ok
pysupport: import existing wiki plugin ... ok
pysupport: import name from existing module ... ok
pysupport: import nonexistent attritbue raises AttributeError ... ok
pysupport: import nonexistent module raises ImportError ... ok
pysupport: import nonexistent wiki plugin fail ... ok
request: normalize pagename: restrict groups to alpha numeric Unicode ... ok
request: httpDate default rfc1123 ... ok
request: httpDate rfc850 ... 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
search: quoting bug - unquoted terms ... ok
search: quoting bug - quoted terms ... ok
user: encode ascii password ... ok
user: encode unicode password ... ok
user: isValidName: reject group names ... ok
user: isValidName: reject unicode non alpha numeric characters ... ok
user: isValidName: accept names in any language, with spaces ... ok
user: isValidName: reject leading, trailing or multiple whitespace ... ok
user: login with ascii password ... ok
user: login with non-ascii password in pre 1.3 user file ... ok
user: login replace old non-ascii password in pre 1.3 user file ... ok
user: login with non-ascii password ... ok
util.lock: ExclusiveLock: acquire ... ok
util.lock: ExclusiveLock: acquire after timeout ... ok
util.lock: os.stat().mtime consistency with time.time() ... ok
util.lock: ExclusiveLock: lock is exclusive ... ok
util.lock: ExclusiveLock: exists ... ok
util.lock: ExclusiveLock: expire ... ok
util.lock: ExclusiveLock: isExpired ... ok
util.lock: ExclusiveLock: isLocked ... ok
util.lock: ExclusiveLock: release ... ok
util.lock: ExclusiveLock: raise ValueError for timeout < 2.0 ... ok
util.mail: encode address: 'Phrase <local at domain>' ... ok
util.mail: encode Uncode address: 'ויקי <local at domain>' ... ok
util.mail: encode address with empty address: 'Phrase <>' ... ok
util.mail: encode address with empty phrase: '<local at domain>' ... ok
util.mail: encode invalid address 'Phrase <blah' ... ok
util.mail: encode simple address: local at domain ... ok
util.mail: decoding spam safe mail ... 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
util.web: creating html select with no selection ... ok
util.web: creating html select with non existing selection ... ok
util.web: creating html select with selected item ... 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 dict from keys and values in text ... ok
wikidict: names in SystemPagesGroup should be in request.dicts ... ok
wikidicts: initFromText: CamelCase links ... ok
wikidicts: initFromText: extended link ... ok
wikidicts: initFromText: extended names ... ok
wikidicts: initFromText: ignore anything but first level list itmes ... ok
wikidicts: initFromText: ignore non first level items ... ok
wikidicts: initFromText: strip whitespace around items ... ok
wikimacro: trivial macro works ... ok
wikiutil: good system page 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

======================================================================
ERROR: testSyntaxReference (MoinMoin._tests.test_formatter.FormatterTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/_tests/test_formatter.py",
line 31, in testSyntaxReference
    self.formatPage("SyntaxReference", formatter)
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/_tests/test_formatter.py",
line 45, in formatPage
    return self.request.redirectedOutput(page.send_page, self.request)
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/request.py",
line 739, in redirectedOutput
    function(*args, **kw)
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/Page.py",
line 1235, in send_page
    start_line=pi_lines)
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/Page.py",
line 1314, in send_page_content
    self.format(parser)
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/Page.py",
line 1335, in format
    parser.format(self.formatter)
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/parser/wiki.py",
line 1069, in format
    self.request.write(self._indent_to(indlen, indtype, numtype, numstart))
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/parser/wiki.py",
line 553, in _indent_to
    close.append(self.formatter.paragraph(0))
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/formatter/dom_xml.py",
line 299, in paragraph
    return self._set_tag('p', on)
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/formatter/dom_xml.py",
line 159, in _set_tag
    raise ValueError, "closing of <%s> expected, but <%s> closed" %
(last_tag, tag)
ValueError: closing of <li> expected, but <p> closed

======================================================================
ERROR: testBasicPackageThings
(MoinMoin._tests.test_packages.UnsafePackageTestcase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/edumerco/apps/lib/python2.4/site-packages/MoinMoin/_tests/test_packages.py",
line 54, in setUp
    raise TestSkipped('This test needs to be run using the test wiki.')
TestSkipped: This test needs to be run using the test wiki.

----------------------------------------------------------------------
Ran 94 tests in 7.809s

FAILED (errors=2)

-- 
Eduardo Mercovich
Buenos Aires - Argentina.


More information about the Moin-user mailing list