OpenVZ Forum


Home » General » Support » Another cElementTree issue with FC7
icon9.gif  Another cElementTree issue with FC7 [message #24762] Mon, 10 December 2007 04:12 Go to next message
ledude1 is currently offline  ledude1
Messages: 9
Registered: December 2007
Junior Member
Hi all.

I've been playing around with this OpenVZ installation for over 1 week and I kept on stumbling upon this issue. I had reinstalled the FC7 OS for so many times that I lost count. Confused

What I'm trying to do is installing FC7 on Vmware and then installed the OpenVZ. Everything installed very smoothly until I tried to run the vzpkgcache module and I kept on getting this error

ERROR: RPM python path not found: /usr/share/vzpkgtools/vzrpm44/lib/python2.5/site-packages
Creating cache for fedora-7-i386-default OS template
/usr/share/vzyum/lib/yum/__init__.py:1131: Warning: 'with' will become a reserved keyword in Python 2.6
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named cElementTree

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.5 (r25:51908, Nov  6 2007, 16:54:01)
[GCC 4.1.2 20070925 (Red Hat 4.1.2-27)]

If you cannot solve this problem yourself, please send this
message to <yum@lists.linux.duke.edu>.

ERROR: yum failed with 1 exit code



I have searched and searched the forum and google for answer and I tried every possible suggestion including, reinstalling the python, installing the elementtree and cElementTree manually and I still hit the same problem. I searched for the elementtree and cElementTree and I found it somewhere in these directories
./usr/lib/python2.5/site-packages/smart/util/elementtree/ElementTree.pyo
./usr/lib/python2.5/site-packages/smart/util/elementtree/ElementTree.py
./usr/lib/python2.5/site-packages/smart/util/elementtree/ElementTree.pyc
./usr/lib/python2.5/site-packages/smart/util/cElementTree.so
./usr/lib/python2.5/lib-dynload/_elementtree.so
./usr/lib/python2.5/xml/etree/cElementTree.py
./usr/lib/python2.5/xml/etree/ElementTree.pyo
./usr/lib/python2.5/xml/etree/cElementTree.pyo
./usr/lib/python2.5/xml/etree/ElementTree.py
./usr/lib/python2.5/xml/etree/cElementTree.pyc
./usr/lib/python2.5/xml/etree/ElementTree.pyc
./usr/local/src/cElementTree-1.0.5-20051216
./usr/local/src/cElementTree-1.0.5-20051216/cElementTree.c
./usr/local/src/cElementTree-1.0.5-20051216/build/lib.linux-i686-2.5/cElementTree.so
./usr/local/src/cElementTree-1.0.5-20051216/build/temp.linux-i686-2.5/cElementTree.o
./usr/local/src/Python-2.5.1/Lib/xml/etree/cElementTree.py
./usr/local/src/Python-2.5.1/Lib/xml/etree/ElementTree.py
./usr/local/src/Python-2.5.1/Lib/xml/etree/ElementTree.pyc
./usr/local/src/Python-2.5.1/PC/VC6/_elementtree.dsp
./usr/local/src/Python-2.5.1/Modules/_elementtree.c
./usr/local/src/Python-2.5.1/PCbuild8/_elementtree.vcproj
./usr/local/src/Python-2.5.1/PCbuild/_elementtree.vcproj
./usr/local/src/Python-2.5.1/build/lib.linux-i686-2.5/_elementtree.so
./usr/local/src/Python-2.5.1/build/temp.linux-i686-2.5/usr/local/src/Python-2.5.1/Modules/_elementtree.o
./usr/local/src/elementtree-1.2.6-20050316
./usr/local/src/elementtree-1.2.6-20050316/elementtree/ElementTree.py



Has any of you had this type of problem in the past with the Fedora Core 7 installation and found a way to resolve it? If you do, mind sharing? Many thanks everyone and I'm looking forward to your thought and advise. Have a great day.

Le Dude.
Re: Another cElementTree issue with FC7 [message #24765 is a reply to message #24762] Mon, 10 December 2007 05:16 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

I'm afraid this is because of Python 2.5...

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Another cElementTree issue with FC7 [message #24771 is a reply to message #24765] Mon, 10 December 2007 05:59 Go to previous message
ledude1 is currently offline  ledude1
Messages: 9
Registered: December 2007
Junior Member
Thanks Kir.

Any thought on how to resolve it? Do you suggest I downgrade it to previous version pre 2.5? I was having the same issue with FC 8 and I thought it was just an FC 8 support issue. Please advise? Many thanks for your quick response.

Regards,

Le Dude

[Updated on: Mon, 10 December 2007 06:01]

Report message to a moderator

Previous Topic: load average: 0.50, 0.50, 0.38
Next Topic: /proc/user_beancounters and vzlist giving different outputs
Goto Forum:
  


Current Time: Mon Apr 22 16:34:33 GMT 2024

Total time taken to generate the page: 0.01223 seconds