Le mercredi 23 mai 2007 à 16:21 +0000, [EMAIL PROTECTED] a écrit :
> Hello all,

[...]


> tgwebservices/controllers.py", line 14, in <module>
>     import cElementTree as et
> ImportError: No module named cElementTree
> 
> 
> What does this message mean? Any idea? Any help would be appreciated.
> Thanks a lot in advance.

I was written with python 2.4 in mind. Either install cElementTree
manually or propose a patch to do this:

at line 14 in tgwebservices/controllers.py

instead of

import cElementTree as et

do:

try:
    # python 2.5 way of life :)
    import xml.etree.cElementTree as et
except:
    # python 2.4
    import cElementTree as et

you may have to do this in some other modules also. This comes from the
fact that elementtree was integrated in the standard python library
under the new xml.etree namespace.

Cheers,
Florent.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to