Package: mercurial
Version: 0.9.1-1
Severity: grave
Tags: patch
Justification: renders package unusable

hi,

# hg diff
** unknown exception encountered, details follow
** report bug details to [EMAIL PROTECTED]
** Mercurial Distributed SCM (version 0.9)
Traceback (most recent call last):
  File "/usr/bin/hg", line 12, in ?
    commands.run()
  File "/usr/lib/python2.4/commands.py", line 3206, in run
    
  File "/usr/lib/python2.4/commands.py", line 3377, in dispatch
    
  File "/usr/lib/python2.4/commands.py", line 3352, in <lambda>
    
  File "/usr/lib/python2.4/commands.py", line 1379, in diff
    
  File "/usr/lib/python2.4/commands.py", line 342, in dodiff
    
  File "/usr/lib/python2.4/site-packages/mercurial/changelog.py", line 37, in 
read
  File "/usr/lib/python2.4/site-packages/mercurial/revlog.py", line 823, in 
revision
  File "/usr/lib/python2.4/site-packages/mercurial/revlog.py", line 742, in 
patches
  File "/usr/lib/python2.4/site-packages/mercurial/demandload.py", line 61, in 
__getattribute__
  File "/usr/lib/python2.4/site-packages/mercurial/demandload.py", line 54, in 
module
  File "/usr/lib/python2.4/site-packages/mercurial/demandload.py", line 30, in 
module
  File "/usr/lib/python2.4/site-packages/mercurial/mdiff.py", line 9, in ?
ImportError: No module named bdiff

This is imho because mercurial is started with python2.4.
Changing the version to python2.3 solves the problem.

# cat =hg
#!/usr/bin/python2.3
#
....

michael

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages mercurial depends on:
ii  libc6                         2.3.6-7    GNU C Library: Shared libraries
ii  python                        2.3.5-11   An interactive high-level object-o
ii  python-support                0.3.9      automated rebuilding support for p
ii  python2.4                     2.4.3-8    An interactive high-level object-o

Versions of packages mercurial recommends:
ii  rcs                           5.7-16     The GNU Revision Control System
ii  tk8.4 [wish]                  8.4.12-1   Tk toolkit for Tcl and X11, v8.4 -

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to