[prev in list] [next in list] [prev in thread] [next in thread]
List: fedora-xen
Subject: Re: [Fedora-xen] virt-manager 0.6.0 under CentOS 5.2 (64-bit) gives
From: "Daniel P. Berrange" <berrange () redhat ! com>
Date: 2008-09-17 10:35:59
Message-ID: 20080917103559.GH10471 () redhat ! com
[Download RAW message or body]
On Wed, Sep 17, 2008 at 01:18:34PM +0300, pekka.panula@netservant.fi wrote:
> Hi
>
> I updated virt-manager 0.6.0 and python-virtinst 0.400.0 and when i am
> trying to start virt-manager i am getting Python syntax error:
> --------------------8<--------------
> Traceback (most recent call last):
> File "/usr/share/virt-manager/virt-manager.py", line 346, in ?
> main()
> File "/usr/share/virt-manager/virt-manager.py", line 287, in main
> from virtManager.engine import vmmEngine
> File "/usr/share/virt-manager/virtManager/engine.py", line 31, in ?
> from virtManager.connection import vmmConnection
> File "/usr/share/virt-manager/virtManager/connection.py", line 36, in ?
> from virtManager.domain import vmmDomain
> File "/usr/share/virt-manager/virtManager/domain.py", line 669
> finally:
> ^
> SyntaxError: invalid syntax
> --------------------8<--------------
Looks like a python 2.5-ism crept into the codebase - there's a try,
except, finally all together. For python 2.4 you can either a try + except
or a try + finally, but not both.
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
--
Fedora-xen mailing list
Fedora-xen@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic