[pkg-fso-maint] BUG: openbmap-logger: Error in trigger for python-support
Sebastian Reichel
elektranox at gmail.com
Mon Sep 28 16:54:57 UTC 2009
On Mon, Sep 28, 2009 at 06:35:41PM +0200, Onen wrote:
> Sebastian Reichel wrote:
> >On Thu, Sep 17, 2009 at 11:16:50PM +0200, Jens Seidel wrote:
> >>On Thu, Sep 17, 2009 at 09:28:29PM +0200, Jens Seidel wrote:
> >>>I get the following error on apt-get upgrade:
> >>>
> >>>Verarbeite Trigger für python-support ...
> >>>Compiling /usr/lib/pymodules/python2.4/openbmap/logger.py ...
> >>> File "/usr/lib/pymodules/python2.4/openbmap/logger.py", line 821
> >>> class ObmLogger():
> >>> ^
> >>>SyntaxError: invalid syntax
> >>>
> >>>This seems to be a bug in openbmap-logger.
> >>A very similar error for neon:
> >>
> >>Verarbeite Trigger für python-support ...
> >>Compiling /usr/lib/pymodules/python2.4/neon/neon.py ...
> >> File "/usr/lib/pymodules/python2.4/neon/neon.py", line 428
> >> y = float(b) / (a / float(c)) if a and c else 0
> >> ^
> >>SyntaxError: invalid syntax
> >>
> >>Jens
> >
> >not sure, but I guess python2.5 features are used, so python2.4 is
> >not supported. I will depend on this with the next upload.
> >
> >-- Sebastian
> >
>
> Hi,
>
> sorry to answer here so late. Is this problem still there? May I do
> something to help find out what the problem is?
>
> Thanks,
> Onen
Hi,
I have not yet tested if it is just missing python2.4 support, since I
had too much to do with fso-frameworkd update (and its dependencies).
But I'm pretty sure, that foo = {cmd} if {condition} else {cmd} has
been introduced with python2.5. As a result it should be enough to
change add python dependency >=2.5 to my packaging and upload this
as a new package.
I will do so when I get home - except you plan to release a new
version in the next days ;)
-- Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fso-maint/attachments/20090928/a48b48ca/attachment.pgp>
More information about the pkg-fso-maint
mailing list