koan crashed with ImportError in /usr/lib/python2.7/dist-packages/koan/configurator.py: No module named yum

Bug #731620 reported by Andres Rodriguez
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cobbler (Ubuntu)

Bug Description

Binary package hint: cobbler

After installing koan and python-cobbler (which includes koan python modules, and shouldn't as per bug #731616), This error appears:

$ koan
Traceback (most recent call last):
  File "/usr/bin/koan", line 18, in <module>
    import koan.app as app
  File "/usr/lib/python2.7/dist-packages/koan/app.py", line 65, in <module>
    import configurator
  File "/usr/lib/python2.7/dist-packages/koan/configurator.py", line 34, in <module>
    import yum
ImportError: No module named yum

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: koan 2.1.0~bzr2002-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
Date: Tue Mar 8 16:32:05 2011
ExecutablePath: /usr/bin/koan
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate amd64 (20091020.3)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/koan
 PATH=(custom, user)
PythonArgs: ['/usr/bin/koan']
SourcePackage: cobbler
Title: koan crashed with ImportError in /usr/lib/python2.7/dist-packages/koan/configurator.py: No module named yum
UpgradeStatus: Upgraded to natty on 2011-02-01 (34 days ago)
UserGroups: adm admin cdrom dialout kvm libvirtd lpadmin plugdev sambashare

Related branches

Revision history for this message
Andres Rodriguez (andreserl) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Changed in cobbler (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Changed in cobbler (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
status: Confirmed → In Progress
Changed in cobbler (Ubuntu):
status: In Progress → Fix Committed
assignee: Andres Rodriguez (andreserl) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cobbler - 2.1.0~bzr2005-0ubuntu2

cobbler (2.1.0~bzr2005-0ubuntu2) natty; urgency=low

  * debian/patches/31_add_ubuntu_koan_utils_support.patch: Add support for
    ubuntu distro in koan utils.py.
  * debian/patches/32_fix_koan_import_yum.patch: Fix import error of yum
    python module; adds flexibility for other package managers. (LP: #731620)
 -- Andres Rodriguez <email address hidden> Fri, 11 Mar 2011 16:02:48 -0500

Changed in cobbler (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers