Report from running bzr diff with difftools and tkdiff

Andrew Nguyen avnguyen at alumni.ucsd.edu
Thu Nov 9 05:46:50 GMT 2006


I am running xubuntu edgy with bzr 0.12.0 and the latest difftools
tarball.  I received the following dump which asked me to send it to the
list.  Please let me know if I need to do anything else...
----
bzr diff --using=tkdiff -r1..2
bzr: ERROR: bzrlib.errors.IllegalUseOfScopeReplacer: ScopeReplacer
object 'mkdtemp' was used incorrectly: Object already cleaned up, did
you assign it to another variable?: _factory

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 623,
in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 585,
in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 291,
in run_argv_aliases
    return self.run(**all_cmd_args)
  File
"/usr/lib/python2.4/site-packages/bzrlib/plugins/bzr_difftools/__init__.py",
line 88, in run
    return self._run_external_tool(*args, **kwargs)
  File
"/usr/lib/python2.4/site-packages/bzrlib/plugins/bzr_difftools/__init__.py",
line 124, in _run_external_tool
    result = compare_using(tool, file_list, revision[0], revision[1])
  File
"/usr/lib/python2.4/site-packages/bzrlib/plugins/bzr_difftools/__init__.py",
line 224, in compare_using
    old_tmp_dir = NamedTemporaryDir(tmp_prefix, old_hint)
  File
"/usr/lib/python2.4/site-packages/bzrlib/plugins/bzr_difftools/tempdir.py",
line 27, in __init__
    self.path = mkdtemp(prefix=prefix, suffix=suffix + '_tmp')
  File "/usr/lib/python2.4/site-packages/bzrlib/lazy_import.py", line
103, in __call__
    obj = _replace()
  File "/usr/lib/python2.4/site-packages/bzrlib/lazy_import.py", line
82, in _replace
    extra=e)
IllegalUseOfScopeReplacer: ScopeReplacer object 'mkdtemp' was used
incorrectly: Object already cleaned up, did you assign it to another
variable?: _factory

bzr 0.12.0 on python 2.4.4.candidate.1 (linux2)
arguments: ['/usr/bin/bzr', 'diff', '--using=tkdiff', '-r1..2']

** please send this report to bazaar-ng at lists.ubuntu.com
Exception exceptions.AttributeError: "'NamedTemporaryDir' object has no
attribute 'path'" in <bound method NamedTemporaryDir.__del__ of
<bzrlib.plugins.bzr_difftools.tempdir.NamedTemporaryDir object at
0xb7dcd0ac>> ignored

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061108/5b3edd06/attachment.pgp 


More information about the bazaar mailing list