Your message dated Wed, 09 Aug 2006 15:17:45 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#381289: fixed in tailor 0.9.23-4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: tailor
Version: 0.9.23-3
Severity: normal

Hi,

I tried to use Tailor (0.9.23-3) with Mercurial (0.9.1-1) and got
AttributeError at the call of mercurial.commands.find(cmd). It appears
that mercurial.commands does not have such function anymore, however
it contains function findcmd. After changing commands.find with
commands.findcmd, the problem seems gone. See patch in the attachment.
Here is traceback:

Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/vcpx/source.py", line 133, in 
applyPendingChangesets
    replay(c)
  File "/var/lib/python-support/python2.4/vcpx/dualwd.py", line 107, in 
replayChangeset
    self.target.replayChangeset(changeset)
  File "/var/lib/python-support/python2.4/vcpx/target.py", line 124, in 
replayChangeset
    self._tag(tag)
  File "/var/lib/python-support/python2.4/vcpx/hg.py", line 262, in _tag
    opts = self._defaultOpts('tag')
  File "/var/lib/python-support/python2.4/vcpx/hg.py", line 289, in _defaultOpts
    return dict([(f[1], f[2]) for f in commands.find(cmd)[1][1]])
AttributeError: 'module' object has no attribute 'find'
18:07:30 [C] Upstream change application failed
Traceback (most recent call last):
  File "/usr/bin/tailor", line 33, in ?
    main()
  File "/var/lib/python-support/python2.4/vcpx/tailor.py", line 332, in main
    tailorizer()
  File "/var/lib/python-support/python2.4/vcpx/tailor.py", line 144, in __call__
    self.update()
  File "/var/lib/python-support/python2.4/vcpx/tailor.py", line 107, in update
    last, conflicts = dwd.applyPendingChangesets(
  File "/var/lib/python-support/python2.4/vcpx/dualwd.py", line 97, in 
applyPendingChangesets
    applied=applied)
  File "/var/lib/python-support/python2.4/vcpx/source.py", line 133, in 
applyPendingChangesets
    replay(c)
  File "/var/lib/python-support/python2.4/vcpx/dualwd.py", line 107, in 
replayChangeset
    self.target.replayChangeset(changeset)
  File "/var/lib/python-support/python2.4/vcpx/target.py", line 124, in 
replayChangeset
    self._tag(tag)
  File "/var/lib/python-support/python2.4/vcpx/hg.py", line 262, in _tag
    opts = self._defaultOpts('tag')
  File "/var/lib/python-support/python2.4/vcpx/hg.py", line 289, in _defaultOpts
    return dict([(f[1], f[2]) for f in commands.find(cmd)[1][1]])
AttributeError: 'module' object has no attribute 'find'


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages tailor depends on:
ii  python-support                0.3.8      automated rebuilding support for p
ii  python2.4                     2.4.3-7    An interactive high-level object-o

Versions of packages tailor recommends:
ii  rsync                         2.6.8-2    fast remote file copy program (lik

-- no debconf information

--- /usr/share/python-support/tailor/vcpx/hg.py.orig	2006-05-28 15:24:40.000000000 +0600
+++ /usr/share/python-support/tailor/vcpx/hg.py	2006-08-03 18:11:33.000000000 +0600
@@ -286,7 +286,7 @@
     def _defaultOpts(self, cmd):
         # Not sure this is public. commands.parse might be, but this
         # is easier, and while dispatch is easiest, you lose ui.
-        return dict([(f[1], f[2]) for f in commands.find(cmd)[1][1]])
+        return dict([(f[1], f[2]) for f in commands.findcmd(cmd)[1][1]])
 
     def _removePathnames(self, names):
         """Remove a sequence of entries"""

--- End Message ---
--- Begin Message ---
Source: tailor
Source-Version: 0.9.23-4

We believe that the bug you reported is fixed in the latest version of
tailor, which is due to be installed in the Debian FTP archive:

tailor_0.9.23-4.diff.gz
  to pool/main/t/tailor/tailor_0.9.23-4.diff.gz
tailor_0.9.23-4.dsc
  to pool/main/t/tailor/tailor_0.9.23-4.dsc
tailor_0.9.23-4_all.deb
  to pool/main/t/tailor/tailor_0.9.23-4_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Danjean <[EMAIL PROTECTED]> (supplier of updated tailor package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed,  9 Aug 2006 13:20:51 +0200
Source: tailor
Binary: tailor
Architecture: source all
Version: 0.9.23-4
Distribution: unstable
Urgency: low
Maintainer: Vincent Danjean <[EMAIL PROTECTED]>
Changed-By: Vincent Danjean <[EMAIL PROTECTED]>
Description: 
 tailor     - migrate changesets between version control systems
Closes: 381220 381289
Changes: 
 tailor (0.9.23-4) unstable; urgency=low
 .
   * recent versions of mercurial changes its API a little. Backport fix
     from upstream tailor (thanks to Laurent Fousse and Dmitriyi Paduchikh
     to identify and report the problem) (Closes: #381220, #381289)
   * [debian/control] add a conflict against mercurial << 0.9.1
Files: 
 c505f86e19f9e7824fc33dbd8dbb142a 644 devel optional tailor_0.9.23-4.dsc
 5d618f32d39f5bfa9abea5ee312dfad5 7661 devel optional tailor_0.9.23-4.diff.gz
 a8cecbfe82e179803a25c80a8037e59b 120960 devel optional tailor_0.9.23-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFE2lwUipBneRiAKDwRAjAVAJ91T2C4EDZx1fnvEilukKw3aqqd4gCgkqgw
fcr4yvx4RrFpYwUnE8NzuJM=
=8v2t
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to