Bug#485740: tailor: error message from python-support about 'yield', 'try' and 'finally'

2008-06-15 Thread Sam Morris
I just ran into this.

Processing triggers for python-support ...
Compiling /var/lib/python-support/python2.4/vcpx/repository/bzr.py ...
  File /var/lib/python-support/python2.4/vcpx/repository/bzr.py, line 
276
yield self._changesetFromRevision(parent_branch, revision)
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' 
clause

Here is the info you asked for previously:

$ cat /usr/share/python-support/tailor/.version
2.5-

$ ls -l /var/lib/python-support/python2.4/vcpx/repository/bzr.py
lrwxrwxrwx 1 root root 55 2007-11-24 13:02 
/var/lib/python-support/python2.4/vcpx/repository/bzr.py - 
/usr/share/python-support/tailor/vcpx/repository/bzr.py

$ ( zcat /var/log/dpkg.log*.gz ; cat /var/log/dpkg.log 
/var/log/dpkg.log.1 ) | egrep '(tailor|python-support)' | sort
2007-07-14 13:51:09 install tailor none 0.9.28-1
2007-07-14 13:51:09 status half-installed tailor 0.9.28-1
2007-07-14 13:51:09 status unpacked tailor 0.9.28-1
2007-07-14 13:51:09 status unpacked tailor 0.9.28-1
2007-07-14 13:51:11 status half-configured tailor 0.9.28-1
2007-07-14 13:51:11 status unpacked tailor 0.9.28-1
2007-07-14 13:51:42 status installed tailor 0.9.28-1
2007-07-21 13:18:33 status half-configured tailor 0.9.28-1
2007-07-21 13:18:33 upgrade tailor 0.9.28-1 0.9.28-2
2007-07-21 13:18:34 status half-installed tailor 0.9.28-1
2007-07-21 13:18:34 status half-installed tailor 0.9.28-1
2007-07-21 13:18:34 status unpacked tailor 0.9.28-1
2007-07-21 13:18:34 status unpacked tailor 0.9.28-2
2007-07-21 13:18:34 status unpacked tailor 0.9.28-2
2007-07-21 13:19:53 status half-configured tailor 0.9.28-2
2007-07-21 13:19:53 status unpacked tailor 0.9.28-2
2007-07-21 13:19:55 status installed tailor 0.9.28-2
2007-09-25 00:25:12 status half-configured python-support 0.6.4
2007-09-25 00:25:12 upgrade python-support 0.6.4 0.7.3
2007-09-25 00:25:14 status half-installed python-support 0.6.4
2007-09-25 00:25:14 status half-installed python-support 0.6.4
2007-09-25 00:25:14 status unpacked python-support 0.6.4
2007-09-25 00:25:15 status unpacked python-support 0.7.3
2007-09-25 00:25:15 status unpacked python-support 0.7.3
2007-09-25 00:26:56 status half-configured python-support 0.7.3
2007-09-25 00:26:56 status installed python-support 0.7.3
2007-09-25 00:26:56 status unpacked python-support 0.7.3
2007-09-26 20:09:55 status half-configured tailor 0.9.28-2
2007-09-26 20:09:55 upgrade tailor 0.9.28-2 0.9.29-1
2007-09-26 20:09:56 status half-installed tailor 0.9.28-2
2007-09-26 20:09:56 status half-installed tailor 0.9.28-2
2007-09-26 20:09:56 status unpacked tailor 0.9.28-2
2007-09-26 20:09:56 status unpacked tailor 0.9.29-1
2007-09-26 20:09:56 status unpacked tailor 0.9.29-1
2007-09-26 20:11:26 status half-configured tailor 0.9.29-1
2007-09-26 20:11:26 status unpacked tailor 0.9.29-1
2007-09-26 20:11:28 status installed tailor 0.9.29-1
2007-10-15 11:13:11 status half-configured python-support 0.7.3
2007-10-15 11:13:11 upgrade python-support 0.7.3 0.7.4
2007-10-15 11:13:12 status half-installed python-support 0.7.3
2007-10-15 11:13:12 status half-installed python-support 0.7.3
2007-10-15 11:13:12 status unpacked python-support 0.7.3
2007-10-15 11:13:12 status unpacked python-support 0.7.4
2007-10-15 11:13:13 status unpacked python-support 0.7.4
2007-10-15 11:14:16 status half-configured python-support 0.7.4
2007-10-15 11:14:16 status installed python-support 0.7.4
2007-10-15 11:14:16 status unpacked python-support 0.7.4
2007-11-12 22:24:13 status half-configured python-support 0.7.4
2007-11-12 22:24:13 upgrade python-support 0.7.4 0.7.5
2007-11-12 22:24:14 status half-installed python-support 0.7.4
2007-11-12 22:24:14 status half-installed python-support 0.7.4
2007-11-12 22:24:14 status unpacked python-support 0.7.4
2007-11-12 22:24:15 status unpacked python-support 0.7.5
2007-11-12 22:24:15 status unpacked python-support 0.7.5
2007-11-12 22:26:43 status half-configured python-support 0.7.5
2007-11-12 22:26:43 status installed python-support 0.7.5
2007-11-12 22:26:43 status unpacked python-support 0.7.5
2007-11-24 13:01:37 status half-configured tailor 0.9.29-1
2007-11-24 13:01:37 upgrade tailor 0.9.29-1 0.9.30-1
2007-11-24 13:01:38 status half-installed tailor 0.9.29-1
2007-11-24 13:01:38 status half-installed tailor 0.9.29-1
2007-11-24 13:01:38 status unpacked tailor 0.9.29-1
2007-11-24 13:01:38 status unpacked tailor 0.9.30-1

Bug#485740: tailor: error message from python-support about 'yield', 'try' and 'finally'

2008-06-11 Thread Laurent Bonnaud
Package: tailor
Version: 0.9.35-1
Severity: normal


Hi,

each time I install or upgrade a python package, I get this error
message:

Processing triggers for python-support ...
[...]
Compiling /var/lib/python-support/python2.4/vcpx/repository/bzr.py ...
  File /var/lib/python-support/python2.4/vcpx/repository/bzr.py, line 276
yield self._changesetFromRevision(parent_branch, revision)
SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages tailor depends on:
ii  python2.5.2-1An interactive high-level object-o
ii  python-support0.8.1  automated rebuilding support for P

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

-- no debconf information

-- 
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/





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



Bug#485740: tailor: error message from python-support about 'yield', 'try' and 'finally'

2008-06-11 Thread Lele Gaifax
On Wed, 11 Jun 2008 09:07:57 +0200
Laurent Bonnaud [EMAIL PROTECTED] wrote:

 Package: tailor
 Version: 0.9.35-1
 Severity: normal
 
 Compiling /var/lib/python-support/python2.4/vcpx/repository/bzr.py ...
   File /var/lib/python-support/python2.4/vcpx/repository/bzr.py,
 line 276 yield self._changesetFromRevision(parent_branch, revision)
 SyntaxError: 'yield' not allowed in a 'try' block with a 'finally'
 clause

Hi, sorry about that: this should be working now, see 
http://progetti.arstecnica.it/tailor/changeset/1629

ciao, lele.
-- 
nickname: Lele Gaifax| Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas| comincerò ad aver paura di chi mi copia.
[EMAIL PROTECTED] | -- Fortunato Depero, 1929.



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



Bug#485740: tailor: error message from python-support about 'yield', 'try' and 'finally'

2008-06-11 Thread Vincent Danjean
Lele Gaifax wrote:
 On Wed, 11 Jun 2008 09:07:57 +0200
 Laurent Bonnaud [EMAIL PROTECTED] wrote:
 
 Package: tailor
 Version: 0.9.35-1
 Severity: normal

 Compiling /var/lib/python-support/python2.4/vcpx/repository/bzr.py ...
   File /var/lib/python-support/python2.4/vcpx/repository/bzr.py,
 line 276 yield self._changesetFromRevision(parent_branch, revision)
 SyntaxError: 'yield' not allowed in a 'try' block with a 'finally'
 clause
 
 Hi, sorry about that: this should be working now, see 
 http://progetti.arstecnica.it/tailor/changeset/1629

  Thanks for the workaround. But it should not have occurred. The Debian
package 0.9.35-1 depends on python2.5 for this reason.
  I already see this bug on my system, but it disappeared when I try to
track it so I cannot reproduce it.

Laurent, can you wait until we find what happens on your system (and
try to not reinstall or reconfigure tailor). I suspect a bug in
python-support.
And can you send me the results of the following commands:

cat /usr/share/python-support/tailor/.version
ls -l /var/lib/python-support/python2.4/vcpx/repository/bzr.py
( zcat /var/log/dpkg.log*.gz ; cat /var/log/dpkg.log /var/log/dpkg.log.1 ) | 
egrep '(tailor|python-support)' | sort
dpkg -L tailor
dpkg -l tailor

  Regards,
Vincent

-- 
Vincent Danjean   GPG key ID 0x9D025E87 [EMAIL PROTECTED]
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://www-id.imag.fr/~danjean/deb.html#package
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main




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



Bug#485740: tailor: error message from python-support about 'yield', 'try' and 'finally'

2008-06-11 Thread Laurent Bonnaud
On Wed, 2008-06-11 at 12:37 +0200, Vincent Danjean wrote:

 And can you send me the results of the following commands:

Here it is:

 cat /usr/share/python-support/tailor/.version

2.5-

 ls -l /var/lib/python-support/python2.4/vcpx/repository/bzr.py

Unfortunately I removed the file to get rid of the error message.
Reinstalling tailor does not recreate this file.  Therefore this bug is
a one-time bug and I consider it fixed on my system.  If this bug does
not manifest itself during a etch-lenny upgrade, I think it can be
closed.  Otherwise, some fixing still needs to be done.  Could somebody
try a etch-lenny upgrade?

 ( zcat /var/log/dpkg.log*.gz ;
 cat /var/log/dpkg.log /var/log/dpkg.log.1 ) | egrep '(tailor|
 python-support)' | sort

See attached file.

 dpkg -L tailor

/.
/usr
/usr/share
/usr/share/python-support
/usr/share/python-support/tailor
/usr/share/python-support/tailor/.version
/usr/share/python-support/tailor/tailor-0.9.35.egg-info
/usr/share/python-support/tailor/vcpx
/usr/share/python-support/tailor/vcpx/shwrap.py
/usr/share/python-support/tailor/vcpx/_process.py
/usr/share/python-support/tailor/vcpx/target.py
/usr/share/python-support/tailor/vcpx/__init__.py
/usr/share/python-support/tailor/vcpx/changes.py
/usr/share/python-support/tailor/vcpx/workdir.py
/usr/share/python-support/tailor/vcpx/tailor.py
/usr/share/python-support/tailor/vcpx/project.py
/usr/share/python-support/tailor/vcpx/statefile.py
/usr/share/python-support/tailor/vcpx/dualwd.py
/usr/share/python-support/tailor/vcpx/config.py
/usr/share/python-support/tailor/vcpx/tzinfo.py
/usr/share/python-support/tailor/vcpx/source.py
/usr/share/python-support/tailor/vcpx/repository
/usr/share/python-support/tailor/vcpx/repository/mock.py
/usr/share/python-support/tailor/vcpx/repository/baz.py
/usr/share/python-support/tailor/vcpx/repository/bzr.py
/usr/share/python-support/tailor/vcpx/repository/arx.py
/usr/share/python-support/tailor/vcpx/repository/git
/usr/share/python-support/tailor/vcpx/repository/git/target.py
/usr/share/python-support/tailor/vcpx/repository/git/__init__.py
/usr/share/python-support/tailor/vcpx/repository/git/source.py
/usr/share/python-support/tailor/vcpx/repository/darcs
/usr/share/python-support/tailor/vcpx/repository/darcs/target.py
/usr/share/python-support/tailor/vcpx/repository/darcs/__init__.py
/usr/share/python-support/tailor/vcpx/repository/darcs/source.py
/usr/share/python-support/tailor/vcpx/repository/monotone.py
/usr/share/python-support/tailor/vcpx/repository/tla.py
/usr/share/python-support/tailor/vcpx/repository/__init__.py
/usr/share/python-support/tailor/vcpx/repository/p4
/usr/share/python-support/tailor/vcpx/repository/p4/__init__.py
/usr/share/python-support/tailor/vcpx/repository/p4/p4lib.py
/usr/share/python-support/tailor/vcpx/repository/p4/source.py
/usr/share/python-support/tailor/vcpx/repository/cvsps.py
/usr/share/python-support/tailor/vcpx/repository/aegis
/usr/share/python-support/tailor/vcpx/repository/aegis/target.py
/usr/share/python-support/tailor/vcpx/repository/aegis/__init__.py
/usr/share/python-support/tailor/vcpx/repository/hg.py
/usr/share/python-support/tailor/vcpx/repository/cdv.py
/usr/share/python-support/tailor/vcpx/repository/cvs.py
/usr/share/python-support/tailor/vcpx/repository/cg.py
/usr/share/python-support/tailor/vcpx/repository/svn.py
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/tailor.1.gz
/usr/share/doc
/usr/share/doc/tailor
/usr/share/doc/tailor/copyright
/usr/share/doc/tailor/changelog.Debian.gz
/usr/share/doc/tailor/README.rst.gz
/usr/share/doc/tailor/README.Debian
/usr/share/doc/tailor/README.html
/usr/bin
/usr/bin/tailor

 dpkg -l tailor

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   VersionDescription
+++-==-==-
ii  tailor 0.9.35-1   migrate changesets between 
version control systems


-- 
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/



log-python.bz2
Description: application/bzip


Bug#485740: tailor: error message from python-support about 'yield', 'try' and 'finally'

2008-06-11 Thread Vincent Danjean
tag 485740 +moreinfo unreproducible
thanks

  Hi,

Laurent Bonnaud wrote:
 cat /usr/share/python-support/tailor/.version
 
 2.5-
 
 ls -l /var/lib/python-support/python2.4/vcpx/repository/bzr.py
 
 Unfortunately I removed the file to get rid of the error message.
 Reinstalling tailor does not recreate this file.  Therefore this bug is
 a one-time bug and I consider it fixed on my system.  If this bug does
 not manifest itself during a etch-lenny upgrade, I think it can be
 closed.  Otherwise, some fixing still needs to be done.  Could somebody
 try a etch-lenny upgrade?

:-(
I tried to remove/purge/reinstall and upgrade tailor with current and older
version without succeeding in recreating this bug.

I will tag this bug with moreinfo and unreproducible for now.

  Thank for your feedback.
Vincent

-- 
Vincent Danjean   GPG key ID 0x9D025E87 [EMAIL PROTECTED]
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://www-id.imag.fr/~danjean/deb.html#package
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main




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