Description

Looks like I have a hidden dependency on my system to ElementTree for python 2.4 if I configure.

from MoinMoin.auth.openidrp import OpenIDAuth
auth = [OpenIDAuth(), ]

  File "/usr/lib/python2.4/site-packages/openid/consumer/consumer.py", line 197, in ?
    from openid.consumer.discover import discover, OpenIDServiceEndpoint, \
  File "/usr/lib/python2.4/site-packages/openid/consumer/discover.py", line 21, in ?
    from openid.yadis.etxrd import nsTag, XRDSError, XRD_NS_2_0
  File "/usr/lib/python2.4/site-packages/openid/yadis/etxrd.py", line 28, in ?
    ElementTree = importElementTree()
  File "/usr/lib/python2.4/site-packages/openid/oidutil.py", line 74, in importElementTree
    raise ImportError('No ElementTree library found. '
ImportError: No ElementTree library found. You may need to install one. Tried importing ['lxml.etree', 'xml.etree.cElementTree', 'xml.etree.ElementTree', 'cElementTree', 'elementtree.ElementTree']

Component selection

Details

MoinMoin Version

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

So, what exactly is the moin bug?

requirements missing or dependency not shown. However I wondered that Elementree was missing.

If I run the wikiserver with py2.6.2 I have no problems with that lib.

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/OID_Dependencies_for_python2.4 (last edited 2010-03-09 22:48:49 by ReimarBauer)