[Moin-user] moin and xapian edit page->save; internal error

Dmitrii Miliaev dimazest at gmail.com
Tue Nov 3 08:17:38 EST 2009


Hi,

On Tue, Nov 3, 2009 at 5:04 AM, Peter Baartz <baartzy at gmail.com> wrote:
> Hi,
> I have  moinmoin and Xapian configured, and it is  mostly* working.
>
> unfortunately whenever i save changes to a page (only happens when
> xapian search is enabled), i see the following behaviour:
>  * the changes to the page  are successfully saved.
>  * the saved changes  are automatically updated in the Xapian index.
>  * an "internal error"  message is displayed immediately after the
> save(right down the bottom of the page ...see attached screenshot) .
>
> the error message is as follows:
> {{{
> OK
>
> The server encountered an internal error or misconfiguration and was
> unable to complete your request.
>
> Please contact the server administrator, wikiadm at localhost and inform
> them of the time the error occurred, and anything you might have done
> that may have caused the error.
>
> More information about this error may be available in the server error log.
> Apache/2.2.3 (Red Hat) Server at sbtwiki Port 80
> }}}
>
>
> the corresponding  Apache error_log show the following:
> {{{
> [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler
> MoinMoin.request.request_modpython::Request.run: Traceback (most
> recent call last):, referer: http://sbtwiki/test2?action=edit
> [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler
> MoinMoin.request.request_modpython::Request.run:   File
> "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 301,
> in HandlerDispatch\n    assert (type(result) == type(int())), \\,
> referer: http://sbtwiki/test2?action=edit
> [Tue Nov 03 12:58:12 2009] [error] [client xxx] PythonHandler
> MoinMoin.request.request_modpython::Request.run: AssertionError:
> Handler 'MoinMoin.request.request_modpython::Request.run' returned
> invalid return code., referer: http://sbtwiki/test2?action=edi
> }}}
>
>
>
> is there anything i can do to fix this?
>

Can you run py.test MoinMoin/search/ just to make sure that all
search-related tests pass on your setup?
>
>
>  i have the following software versions installed :
> $ rpm -qa | egrep -i 'moin|xapian|httpd-2|^python-2.'
> moin-1.8.5-2
> xapian-core-libs-1.0.15-1
> httpd-2.2.3-22.el5_3.2
> python-2.4.3-24.el5
> xapian-bindings-python-1.0.15-1
> xapian-core-devel-1.0.15-1
> xapian-core-1.0.15-1
> $
>
>
> regards,
> Peter
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Moin-user mailing list
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user
>
>

--
Dima




More information about the Moin-user mailing list