Hi all,
I've written a blog post about installing Cobbler on Ubuntu Lucid at http://bit.ly/aEUgZO however when I've gon to run it I've run into issues with the version of Python that's installed.
Are there plans to "upgrade" cobbler to use python 2.6 instead of 2.4?
If not, can anyone recommend how I get rid of the following error after changing /usr/bin/python to /usr/bin/python2.4 at the top of /usr/local/bin/cobblerd:
======================== Traceback (most recent call last): File "/usr/local/bin/cobblerd", line 19, in ? import cobbler.cobblerd as app ImportError: No module named cobbler.cobblerd =====================
Thanks in advance,
Matt
P.S. If we find a fix, I promise to update the blog post!
Excerpts from lists's message of Wed May 05 17:16:20 -0400 2010:
Hi all,
I've written a blog post about installing Cobbler on Ubuntu Lucid at http://bit.ly/aEUgZO however when I've gon to run it I've run into issues with the version of Python that's installed.
Are there plans to "upgrade" cobbler to use python 2.6 instead of 2.4?
How did you install cobbler?
On Thu, 2010-05-06 at 11:25 -0400, Scott Henson wrote:
Excerpts from lists's message of Wed May 05 17:16:20 -0400 2010:
Hi all,
I've written a blog post about installing Cobbler on Ubuntu Lucid at http://bit.ly/aEUgZO however when I've gon to run it I've run into issues with the version of Python that's installed.
Are there plans to "upgrade" cobbler to use python 2.6 instead of 2.4?
How did you install cobbler?
git clone from MDeHaan's repo on github.
pbuilder and pdebuild to create the .deb
dpkg -i to install
Kind regards,
Matt
Excerpts from Matt Wallace's message of Thu May 06 11:32:26 -0400 2010:
On Thu, 2010-05-06 at 11:25 -0400, Scott Henson wrote:
Excerpts from lists's message of Wed May 05 17:16:20 -0400 2010:
Hi all,
I've written a blog post about installing Cobbler on Ubuntu Lucid at http://bit.ly/aEUgZO however when I've gon to run it I've run into issues with the version of Python that's installed.
Are there plans to "upgrade" cobbler to use python 2.6 instead of 2.4?
How did you install cobbler?
git clone from MDeHaan's repo on github.
Try this repository instead. dehaan has stopped development on cobbler and his repo is likely to be out of date. http://git.fedoraproject.org/git/?p=cobbler;a=summary
pbuilder and pdebuild to create the .deb
dpkg -i to install
Looking at the debian directory, and from my hazy memory about building debian packages, it sounds like you built this on an older version of Debian/Ubuntu that uses python 2.4, but installed it on a newer version that uses python 2.6. The version of python is hard coded at build time. That is the first place I would look.
As for if cobbler runs on python 2.6, I'm currently running it on my F12 system on python 2.6.2.
On Thu, 2010-05-06 at 11:46 -0400, Scott Henson wrote:
Excerpts from Matt Wallace's message of Thu May 06 11:32:26 -0400 2010:
On Thu, 2010-05-06 at 11:25 -0400, Scott Henson wrote:
Excerpts from lists's message of Wed May 05 17:16:20 -0400 2010:
Hi all,
I've written a blog post about installing Cobbler on Ubuntu Lucid at http://bit.ly/aEUgZO however when I've gon to run it I've run into issues with the version of Python that's installed.
Are there plans to "upgrade" cobbler to use python 2.6 instead of 2.4?
How did you install cobbler?
git clone from MDeHaan's repo on github.
Try this repository instead. dehaan has stopped development on cobbler and his repo is likely to be out of date. http://git.fedoraproject.org/git/?p=cobbler;a=summary
OK, thanks I'll give it a go. Is that Cobbler 2.x?
pbuilder and pdebuild to create the .deb
dpkg -i to install
Looking at the debian directory, and from my hazy memory about building debian packages, it sounds like you built this on an older version of Debian/Ubuntu that uses python 2.4, but installed it on a newer version that uses python 2.6. The version of python is hard coded at build time. That is the first place I would look.
Nope, package was built on the same machine I tried to install on, Ubuntu Lucid. The exact steps that I took are documented on the blogpost I linked to above - I was cutting and pasting from the command-line as I wrote that post!
(I added the extra repos/python install after the initial failure.)
As for if cobbler runs on python 2.6, I'm currently running it on my F12 system on python 2.6.2.
hmmm, ok, so it's not that then!
M.
cobbler@lists.fedorahosted.org