Public bug reported:

when I run hg-fast-export I get this output:
Traceback (most recent call last):
  File "/usr/share/hg-fast-export/hg-fast-export.py", line 6, in <module>
    from mercurial import repo,hg,cmdutil,util,ui,revlog,node
ImportError: No module named mercurial
git-fast-import statistics:

The hg-fast-export shell script is calling python which is python3, but
the mercurial python module is 2.7 only.

I can work around by setting PYTHON=python2.7 environment variable, but
this package should do this itself.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: hg-fast-export 20120618-1
ProcVersionSignature: Ubuntu 3.2.0-29.46-generic 3.2.24
Uname: Linux 3.2.0-29-generic x86_64
NonfreeKernelModules: tusbd
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
Date: Fri Nov 16 21:19:50 2012
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
 TERM=screen
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: hg-fast-export
UpgradeStatus: Upgraded to quantal on 2012-10-12 (35 days ago)

** Affects: hg-fast-export (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1079958

Title:
  cannot find mercurial python module: using wrong python

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hg-fast-export/+bug/1079958/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to