[ome-users] Upgrade issues from 4.3.4 to 4.4.6

John Webber (NBI) John.Webber at nbi.ac.uk
Fri Mar 1 14:45:07 GMT 2013


Great - Thank you Simon, that worked.

Thanks for your help.
John


--------------------------------------------------------------------------------------------------------------------------------------------
John Webber
Computing and Information Services
NBI Partnership Ltd
Norwich Research park
Colney Lane
Norwich
NR4 7UH

E-Mail:  john.webber at nbi.ac.uk
Web:     http://www.nbi.ac.uk
Tel:        +44(0)1603 450 818

The NBI Partnership Ltd provides non-scientific services to the Institute of Food Research, the John Innes Centre, The Genome Analysis Centre and The Sainsbury Laboratory

From: Simon Li [mailto:s.p.li at dundee.ac.uk]
Sent: 01 March 2013 12:24
To: John Webber (NBI)
Cc: ome-users at lists.openmicroscopy.org.uk
Subject: Re: [ome-users] Upgrade issues from 4.3.4 to 4.4.6

Hi John

Are you using Python 2.4? If so this is due to the inadvertent use of the try-except-finally syntax which is incompatible with Python 2.4:
http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-February/003564.html

The corrected version of admin.py will be in the next bug fix release, in the meantime you can download it here:
https://raw.github.com/bpindelski/openmicroscopy/58729dbcfad50b6b7f540d4c1a13f2e79ae5fd2e/components/tools/OmeroPy/src/omero/plugins/admin.py

Sorry for any inconvenience

Simon

On 1 Mar 2013, at 11:50, "John Webber (NBI)" <John.Webber at nbi.ac.uk<mailto:John.Webber at nbi.ac.uk>>
 wrote:


Hi,

I have had some issues upgrading from Omero version 4.3.4 up to 4.4.6

When I attempt to use   "bin/omero admin anything" I see the following errors:

Error loading: /opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/admin.py
Traceback (most recent call last):
  File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/cli.py", line 1138, in loadpath
    execfile( str(pathobj), loc )
  File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/admin.py", line 434
     finally:
           ^
SyntaxError: invalid syntax
Error loading: /opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/node.py
Traceback (most recent call last):
  File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/cli.py", line 1138, in loadpath
    execfile( str(pathobj), loc )
  File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/node.py", line 17, in ?
    from omero.plugins.admin import AdminControl
  File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/admin.py", line 434
     finally:
           ^
SyntaxError: invalid syntax

Please can you advice where I can start to correct this issue?

Thanks
John


--------------------------------------------------------------------------------------------------------------------------------------------
John Webber
Computing and Information Services
NBI Partnership Ltd
Norwich Research park
Colney Lane
Norwich
NR4 7UH

E-Mail:  john.webber at nbi.ac.uk<mailto:john.webber at nbi.ac.uk>
Web:     http://www.nbi.ac.uk<http://www.nbi.ac.uk/>
Tel:        +44(0)1603 450 818

The NBI Partnership Ltd provides non-scientific services to the Institute of Food Research, the John Innes Centre, The Genome Analysis Centre and The Sainsbury Laboratory

_______________________________________________
ome-users mailing list
ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users


The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20130301/d5388bdf/attachment.html>


More information about the ome-users mailing list