Public bug reported:

Binary package hint: mock

Description:  Ubuntu 10.04 LTS
Release:       10.04
Package:      mock
Version:        0.9.7-3

Hi!

I'm trying to execute mock but it doesn't work, it shows the following
message:

-- snip --
$ mock
Traceback (most recent call last):
File "/usr/sbin/mock", line 61, in <module>     
import mock.exception ImportError: No module named mock.exception
-- snip --

I've looked mock code and I've saw that it searches its modules in a
directory that doesn't exist, these directories are:

-- snip --
PYTHONDIR="/usr/lib/python2.6/site-packages"
PKGPYTHONDIR="/var/lib/python-support/python2.5/mock"
-- snip --

I think that is a problem with Python 2.6 and mock that expects to use
python 2.5.

Regards,
Fran

** Affects: mock (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: mock python

-- 
Mock doesn't work
https://bugs.launchpad.net/bugs/600564
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to