Bug#588262: lazygal: Syntax error in Python file

2010-07-06 Thread Jens Seidel
Package: lazygal
Version: 0.5-1
Severity: important

After upgrading my system I get:

Verarbeite Trigger für python-support ...
Compiling /usr/lib/pymodules/python2.4/lazygal/tpl.py ...
  File /usr/lib/pymodules/python2.4/lazygal/tpl.py, line 69
finally:
  ^
SyntaxError: invalid syntax

Jens

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32.15 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lazygal depends on:
ii  python2.6.5-5An interactive high-level object-o
ii  python-genshi 0.6-1  Python XML-based template engine
ii  python-imaging1.1.7-1+b1 Python Imaging Library
ii  python-pyexiv20.1.3-6+b2 Python binding to Exiv2
ii  python-support1.0.8  automated rebuilding support for P

lazygal recommends no packages.

lazygal suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#588262: lazygal: Syntax error in Python file

2010-07-06 Thread Alexandre Rossi
 After upgrading my system I get:

 Verarbeite Trigger für python-support ...
 Compiling /usr/lib/pymodules/python2.4/lazygal/tpl.py ...
  File /usr/lib/pymodules/python2.4/lazygal/tpl.py, line 69
    finally:
          ^
 SyntaxError: invalid syntax

From http://docs.python.org/reference/compound_stmts.html#finally :

Changed in version 2.5: In previous versions of Python,
try...except...finally did not work. try...except had to be nested in
try...finally.

Do you really need to run lazygal using python 2.4?

Alex



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#588262: lazygal: Syntax error in Python file

2010-07-06 Thread Jens Seidel
On Tue, Jul 06, 2010 at 08:05:34PM +0200, Alexandre Rossi wrote:
  After upgrading my system I get:
 
  Verarbeite Trigger für python-support ...
  Compiling /usr/lib/pymodules/python2.4/lazygal/tpl.py ...
   File /usr/lib/pymodules/python2.4/lazygal/tpl.py, line 69
     finally:
           ^
  SyntaxError: invalid syntax
 
 From http://docs.python.org/reference/compound_stmts.html#finally :
 
 Changed in version 2.5: In previous versions of Python,
 try...except...finally did not work. try...except had to be nested in
 try...finally.
 
 Do you really need to run lazygal using python 2.4?

I don't need lazygal and python2.4 at all. It was probably installed by a
task or as a dependence of another package. I wonder that this problem
results from python 2.4 as I expected it to be incompatible with python 2.6
because of the recent transition!?

I removed python 2.4 ...

Jens



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org