[Spacewalk-list] spacewalk 1.4-RC cElementTree problem with spacewalk-repo-sync

Marcus Moeller marcus.moeller at gmx.ch
Wed Apr 13 13:20:26 UTC 2011


Dear Martin.

> for I am new on this list let me introduce myself:
> My name is Martin Zehetmayer, I work for as consultant for a small linux solution provider in germany, mostly dealing with RHEL systems.
>
> I am currently testing spacewalk 1.4-RC6 on a RHEL6.0 x86_64 system. Installing works very fine but when
> adding packages to a custom channel I get the following error:
>
> ---
> [root at spacewalk ]# spacewalk-repo-sync -u http://10.160.14.83/cobbler/ks_mirror/testrepo -c testchannel1-x86_64 -t yum
> Traceback (most recent call last):
>    File "/usr/bin/spacewalk-repo-sync", line 69, in<module>
>      sys.exit(abs(main() or 0))
>    File "/usr/bin/spacewalk-repo-sync", line 63, in main
>      sync.main()
>    File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py", line 108, in main
>      plugin = self.load_plugin()(url, self.channel_label)
>    File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/reposync.py", line 137, in load_plugin
>      mod = __import__('spacewalk.satellite_tools.repo_plugins', globals(), locals(), [name])
>    File "/usr/lib/python2.6/site-packages/spacewalk/satellite_tools/repo_plugins/yum_src.py", line 25, in<module>
>      import cElementTree
> ImportError: No module named cElementTree
> ---
>
> After searching I found a post in this list from Michael Calmer which reports the same error under SLES. As mentioned above I tested it under RHEL6 and the same problem appear. It can be solved using three tests as suggested from Michael.

Fixed in latest sync. Just update using the 1.4-RC repository.

Greets
Marcus

PS: your search does not seem to have included recent topics.




More information about the Spacewalk-list mailing list