[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

moinmoin wiki



Hola a todos
Estoy intentando instalar el wiki moin. Todo parece ir bien, me aparece
la página inicial, pero no puedo acceder a las páginas que hay por
debajo.

Uso debian sid

El error en el navegador es NotFound 

%pwd:
/usr/share/moin/wiki

Los permisos del directorio son los siguientes

drwxr-xr-x    9 www-data www-data     4096 2004-02-13 03:32 data
-rwxr-xr-x    1 www-data www-data      982 2004-02-13 03:26 moin.cgi
-rw-r--r--    1 www-data www-data     2560 2004-02-13 03:35
moin_config.py
-rw-r--r--    1 www-data www-data     2029 2004-02-13 03:34
moin_config.pyc

y el apache está configurado así

Alias /wiki/ "/usr/share/moin/htdocs/"
ScriptAlias /wiki "/usr/share/moin/wiki/moin.cgi"

El diagnóstico de moin adjunto:


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

Package "MoinMoin" successfully imported.

Release  1.1
Revision 1.174

Python version 2.3.3 (#2, Jan 13 2004, 00:47:05) 
[GCC 3.3.3 20040110 (prerelease) (Debian)]
Python installed to /usr

PyXML is installed

Python Path:
    /usr/share/moin/wiki
    /usr/lib/python23.zip
    /usr/lib/python2.3
    /usr/lib/python2.3/plat-linux2
    /usr/lib/python2.3/lib-tk
    /usr/lib/python2.3/lib-dynload
    /usr/local/lib/python2.3/site-packages
    /usr/lib/python2.3/site-packages
    /usr/lib/python2.3/site-packages/Numeric
    /usr/lib/python2.3/site-packages/PIL
    /usr/lib/python2.3/site-packages/gtk-2.0

Checking directories...
    data directory tests OK (set to '/usr/share/moin/wiki/data')
    text directory tests OK (set to '/usr/share/moin/wiki/data/text')
    user directory tests OK (set to '/usr/share/moin/wiki/data/user')
    backup directory tests OK (set to '/usr/share/moin/wiki/data/backup')

*** The edit log '/usr/share/moin/wiki/data/editlog' is not writable!
Found an external diff: "diff (GNU diffutils) 2.8.1"

Server Environment:
    DOCUMENT_ROOT = '/var/www'
    GATEWAY_INTERFACE = 'CGI/1.1'
    HTTP_ACCEPT = 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,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_HOST = 'localhost'
    HTTP_KEEP_ALIVE = '300'
    HTTP_USER_AGENT = 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20040130 Firebird/0.7'
    PATH = '/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin'
    QUERY_STRING = 'test'
    REMOTE_ADDR = '127.0.0.1'
    REMOTE_PORT = '34003'
    REQUEST_METHOD = 'GET'
    REQUEST_URI = '/wiki?test'
    SCRIPT_FILENAME = '/usr/share/moin/wiki/moin.cgi'
    SCRIPT_NAME = '/wiki'
    SERVER_ADDR = '127.0.0.1'
    SERVER_ADMIN = 'webmaster@tecknolabs.com'
    SERVER_NAME = 'localhost'
    SERVER_PORT = '80'
    SERVER_PROTOCOL = 'HTTP/1.1'
    SERVER_SIGNATURE = '<ADDRESS>Apache/1.3.29 Server at localhost Port 80</ADDRESS>\n'
    SERVER_SOFTWARE = 'Apache/1.3.29 (Debian GNU/Linux) PHP/4.3.3'
    UNIQUE_ID = 'QCw6esCoAQIAABlIAZo'

Unit Tests:
runTest (MoinMoin._tests.test_Page.existsTestCase) ... ok
runTest (MoinMoin._tests.test_PageEditor.expand_variablesTestCase) ... ok
runTest (MoinMoin._tests.test_marshal.MarshalTestCase) ... ok
runTest (MoinMoin._tests.test_parser_wiki.WikiMacroTestCase) ... FAIL
runTest (MoinMoin._tests.test_parser_wiki.PageLinkTestCase) ... ok
runTest (MoinMoin._tests.test_parser_wiki.InlineMarkupTestCase) ... ok
runTest (MoinMoin._tests.test_user.encodePasswordTestCase) ... ok
runTest (MoinMoin._tests.test_util_mail.decodeSpamSafeEmailTestCase) ... ok
runTest (MoinMoin._tests.test_util_web.makeSelectionTestCase) ... ok
runTest (MoinMoin._tests.test_util_web.makeQueryStringTestCase) ... ok
runTest (MoinMoin._tests.test_widget_html.CompositeElementTestCase) ... ok
runTest (MoinMoin._tests.test_widget_html.RawTestCase) ... ok
runTest (MoinMoin._tests.test_widget_html.EmptyElementTestCase) ... ok
runTest (MoinMoin._tests.test_widget_html.AttrTestCase) ... ok
runTest (MoinMoin._tests.test_widget_html.TextTestCase) ... ok
runTest (MoinMoin._tests.test_wikiacl.parsingTestCase) ... ok
runTest (MoinMoin._tests.test_wikimacro.NormalMacroTestCase) ... ok
runTest (MoinMoin._tests.test_wikimacro.PluginMacroTestCase) ... ERROR
runTest (MoinMoin._tests.test_wikiutil.isTemplatePageTestCase) ... ok
runTest (MoinMoin._tests.test_wikiutil.isFormPageTestCase) ... ok

======================================================================
ERROR: runTest (MoinMoin._tests.test_wikimacro.PluginMacroTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/MoinMoin/_tests/test_wikimacro.py", line 50, in runTest
    self.failUnlessEqual(_make_macro().execute(macro_name, "OK"), "OK")
  File "/usr/lib/python2.3/site-packages/MoinMoin/wikimacro.py", line 110, in execute
    return execute_external_macro(macro_name, "execute", (self, args))
  File "/usr/lib/python2.3/site-packages/MoinMoin/wikimacro.py", line 77, in execute_external_macro
    return execute(*args)
TypeError: 'NoneType' object is not callable

======================================================================
FAIL: runTest (MoinMoin._tests.test_parser_wiki.WikiMacroTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/MoinMoin/_tests/test_parser_wiki.py", line 47, in runTest
    self.failUnless(regex.search(output), msg='Expected %r in: %s' % (pattern, output))
  File "/usr/lib/python2.3/unittest.py", line 278, in failUnless
    if not expr: raise self.failureException, msg
AssertionError: Expected '1#1970-01-02 00:00:00#1' in: 
<p>1#2004-02-13 02:46:19#1 2#2004-02-13 02:46:19#2 3#2003-03-03 03:03:03#3 4#2000-01-01 00:00:00#4 5#2002-02-02#5 

----------------------------------------------------------------------
Ran 20 tests in 0.064s

FAILED (failures=1, errors=1)

Reply to: