<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Courier New";
panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New",serif;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New",serif;
mso-fareast-language:EN-GB;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi Lennard,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You’ve found a bug in the OMERO.cli plugin – many thanks for taking the time to get in touch.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I would expect your upgrade has gone fine, and the command we’d refer you to instead of “bin/omero config list”, would be `bin/omero config get`
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">That will hopefully give you the output you expect and need. Please let us know if not.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We’ll add a Trello card to track the bug and we’ll either fix or deprecate that command as a result.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks again,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kenny<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">--<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kenneth Gillen<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">OME System Administrator<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Wellcome Trust Centre for Gene Regulation & Expression<o:p></o:p></p>
<p class="MsoNormal">School of Life Sciences<o:p></o:p></p>
<p class="MsoNormal">CTIR 2<o:p></o:p></p>
<p class="MsoNormal">University of Dundee<o:p></o:p></p>
<p class="MsoNormal">Dow Street<o:p></o:p></p>
<p class="MsoNormal">Dundee DD1 5EH<o:p></o:p></p>
<p class="MsoNormal">United Kingdom<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Tel: +44 (0) 1382 388797<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="http://www.twitter.com/openmicroscopy">http://www.twitter.com/openmicroscopy</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">ome-devel <ome-devel-bounces@lists.openmicroscopy.org.uk> on behalf of "L.M.Voortman@lumc.nl" <L.M.Voortman@lumc.nl><br>
<b>Reply-To: </b>OME External Developer List <ome-devel@lists.openmicroscopy.org.uk><br>
<b>Date: </b>Friday, 9 March 2018 at 12:44<br>
<b>To: </b>"ome-devel@lists.openmicroscopy.org.uk" <ome-devel@lists.openmicroscopy.org.uk><br>
<b>Subject: </b>[ome-devel] upgrade issues</span><span style="font-size:12.0pt;color:black;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I just upgraded our OMERO server from 5.4.0 to 5.4.4. Everything seems to be working fine, except when I run:<o:p></o:p></p>
<p class="MsoNormal">$ bin/omero config list<o:p></o:p></p>
<p class="MsoNormal">I get:<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><i>omero.data.dir=/data/vf-mcb-omero/OMERO</i><o:p></o:p></p>
<p class="MsoNormal"><i>omero.db.name=xxxxxxx</i><o:p></o:p></p>
<p class="MsoNormal"><i>Traceback (most recent call last):</i><o:p></o:p></p>
<p class="MsoNormal"><i> File "bin/omero", line 125, in <module></i><o:p></o:p></p>
<p class="MsoNormal"><i> rv = omero.cli.argv()</i><o:p></o:p></p>
<p class="MsoNormal"><i> File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line 1620, in argv</i><o:p></o:p></p>
<p class="MsoNormal"><i> cli.invoke(args[1:])</i><o:p></o:p></p>
<p class="MsoNormal"><i> File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line 1095, in invoke</i><o:p></o:p></p>
<p class="MsoNormal"><i> stop = self.onecmd(line, previous_args)</i><o:p></o:p></p>
<p class="MsoNormal"><i> File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line 1172, in onecmd</i><o:p></o:p></p>
<p class="MsoNormal"><i> self.execute(line, previous_args)</i><o:p></o:p></p>
<p class="MsoNormal"><i> File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/cli.py", line 1254, in execute</i><o:p></o:p></p>
<p class="MsoNormal"><i> args.func(args)</i><o:p></o:p></p>
<p class="MsoNormal"><i> File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/plugins/prefs.py", line 74, in open_and_close_config</i><o:p></o:p></p>
<p class="MsoNormal"><i> return func(*args, **kwargs)</i><o:p></o:p></p>
<p class="MsoNormal"><i> File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/plugins/prefs.py", line 281, in list</i><o:p></o:p></p>
<p class="MsoNormal"><i> self.get(args, config)</i><o:p></o:p></p>
<p class="MsoNormal"><i> File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/plugins/prefs.py", line 74, in open_and_close_config</i><o:p></o:p></p>
<p class="MsoNormal"><i> return func(*args, **kwargs)</i><o:p></o:p></p>
<p class="MsoNormal"><i> File "/home/sa_omero/OMERO.server-5.4.4-ice36-b82/lib/python/omero/plugins/prefs.py", line 300, in get</i><o:p></o:p></p>
<p class="MsoNormal"><i> if is_password(k) and not args.show_password:</i><o:p></o:p></p>
<p class="MsoNormal"><i>AttributeError: 'Namespace' object has no attribute 'show_password'</i><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">I upgraded using:<o:p></o:p></p>
<div style="border-top:solid #AACC99 1.0pt;border-left:none;border-bottom:solid #AACC99 1.0pt;border-right:none;padding:4.0pt 0cm 4.0pt 0cm">
<p class="MsoNormal" style="line-height:11.7pt;background:#ECEFF1"><span style="font-size:10.0pt;font-family:"Courier New",serif;color:#455A64;mso-fareast-language:EN-GB">$ cd OMERO.server</span><o:p></o:p></p>
<p class="MsoNormal" style="line-height:11.7pt;background:#ECEFF1"><s><span style="font-size:10.0pt;font-family:"Courier New",serif;color:#455A64;mso-fareast-language:EN-GB">$ bin/omero web stop (web is running in a seperate virtualenv)</span></s><o:p></o:p></p>
<p class="MsoNormal" style="line-height:11.7pt;background:#ECEFF1"><span style="font-size:10.0pt;font-family:"Courier New",serif;color:#455A64;mso-fareast-language:EN-GB">$ bin/omero admin stop</span><o:p></o:p></p>
<pre style="line-height:11.7pt;background:#ECEFF1"><span style="color:#455A64">$ cd ..</span><o:p></o:p></pre>
<pre style="line-height:11.7pt;background:#ECEFF1"><span style="color:#455A64">$ wget http://downloads.openmicroscopy.org/omero/5.4.4/artifacts/OMERO.py-5.4.4-ice36-b82.zip</span><o:p></o:p></pre>
<pre style="line-height:11.7pt;background:#ECEFF1"><span style="color:#455A64">$ mv OMERO.server OMERO.server-old</span><o:p></o:p></pre>
<pre style="line-height:11.7pt;background:#ECEFF1"><span style="color:#455A64">$ unzip OMERO.server-5.4.4-ice36-b82.zip</span><o:p></o:p></pre>
<pre style="line-height:11.7pt;background:#ECEFF1"><span style="color:#455A64">$ ln -s OMERO.server-5.4.4-ice36-b82 OMERO.server</span><o:p></o:p></pre>
<pre style="line-height:11.7pt;background:#ECEFF1"><span style="color:#455A64">$ cp OMERO.server-old/etc/grid/config.xml OMERO.server/etc/grid</span><o:p></o:p></pre>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Did I miss any essential steps during the upgrade process?<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Best,<o:p></o:p></p>
<p class="MsoNormal">Lennard<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">-----------------------------------------</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">dr.ir. Lennard Voortman</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">Head Light Microscopy Facility</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">Department of Cell and Chemical Biology</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB">Leiden University Medical Center</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:EN-GB"> </span><o:p></o:p></p>
<p class="MsoNormal"><span lang="NL" style="color:#1F497D;mso-fareast-language:EN-GB">+31 71 5269216</span><o:p></o:p></p>
<p class="MsoNormal"><span lang="NL" style="color:#1F497D;mso-fareast-language:EN-GB"><a href="mailto:l.m.voortman@lumc.nl">l.m.voortman@lumc.nl</a></span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>