<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap:break-word">
<div>Hi John</div>
<div><br>
</div>
<div>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:</div>
<div><a href="http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-February/003564.html">http://lists.openmicroscopy.org.uk/pipermail/ome-users/2013-February/003564.html</a></div>
<div><br>
</div>
<div>The corrected version of admin.py will be in the next bug fix release, in the meantime you can download it here:</div>
<div><a href="https://raw.github.com/bpindelski/openmicroscopy/58729dbcfad50b6b7f540d4c1a13f2e79ae5fd2e/components/tools/OmeroPy/src/omero/plugins/admin.py">https://raw.github.com/bpindelski/openmicroscopy/58729dbcfad50b6b7f540d4c1a13f2e79ae5fd2e/components/tools/OmeroPy/src/omero/plugins/admin.py</a></div>
<div><br>
</div>
<div>Sorry for any inconvenience</div>
<div><br>
</div>
<div>Simon</div>
<br>
<div>
<div>On 1 Mar 2013, at 11:50, "John Webber (NBI)" <<a href="mailto:John.Webber@nbi.ac.uk">John.Webber@nbi.ac.uk</a>></div>
<div> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div lang="EN-GB" style="font-family:Helvetica; font-size:medium; font-style:normal; font-variant:normal; font-weight:normal; letter-spacing:normal; line-height:normal; orphans:2; text-indent:0px; text-transform:none; white-space:normal; widows:2; word-spacing:0px">
<div class="WordSection1" style="">
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Hi,</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
I have had some issues upgrading from Omero version 4.3.4 up to 4.4.6</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
When I attempt to use “bin/omero admin<span class="Apple-converted-space"> </span><i>anything</i>” I see the following errors:</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt">Error loading: /opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/admin.py</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt">Traceback (most recent call last):</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/cli.py", line 1138, in loadpath</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> execfile( str(pathobj), loc )</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/admin.py", line 434</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> finally:</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> ^</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt">SyntaxError: invalid syntax</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt">Error loading: /opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/node.py</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt">Traceback (most recent call last):</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/cli.py", line 1138, in loadpath</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> execfile( str(pathobj), loc )</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/node.py", line 17, in ?</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> from omero.plugins.admin import AdminControl</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> File "/opt/OMERO.server-4.4.6-ice33-b102/lib/python/omero/plugins/admin.py", line 434</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> finally:</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> ^</span></div>
<div style="margin:0cm 0cm 0.0001pt 36pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt">SyntaxError: invalid syntax</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span style="font-size:9pt"> </span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
Please can you advice where I can start to correct this issue?</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<br>
Thanks</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
John</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
</div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span style="font-size:12pt; font-family:'Times New Roman',serif; color:rgb(79,129,189)"> </span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<b><span style="font-size:10pt; font-family:Arial,sans-serif; color:rgb(79,129,189)">-------------------------------------------------------------------------------------------------------------------------------------------- </span></b></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<b><span style="font-size:12pt; font-family:Arial,sans-serif; color:rgb(84,141,212)">John Webber<br>
</span></b><span>Computing and Information Services</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span>NBI Partnership Ltd</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span>Norwich Research park</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span>Colney Lane</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span>Norwich</span><span></span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span>NR4 7UH</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span> </span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span>E-Mail: <span class="Apple-converted-space"> </span><a href="mailto:john.webber@nbi.ac.uk" style="color:purple; text-decoration:underline">john.webber@nbi.ac.uk</a></span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span>Web: <span class="Apple-converted-space"> </span><a href="http://www.nbi.ac.uk/" style="color:purple; text-decoration:underline">http://www.nbi.ac.uk</a></span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif; line-height:12pt; background-color:white">
<span>Tel: +44(0)1603 450 818</span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<span> </span></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
<i>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</i></div>
<div style="margin:0cm 0cm 0.0001pt; font-size:11pt; font-family:Calibri,sans-serif">
</div>
</div>
_______________________________________________<br>
ome-users mailing list<br>
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" style="color:purple; text-decoration:underline">ome-users@lists.openmicroscopy.org.uk</a><br>
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" style="color:purple; text-decoration:underline">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
</div>
</blockquote>
</div>
<br>
<br>
<span style="font-size:10pt">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>