<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div>My feelings exactly !! </div>
<div><br>
</div>
<div>Virtualenv was created with system site packages </div>
<div><br>
</div>
<div>Full output of pip below </div>
<div>
<div>(venv)[omero@lslapome01 ~]$ source venv/bin/activate</div>
<div>(venv)[omero@lslapome01 ~]$ pip freeze</div>
<div>backports.ssl-match-hostname==3.4.0.2</div>
<div>chardet==2.2.1</div>
<div>configobj==4.7.2</div>
<div>decorator==3.4.0</div>
<div>Django==1.8.12</div>
<div>ethtool==0.8</div>
<div>fail2ban==0.9.3</div>
<div>fros==1.0</div>
<div>gunicorn==19.3.0</div>
<div>iniparse==0.4</div>
<div>iotop==0.6</div>
<div>IPy==0.75</div>
<div>jabber.py==0.3.post1</div>
<div>javapackages==1.0.0</div>
<div>kitchen==1.1.1</div>
<div>lxml==3.2.1</div>
<div>M2Crypto==0.21.1</div>
<div>matplotlib==1.2.0</div>
<div>nose==1.3.0</div>
<div>numexpr==2.3</div>
<div>numpy==1.7.1</div>
<div>pbr==1.9.1</div>
<div>pciutils==1.7.3</div>
<div>perf==0.1</div>
<div>Pillow==2.9.0</div>
<div>policycoreutils-default-encoding==0.1</div>
<div>pycurl==7.19.0</div>
<div>pygobject==3.14.0</div>
<div>pygpgme==0.3</div>
<div>pyliblzma==0.5.3</div>
<div>pyOpenSSL==0.13.1</div>
<div>pyparsing==1.5.6</div>
<div>python-dateutil==1.5</div>
<div>python-dmidecode==3.10.13</div>
<div>pytz===2012d</div>
<div>pyudev==0.15</div>
<div>pyxattr==0.5.1</div>
<div>rhnlib==2.5.75</div>
<div>scipy==0.12.1</div>
<div>seobject==0.1</div>
<div>sepolicy==1.1</div>
<div>setroubleshoot==1.1</div>
<div>six==1.9.0</div>
<div>slip==0.4.0</div>
<div>slip.dbus==0.4.0</div>
<div>stevedore==1.12.0</div>
<div>tables==3.2.0rc3</div>
<div>urlgrabber==3.10</div>
<div>virtualenv==15.0.1</div>
<div>virtualenv-clone==0.2.6</div>
<div>virtualenvwrapper==4.7.1</div>
<div>yum-metadata-parser==1.1.4</div>
</div>
<div><br>
</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>ome-users <<a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk">ome-users-bounces@lists.openmicroscopy.org.uk</a>> on behalf of "Aleksandra Tarkowska (Staff)" <<a href="mailto:A.Tarkowska@dundee.ac.uk">A.Tarkowska@dundee.ac.uk</a>><br>
<span style="font-weight:bold">Reply-To: </span>OME User Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, 28 April 2016 at 16:21<br>
<span style="font-weight:bold">To: </span>OME User Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [ome-users] Helping debugging web access<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">You shouldn’t modify anything</div>
<div class=""><br class="">
</div>
<div class="">How did you create virtualenv? with or without system-site-packages?</div>
<div class=""><br class="">
</div>
<div class="">could you show what is exactly in you virtualenv?</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">source /path_to_virtualenv/bin/active</div>
<div class="">pip freeze</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div apple-content-edited="true" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Ola</div>
<div apple-content-edited="true" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Software Engineer</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Open Microscopy Environment</div>
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
University of Dundee</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 28 Apr 2016, at 16:16, Shaun Hare <<a href="mailto:Shaun.Hare@nottingham.ac.uk" class="">Shaun.Hare@nottingham.ac.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div style="font-family: Calibri, sans-serif; font-size: 14px;" class="">Thanks ola – that is great apologies I am asking such low level questions but I don’t usually work with python</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;" class=""><br class="">
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;" class="">it seems to be a module issue  No module named django.core.wsgi</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;" class="">I have adjango install – running in the virtualenv </div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;" class="">
<div class="">pip freeze</div>
<div class="">backports.ssl-match-hostname==3.4.0.2</div>
<div class="">chardet==2.2.1</div>
<div class="">configobj==4.7.2</div>
<div class="">decorator==3.4.0</div>
<div class="">Django==1.8.12</div>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;" class=""><br class="">
</div>
<div style="widows: 1;" class=""><font face="Calibri,sans-serif" class="">Stack O indicates I need to change </font><span style="widows: 1; background-color: rgb(239, 240, 241);" class=""><font color="#858c93" face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" class=""><span style="font-size: 13px; white-space: inherit;" class="">wsgi.py
 cos </span><span style="font-size: 13px;" class="">I</span><span style="font-size: 13px; white-space: inherit;" class=""> am in virtualenv </span></font></span></div>
<div style="widows: 1;" class=""><span style="widows: 1; background-color: rgb(239, 240, 241);" class=""><font color="#858c93" face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" class=""><span style="font-size: 13px; white-space: inherit;" class=""><br class="">
</span></font></span></div>
<div style="widows: 1;" class=""><span style="widows: 1;" class=""><font color="#858c93" face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" class=""><span style="font-size: 13px; white-space: inherit; background-color: rgb(235, 236, 237);" class="">Is
 that necessary?</span></font></span></div>
<div style="widows: 1;" class=""><span style="widows: 1;" class=""><font color="#858c93" face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" class=""><span style="font-size: 13px; white-space: inherit; background-color: rgb(235, 236, 237);" class=""><br class="">
</span></font></span></div>
<div style="widows: 1;" class=""><span style="widows: 1;" class=""><font color="#858c93" face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" class=""><span style="font-size: 13px; white-space: inherit; background-color: rgb(235, 236, 237);" class="">Shaun</span></font></span></div>
<div style="widows: 1;" class=""><span style="widows: 1;" class=""><font color="#858c93" face="Consolas,Menlo,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace,sans-serif" class=""><span style="font-size: 13px; white-space: inherit; background-color: rgb(235, 236, 237);" class=""><br class="">
</span></font></span></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;" class="">
<div id="" class=""></div>
</div>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;" class=""><br class="">
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-family: Calibri, sans-serif; font-size: 14px;" class="">
<div style="font-family: Calibri; font-size: 12pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);" class="">
<span style="font-weight:bold" class="">From: </span>ome-users <<a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk" class="">ome-users-bounces@lists.openmicroscopy.org.uk</a>> on behalf of "Aleksandra Tarkowska (Staff)" <<a href="mailto:A.Tarkowska@dundee.ac.uk" class="">A.Tarkowska@dundee.ac.uk</a>><br class="">
<span style="font-weight:bold" class="">Reply-To: </span>OME User Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a>><br class="">
<span style="font-weight:bold" class="">Date: </span>Thursday, 28 April 2016 at 16:10<br class="">
<span style="font-weight:bold" class="">To: </span>OME User Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a>><br class="">
<span style="font-weight:bold" class="">Subject: </span>Re: [ome-users] Helping debugging web access<br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">
<div apple-content-edited="true" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<div class="">export PYTHONPATH=/home/omero/OMERO.server/lib/python:$PYTHONPATH</div>
<div class="">export PYTHONPATH=/home/omero/OMERO.server/lib/python/omeroweb:$PYTHONPATH</div>
<div class="">gunicorn -p /home/omero/OMERO.server/var/django.pid --bind 127.0.0.1:4080 --workers 5 --threads 1 --timeout 60 --max-requests 0 omeroweb.wsgi:application</div>
<div class=""><br class="">
</div>
<div class="">it should show you the error</div>
<div class=""><br class="">
</div>
Ola</div>
<div apple-content-edited="true" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Software Engineer</div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
Open Microscopy Environment</div>
<div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-ligatures: normal; font-variant-position: normal; font-variant-caps: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
University of Dundee</div>
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">On 28 Apr 2016, at 16:03, Shaun Hare <<a href="mailto:Shaun.Hare@nottingham.ac.uk" class="">Shaun.Hare@nottingham.ac.uk</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 14px; font-family: Calibri, sans-serif;" class="">
<div class="">
<div class="">Ola</div>
<div class=""><br class="">
</div>
<div class="">Doesn’t show any processes – just the grep e.g</div>
<div class=""><br class="">
</div>
<div class="">omero    10807  0.0  0.0 112776   980 pts/1    S+   16:02   0:00 grep --color=auto /home/omero/OMERO.server/var/django.pid</div>
<div class=""><br class="">
</div>
<div class="">Ps –aux | grep django is also nothing</div>
<div class=""><br class="">
</div>
<div class="">Shaun</div>
<div class="">
<div id="" class=""></div>
</div>
</div>
<div class=""><br class="">
</div>
<span id="OLK_SRC_BODY_SECTION" class="">
<div style="font-family: Calibri; font-size: 12pt; text-align: left; border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0in 0in; border-top-color: rgb(181, 196, 223);" class="">
<span style="font-weight:bold" class="">From: </span>ome-users <<a href="mailto:ome-users-bounces@lists.openmicroscopy.org.uk" class="">ome-users-bounces@lists.openmicroscopy.org.uk</a>> on behalf of "Aleksandra Tarkowska (Staff)" <<a href="mailto:A.Tarkowska@dundee.ac.uk" class="">A.Tarkowska@dundee.ac.uk</a>><br class="">
<span style="font-weight:bold" class="">Reply-To: </span>OME User Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a>><br class="">
<span style="font-weight:bold" class="">Date: </span>Thursday, 28 April 2016 at 15:53<br class="">
<span style="font-weight:bold" class="">To: </span>OME User Support List <<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a>><br class="">
<span style="font-weight:bold" class="">Subject: </span>Re: [ome-users] Helping debugging web access<br class="">
</div>
<div class=""><br class="">
</div>
<span style="font-family: -webkit-standard; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">`</span><span class="" style="font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Calibri, sans-serif;">ps
 aux | grep /home/omero/OMERO.server/var/django.pid` ?</span><span style="font-family: -webkit-standard; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""></span><br class="Apple-interchange-newline">
</span>
<pre class="">This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
</pre>
</div>
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" class="">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
<br class="">
<span style="font-size:10pt;" class="">The University of Dundee is a registered Scottish Charity, No: SC015096</span></div>
</div>
</span>
<pre class="">This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
</pre>
</div>
_______________________________________________<br class="">
ome-users mailing list<br class="">
<a href="mailto:ome-users@lists.openmicroscopy.org.uk" class="">ome-users@lists.openmicroscopy.org.uk</a><br class="">
<a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span></div>
</div>
</span>
<PRE>


This message and any attachment are intended solely for the addressee
and may contain confidential information. If you have received this
message in error, please send it back to me, and immediately delete it. 

Please do not use, copy or disclose the information contained in this
message or in any attachment.  Any views or opinions expressed by the
author of this email do not necessarily reflect the views of the
University of Nottingham.

This message has been checked for viruses but the contents of an
attachment may still contain software viruses which could damage your
computer system, you are advised to perform your own checks. Email
communications with the University of Nottingham may be monitored as
permitted by UK legislation.
</PRE></body>
</html>