[Moin-user] new user - installation problems (with long test output)

Ulf Jaenicke-Rößler ujr at freenet.de
Mon Jul 31 06:48:23 EDT 2006


Hi,

I think I followed the installation procedure to the point, however there
are two problems.

I have a Wiki instance called iSwiki - located below /var.
Python (2.4.3) and MoinMoin (1.5.4) are located below /usr/local.

I'm nearly done with the installation and I am about to test.

The first problem is a failure during action=test:

http://192.168.100.10/iSwiki?action=test

yields (I include the complete output for convenience - hope that's okay)

---
MoinMoin Diagnosis
======================

Release 1.5.4
Revision release
Python version 2.4.3 (#1, Jul 31 2006, 10:27:14) 
[GCC 2.95.4 20011002 (Debian prerelease)]
Python installed to /usr/local
PyXML is NOT installed
Python Path:
   ..
   /var/iSwiki/cgi-bin
   /usr/local/lib/python24.zip
   /usr/local/lib/python2.4
   /usr/local/lib/python2.4/plat-linux2
   /usr/local/lib/python2.4/lib-tk
   /usr/local/lib/python2.4/lib-dynload
   /usr/local/lib/python2.4/site-packages
Checking directories...
    data directory tests OK (set to '/var/iSwiki/data')
    user directory tests OK (set to '/var/iSwiki/data/user')
*** The log '/var/iSwiki/data/event-log' is not writable!

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 0x4049dadc>
ERROR
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: getPageNameFromQueryString: ascii ... ok
request: getPageNameFromQueryString: non ascii ... ok
request: getPageNameFromQueryString: under_score ... 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 "/usr/local/lib/python2.4/site-packages/MoinMoin/_tests/test_formatter.py", line 31, in testSyntaxReference
    self.formatPage("SyntaxReference", formatter)
  File "/usr/local/lib/python2.4/site-packages/MoinMoin/_tests/test_formatter.py", line 45, in formatPage
    return self.request.redirectedOutput(page.send_page, self.request)
  File "/usr/local/lib/python2.4/site-packages/MoinMoin/request.py", line 703, in redirectedOutput
    function(*args, **kw)
  File "/usr/local/lib/python2.4/site-packages/MoinMoin/Page.py", line 1236, in send_page
    start_line=pi_lines)
  File "/usr/local/lib/python2.4/site-packages/MoinMoin/Page.py", line 1315, in send_page_content
    self.format(parser)
  File "/usr/local/lib/python2.4/site-packages/MoinMoin/Page.py", line 1332, in format
    parser.format(self.formatter)
  File "/usr/local/lib/python2.4/site-packages/MoinMoin/parser/wiki.py", line 1067, in format
    self.request.write(self._indent_to(indlen, indtype, numtype, numstart))
  File "/usr/local/lib/python2.4/site-packages/MoinMoin/parser/wiki.py", line 553, in _indent_to
    close.append(self.formatter.paragraph(0))
  File "/usr/local/lib/python2.4/site-packages/MoinMoin/formatter/dom_xml.py", line 299, in paragraph
    return self._set_tag('p', on)
  File "/usr/local/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 "/usr/local/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 96 tests in 8.748s

FAILED (errors=2)
---

What about these errors? Critical, can be ignored, ...?

BTW, it takes really long to get the page - 8.7s. Is this normal?
Furthermore, I get the expected wiki page with http://192.168.100.10/iSwiki -
this too lasts very long.


The second problem is a call to
http://192.168.100.10/wiki

This yields:
---
Forbidden
You don't have permission to access /wiki/moin.cgi/ on this server.
---

A look into apaches error log shows:
[Mon Jul 31 12:00:50 2006] [error] [client 192.168.100.104]
   Options ExecCGI is off in this directory: /usr/local/share/moin/htdocs/moin.cgi

(note the wrong path of moin.cgi - it looks below $SHARE - not below /var/iSwiki -
should index.html in /usr/local/share/moin/htdocs be edited?)


One last note - the installation tutorial is quite fine. One hint that could be added
to the pythontest.cgi comments is to check the $PATH that the apache server is running
with - in my case /usr/local/bin wasn't included in the PATH= line in /etc/init.d/apache.

Best regards
 Ulf




More information about the Moin-user mailing list