[Moin-user] xslt version?

Christopher Brosch c.brosch at mx.uni-saarland.de
Fri Jun 6 10:17:04 EDT 2003


Am Tue, Apr 29, 2003 at 08:09:14PM +0200 schrieb Juergen Hermann:

> >can anyone tell me how to enable the xslt version? On "XsltVersion" I
> >get the error message "XSLT option disabled!".
> 
> HelpOnConfiguration, ctrl-f "xslt"

Thank you. ;)

After enabling the xslt-option in the config-file I get these error messa-
ges: ImportError: No module named xslt ... (the whole page is copy+pasted
below).

Google doesn´t help in this case, when I search for "No module named xslt"
I only get moinmoin-Wikis that have the same problem as mine.

4Suite (4Suite-0.11-2.rpm) and all necessary packages are installed.

TIA,

Christopher

-------------------8<-----------------------------

ImportError: No module named xslt Python 2.2.2
/usr/local/bin/python2.2 

A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are:
      __doc__ = "Import can't find module, or can't find name in module." 
      __getitem__ = <bound method ImportError.__getitem__ of <exceptions.ImportError instance at 0x8257f2c>> 
      __init__ = <bound method ImportError.__init__ of <exceptions.ImportError instance at 0x8257f2c>> 
      __module__ = 'exceptions' 
      __str__ = <bound method ImportError.__str__ of <exceptions.ImportError instance at 0x8257f2c>> 
      args = ('No module named xslt',)

/usr/local/lib/python2.2/site-packages/MoinMoin/parser/xslt.py in format(self=<MoinMoin.parser.xslt.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>) 
   46 
   47         import xml.sax
   48         import xml.xslt
 
       xml = <module 'xml' from '/usr/local/lib/python2.2/xml/__init__.pyc'>, global xslt = undefined
   49         import xml.xslt.Processor
   50 


/usr/local/lib/python2.2/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.Request instance>, msg='', **keywords={'count_hit': 1}) 
  390         else:
  391             # parse the text and send the page content
  392             Parser(body, request).format(self.formatter)
 
       Parser = <class MoinMoin.parser.xslt.Parser>, body = '\n\n...')"/>\n \n\n\n', request = <MoinMoin.request.Request instance>, global format = undefined, self = <MoinMoin.Page.Page instance>, global formatter = undefined
  393 
  394             # check for pending footnotes


/usr/local/lib/python2.2/site-packages/MoinMoin/cgimain.py in run(properties={}) 
  187         else:
  188             try:
  189                 cgitb.handler()
 
       cgitb = <module 'MoinMoin.support.cgitb' from '/usr/loca...hon2.2/site-packages/MoinMoin/support/cgitb.pyc'>, handler = undefined
  190             except:
  191                 cgi.print_exception(*saved_exc)
-------8<---------------




More information about the Moin-user mailing list