[Moin-user] [Error] No module named filters

R.Bauer rb.proj at gmail.com
Thu Aug 25 06:43:28 EDT 2011


Am 25.08.2011 11:14, schrieb Xarkam xarkam:
> Hi,
> Today, i have one error on my moinmoin:
> 
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] mod_wsgi
> (pid=3049): Exception occurred processing WSGI script
> '/home/sites/wiki/moin.wsgi'.
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] Traceback (most
> recent call last):
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/support/werkzeug/utils.py", line 248,
> in __call__
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     return
> self.app(environ, start_response)
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 282, in __call__
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     response =
> run(context)
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 88, in run
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     response =
> dispatch(request, context, action_name)
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 136, in dispatch
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     response =
> handle_action(context, pagename, action_name)
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 195, in
> handle_action
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]
> handler(context.page.page_name, context)
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/action/__init__.py", line 268, in
> do_show
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]
> content_only=content_only,
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1198, in send_page
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]
> start_line=pi['lines'])
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1292, in
> send_page_content
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]
> self.execute(request, parser, code)
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/Page.py", line 1323, in execute
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     exec code
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "AideDeMiseEnForme", line 172, in <module>
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/formatter/__init__.py", line 348, in
> parser
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     p.format(self)
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/parser/highlight.py", line 174, in
> format
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     lexer =
> pygments.lexers.get_lexer_by_name(self.syntax)
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/__init__.py",
> line 74, in get_lexer_by_name
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]
> _load_lexers(module_name)
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/__init__.py",
> line 32, in _load_lexers
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     mod =
> __import__(module_name, None, None, ['__all__'])
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexers/agile.py",
> line 14, in <module>
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     from
> pygments.lexer import Lexer, RegexLexer, ExtendedRegexLexer, \\
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]   File
> "/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/lexer.py", line 14,
> in <module>
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82]     from
> pygments.filters import get_filter_by_name
> [Thu Aug 25 11:06:37 2011] [error] [client 192.168.1.82] ImportError: No
> module named filters
> 
> It's a python module error or moinmoin file corrupted ?
> 

check permissions of
/usr/lib/pymodules/python2.6/MoinMoin/support/pygments/filters

and files below it

I guess your web server user is not allowed to read it

cheers
Reimar







More information about the Moin-user mailing list