[et-mgmt-tools] Re: Cobbler Check fails: ImportError: No module named cobbler.cobbler
Michael DeHaan
mdehaan at redhat.com
Thu Aug 16 22:00:31 UTC 2007
Goodman, Roger L CTR JCS J8/SAMD wrote:
> I'm new here, and I just tried setting up Cobbler and Koan yesterday, and I am getting the same error, but the missing file is Cheetah.Template. The traceback looks like this:
>
> File "/usr/bin/cobbler", line 18, in ?
> import cobbler.cobbler as app
> File "usr/lib/python2.4/site-packages/cobbler/cobbler.py", line 18, in ?
> import api
> File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 17, in ?
> import config
> File "/usr/lib/python2.4/site-packages/cobbler/config.py", line 23, in ?
> import collection_distros as distros
> File "/usr/lib/python2.4/site-packages/cobbler/collection_distros.py", line 17, in ?
> import collection
> File "/usr/lib/python2.4/site-packages/cobbler/collection.py", line 22, in ?
> import action_litesync
> File "/usr/lib/python2.4/site-packages/cobbler/action_litesync.py", line 28, in ?
> import action_sync
> File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 34, in ?
> from Cheetah.Template import Template
> ImportError: No module named Cheetah.Template
I'm guessing this is also a case of using RPM with "--nodeps" or
"--force" -- which is a bad thing to do.
If I'm wrong, I'd be interested from what repository this came from or
what your install process was.
You possibly force installed the python-cheetah from another distro
rather than one that was built for your distro and version of Python?
--Michael
More information about the et-mgmt-tools
mailing list