<div dir="ltr">Sure,<div><br></div><div>This is RHEL5.7 and it has python2.4.3 as a default, but I've installed separate python instance 2.6</div><div><br></div><div>Here is how I've installed python:</div><div><div>
NEW Python2.6 and modules installation:</div><div>---------------------------------------</div><div>1. Add EPEL repository to the system.</div><div><br></div><div># python -V</div><div># wget <a href="http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm">http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm</a></div>
<div># rpm -ivh epel-release-5-4.noarch.rpm</div><div><br></div><div>2. Disable this repository (no joke), otherwise it tries always to update stuff and will break other python packages!</div><div>Edit the file /etc/yum.repos.d/epel.repo and set everywhere “enabled=0</div>
<div><br></div><div># yum install gcc httpd-devel rpm-build atlas-devel blas-devel gcc-gfortran gcc-c++ httpd</div><div># yum install hdf5 hdf5-devel lzo bzip2 lzo-devel bzip2-libs bzip2-devel</div><div># yum install python26-setuptools python26 python26-devel python26-distribute python26-libs python26-simplejson mod_python26 --enablerepo=epel</div>
<div># easy_install-2.6 pip</div><div># pip-2.6 install virtualenv</div><div><br></div><div>2.1. Omero python scripts using "#!/usr/bin/env python" to find python executable.</div><div>So to work around this issue and point Omero to python2.6 we'll do:</div>
<div><br></div><div>[root@vera144 srv]# ln -s /usr/bin/python2.6 /usr/local/bin/python</div><div>[root@vera144 srv]# export PATH=/usr/local/bin:$PATH</div></div><div><br></div><div><div>4. Install python modules via pip:</div>
<div>[root@vera144 srv]# export PATH=/usr/local/bin:$PATH</div><div>no need to install this one - (# yum install freetype freetype-devel libpng libpng-devel libjpeg libjpeg-devel jpeg jpeg-devel)</div><div># yum install libjpeg-devel zlib-devel freetype-devel libpng libpng-devel</div>
<div><br></div><div>[root@vera144 srv]# pip install Distutils2</div><div>[root@vera144 srv]# pip install PIL</div><div>[root@vera144 srv]# pip install numpy</div><div>[root@vera144 srv]# pip install Cython</div><div>[root@vera144 srv]# pip search numexpr</div>
<div>[root@vera144 srv]# pip install -U <a href="http://www.pytables.org/svn/pytables/trunk">http://www.pytables.org/svn/pytables/trunk</a></div><div># pip install matplotlib</div><div>[root@vera144 srv]# pip install django</div>
</div><div><br></div><div>That's it.</div><div><br></div><div>I've even tried to reinstall PIL from source:</div><div><br></div><div>[root@vera144 Imaging-1.1.7]# wget <a href="http://effbot.org/downloads/Imaging-1.1.7.tar.gz">http://effbot.org/downloads/Imaging-1.1.7.tar.gz</a></div>
<div>[root@vera144 Imaging-1.1.7]# tar -xvzf Imaging-1.1.7.tar.gz</div><div><div>[root@vera144 Imaging-1.1.7]# cd Imaging-1.1.7</div></div><div>[root@vera144 Imaging-1.1.7]# python setup.py install</div><div><br></div><div>
<br></div><div><div dir="ltr"><span style="border-collapse: collapse; "><div style="font-family: arial, sans-serif; font-size: 13px; ">But I'm still getting this error:</div><div style="font-family: arial, sans-serif; font-size: 13px; ">
<br></div><div><div><font class="Apple-style-span" face="arial, sans-serif">Mon, 15 Aug 2011 13:37:29 webclient_gateway ERROR Traceback (most recent call last):</font></div><div><font class="Apple-style-span" face="arial, sans-serif"> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 687, in getExperimenterPhoto</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"> photo = self.getExperimenterDefaultPhoto()</font></div><div><font class="Apple-style-span" face="arial, sans-serif"> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 778, in getExperimenterDefaultPhoto</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"> img = Image.open(settings.DEFAULT_USER)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">NameError: global name 'Image' is not defined</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Mon, 15 Aug 2011 13:37:30 views-feedback ERROR handler500: Server error</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Mon, 15 Aug 2011 13:37:30 views-feedback ERROR Traceback (most recent call last):</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="arial, sans-serif"> File "/srv/omeroserver/lib/python/django/core/handlers/base.py", line 92, in get_response</font></div><div><font class="Apple-style-span" face="arial, sans-serif"> response = callback(request, *callback_args, **callback_kwargs)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif"> File "/srv/omeroserver/lib/python/omeroweb/webclient/views.py", line 165, in wrapped</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"> return f(request, *args, **kwargs)</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif"> File "/srv/omeroserver/lib/python/omeroweb/webclient/views.py", line 2366, in myphoto</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"> photo = conn.getExperimenterPhoto()</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif"> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 690, in getExperimenterPhoto</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"> photo = self.getExperimenterDefaultPhoto()</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif"> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 778, in getExperimenterDefaultPhoto</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"> img = Image.open(settings.DEFAULT_USER)</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">NameError: global name 'Image' is not defined</font></div>
</div><div style="font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="font-family: arial, sans-serif; font-size: 13px; ">But I can import Image from command line:</div>
<div style="font-family: arial, sans-serif; font-size: 13px; "><br></div><div><div><font class="Apple-style-span" face="arial, sans-serif">[omero@vera144 ~]$ python</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Python 2.6.5 (r265:79063, Feb 28 2011, 21:55:45)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">[GCC 4.1.2 20080704 (Red Hat 4.1.2-50)] on linux2</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Type "help", "copyright", "credits" or "license" for more information.</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">>>> import Image</font></div><div><font class="Apple-style-span" face="arial, sans-serif">>>></font></div><div style="font-family: arial, sans-serif; font-size: 13px; ">
<br></div></div><div style="font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="font-family: arial, sans-serif; font-size: 13px; ">Here are my diagnostic messages:</div><div><div><font class="Apple-style-span" face="arial, sans-serif">[omero@vera144 ~]$ /srv/omeroserver/bin/omero admin diagnostics</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">================================================================================</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">OMERO Diagnostics 4.3.1-6d4b8c61-b2602</font></div><div><font class="Apple-style-span" face="arial, sans-serif">================================================================================</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Commands: java -version 1.6.0 (/usr/bin/java)</font></div>
<div>
<font class="Apple-style-span" face="arial, sans-serif">Commands: python -V 2.6.5 (/usr/local/bin/python -- 2 others)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Commands: icegridnode --version 3.3.1 (/opt/Ice-3.3.1/bin/icegridnode)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Commands: icegridadmin --version 3.3.1 (/opt/Ice-3.3.1/bin/icegridadmin)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Commands: psql --version 9.0.3 (/srv/PostgresPlus/9.0SS/bin/psql)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Server: icegridnode running</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Server: Blitz-0 active (pid = 30320, enabled)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Server: DropBox active (pid = 30618, enabled)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Server: FileServer active (pid = 30331, enabled)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Server: Indexer-0 active (pid = 30336, enabled)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Server: MonitorServer active (pid = 30351, enabled)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Server: OMERO.Glacier2 active (pid = 30343, enabled)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Server: OMERO.IceStorm active (pid = 30350, enabled)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Server: PixelData-0 active (pid = 30338, enabled)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Server: Processor-0 active (pid = 30339, enabled)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Server: Tables-0 active (pid = 30340, enabled)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Server: TestDropBox inactive (enabled)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Log dir: /srv/omeroserver/var/log exists</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br>
</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Log files: Blitz-0.log 10.0 MB errors=3 warnings=249</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Log files: DropBox.log 25.0 KB errors=14 warnings=12</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Log files: FileServer.log 2.0 KB</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Log files: Indexer-0.log 75.0 KB errors=7 warnings=12</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Log files: MonitorServer.log 9.0 KB errors=0 warnings=5</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Log files: OMEROweb.log 206.0 KB errors=190 warnings=146</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Log files: PixelData-0.log 16.0 KB errors=7 warnings=3</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Log files: Processor-0.log 15.0 KB errors=1 warnings=13</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Log files: Tables-0.log 1.0 KB</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Log files: TestDropBox.log n/a</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Log files: master.err 4.0 KB</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Log files: master.out 0.0 KB</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Log files: Total size 11.19 MB</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Parsing Blitz-0.log:[line:98] => Server restarted <=</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Parsing Blitz-0.log:[line:10390] => Server restarted <=</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Parsing Blitz-0.log:[line:18613] => Server restarted <=</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Parsing Blitz-0.log:[line:53397] => Server restarted <=</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Parsing Blitz-0.log:[line:55026] => Server restarted <=</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Parsing Blitz-0.log:[line:61481] => Server restarted <=</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Parsing Blitz-0.log:[line:65245] => Server restarted <=</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">Environment:OMERO_HOME=(unset)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Environment:OMERO_NODE=(unset)</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Environment:OMERO_MASTER=(unset)</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Environment:PATH=/usr/local/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/opt/Ice-3.3.1:/opt/Ice-3.3.1/bin:/srv/PostgresPlus/9.0SS/bin:/srv/PostgresPlus/9.0SS/pgbouncer/bin:/srv/PostgresPlus/9.0SS/pgAdmin3/bin:/srv/omeroserver/bin</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Environment:ICE_HOME=/opt/Ice-3.3.1</font></div><div><font class="Apple-style-span" face="arial, sans-serif">Environment:LD_LIBRARY_PATH=/opt/Ice-3.3.1/lib64:/usr/lib64:/srv/PostgresPlus/9.0SS/pgAdmin3/lib:/srv/PostgresPlus/9.0SS/pgAgent/lib:/srv/PostgresPlus/9.0SS/lib:</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">Environment:DYLD_LIBRARY_PATH=/opt/Ice-3.3.1/lib64:/usr/lib64:</font></div><div><font class="Apple-style-span" face="arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="arial, sans-serif">OMERO data dir: '/srv/omerodata/omero.144' Exists? True Is writable? True</font></div>
<div><font class="Apple-style-span" face="arial, sans-serif">OMERO.web status... [RUNNING] (PID 3637)</font></div><div style="font-family: arial, sans-serif; font-size: 13px; "><br></div></div><div style="font-family: arial, sans-serif; font-size: 13px; ">
What seems to be the problem?</div><div style="color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; "><br></div><div style="color: rgb(80, 0, 80); font-family: arial, sans-serif; font-size: 13px; ">Leon Kolchinsky</div>
</span></div><br>
<br><br><div class="gmail_quote">On Mon, Aug 15, 2011 at 22:32, Chris Allan <span dir="ltr"><<a href="mailto:callan@lifesci.dundee.ac.uk">callan@lifesci.dundee.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Couple things:<br>
<div class="im"><br>
"You need to install the Python Imaging Library. Get it at <a href="http://www.pythonware.com/products/pil/" target="_blank">http://www.pythonware.com/products/pil/</a>"<br>
<br>
</div>Have you got that anywhere in your OMEROweb.log?<br>
<br>
Could you give us some idea about your deployment platform? Is this RHEL6? Have you compiled your own Python? Could you give us the output of "bin/omero admin diagnostics"?<br>
<font color="#888888"><br>
-Chris<br>
</font><div><div></div><div class="h5"><br>
On 15 Aug 2011, at 13:12, Leon Kolchinsky wrote:<br>
<br>
> Hello Wiil,<br>
><br>
> I've reinstalled PIL using pip:<br>
><br>
> # pip install -U PIL<br>
> PIL 1.1.7 SETUP SUMMARY<br>
> --------------------------------------------------------------------<br>
> version 1.1.7<br>
> platform linux2 2.6.5 (r265:79063, Feb 28 2011, 21:55:45)<br>
> [GCC 4.1.2 20080704 (Red Hat 4.1.2-50)]<br>
> --------------------------------------------------------------------<br>
> *** TKINTER support not available<br>
> --- JPEG support available<br>
> --- ZLIB (PNG/ZIP) support available<br>
> --- FREETYPE2 support available<br>
> *** LITTLECMS support not available<br>
> --------------------------------------------------------------------<br>
> To add a missing option, make sure you have the required<br>
> library, and set the corresponding ROOT variable in the<br>
> setup.py script.<br>
><br>
> To check the build, run the selftest.py script.<br>
> changing mode of build/scripts-2.6/pilprint.py from 644 to 755<br>
> changing mode of build/scripts-2.6/pilfont.py from 644 to 755<br>
> changing mode of build/scripts-2.6/pilconvert.py from 644 to 755<br>
> changing mode of build/scripts-2.6/pilfile.py from 644 to 755<br>
> changing mode of build/scripts-2.6/pildriver.py from 644 to 755<br>
> changing mode of /usr/bin/pilprint.py to 755<br>
> changing mode of /usr/bin/pilfont.py to 755<br>
> changing mode of /usr/bin/pilconvert.py to 755<br>
> changing mode of /usr/bin/pilfile.py to 755<br>
> changing mode of /usr/bin/pildriver.py to 755<br>
> Successfully installed PIL<br>
> Cleaning up...<br>
><br>
><br>
> The problem still persists ;(<br>
> When I login to webclient I'm getting this in the OMEROweb.log while clicking on "My account" link:<br>
><br>
> Mon, 15 Aug 2011 13:09:36 blitz_gateway INFO created connection (uuid=d6f0a2b2-c22c-4969-9849-2435fa7dcecb)<br>
> Mon, 15 Aug 2011 13:09:36 views-admin INFO Have connection as Guest<br>
> Mon, 15 Aug 2011 13:09:36 views-admin INFO Client version: '4.3.1-6d4b8c61-b2602'; Server version: '4.3.1-6d4b8c61-b2602'<br>
> Mon, 15 Aug 2011 13:09:36 webgateway INFO getBlitzConnection(host=<a href="http://vera144.its.mydomain.edu.au" target="_blank">vera144.its.mydomain.edu.au</a>, port=4064, ssl=False, username=myuser)<br>
> Mon, 15 Aug 2011 13:09:36 blitz_gateway INFO created connection (uuid=5bcc0d30-76d1-48bb-8bdb-f8df778497da)<br>
> Mon, 15 Aug 2011 13:09:41 omero.util.UpgradeCheck INFO no update needed<br>
> Mon, 15 Aug 2011 13:09:41 utils ERROR Up to date.<br>
><br>
> Mon, 15 Aug 2011 13:09:42 blitz_gateway INFO created connection (uuid=5bcc0d30-76d1-48bb-8bdb-f8df778497da)<br>
> Mon, 15 Aug 2011 13:09:42 blitz_gateway INFO created connection (uuid=5bcc0d30-76d1-48bb-8bdb-f8df778497da)<br>
> Mon, 15 Aug 2011 13:09:59 webclient_gateway ERROR Traceback (most recent call last):<br>
> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 687, in getExperimenterPhoto<br>
> photo = self.getExperimenterDefaultPhoto()<br>
> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 778, in getExperimenterDefaultPhoto<br>
> img = Image.open(settings.DEFAULT_USER)<br>
> NameError: global name 'Image' is not defined<br>
><br>
> Mon, 15 Aug 2011 13:10:00 views-feedback ERROR handler500: Server error<br>
> Mon, 15 Aug 2011 13:10:00 views-feedback ERROR Traceback (most recent call last):<br>
><br>
> File "/srv/omeroserver/lib/python/django/core/handlers/base.py", line 92, in get_response<br>
> response = callback(request, *callback_args, **callback_kwargs)<br>
><br>
> File "/srv/omeroserver/lib/python/omeroweb/webclient/views.py", line 165, in wrapped<br>
> return f(request, *args, **kwargs)<br>
><br>
> File "/srv/omeroserver/lib/python/omeroweb/webclient/views.py", line 2366, in myphoto<br>
> photo = conn.getExperimenterPhoto()<br>
><br>
> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 690, in getExperimenterPhoto<br>
> photo = self.getExperimenterDefaultPhoto()<br>
><br>
> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 778, in getExperimenterDefaultPhoto<br>
> img = Image.open(settings.DEFAULT_USER)<br>
><br>
> NameError: global name 'Image' is not defined<br>
><br>
> Any idea how to fix it?<br>
><br>
> Cheers,<br>
> Leon Kolchinsky<br>
><br>
><br>
><br>
> On Mon, Aug 15, 2011 at 15:09, Will Moore <<a href="mailto:will@lifesci.dundee.ac.uk">will@lifesci.dundee.ac.uk</a>> wrote:<br>
> Hi,<br>
><br>
> This looks like a failure to import PIL (python imaging library).<br>
><br>
> You should be seeing in your log (var/lob/OMERO-web.log) something like this:<br>
> "You need to install the Python Imaging Library. Get it at <a href="http://www.pythonware.com/products/pil/" target="_blank">http://www.pythonware.com/products/pil/</a>"<br>
><br>
> There are also some mentions on our install pages of how to install PIL.<br>
> Although it's not really needed in this case (default user photo is not critical) you will find that various other features of the webclient are also dependent on PIL.<br>
><br>
> Will.<br>
><br>
><br>
> On 15 Aug 2011, at 02:11, Leon Kolchinsky wrote:<br>
><br>
>> Hello,<br>
>><br>
>> I'm getting those messages from the system while new users log into Omero web client.<br>
>> Any tips on how to fix it or if it's OK, how to stop those messages?<br>
>><br>
>> Traceback (most recent call last):<br>
>><br>
>> File "/srv/omeroserver/lib/python/django/core/handlers/base.py", line 92, in get_response<br>
>> response = callback(request, *callback_args, **callback_kwargs)<br>
>><br>
>> File "/srv/omeroserver/lib/python/omeroweb/webclient/views.py", line 165, in wrapped<br>
>> return f(request, *args, **kwargs)<br>
>><br>
>> File "/srv/omeroserver/lib/python/omeroweb/webclient/views.py", line 2366, in myphoto<br>
>> photo = conn.getExperimenterPhoto()<br>
>><br>
>> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 690, in getExperimenterPhoto<br>
>> photo = self.getExperimenterDefaultPhoto()<br>
>><br>
>> File "/srv/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 778, in getExperimenterDefaultPhoto<br>
>> img = Image.open(settings.DEFAULT_USER)<br>
>><br>
>> NameError: global name 'Image' is not defined<br>
>><br>
>><br>
>> <WSGIRequest<br>
>> GET:<QueryDict: {}>,<br>
>> POST:<QueryDict: {}>,<br>
>> COOKIES:{'__utma': '192312886.1704004095.1303085135.1312265964.1313025486.33',<br>
>> '__utmz': '192312886.1312265964.32.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=mydomain%20eResearch',<br>
>> 'sessionid': '9ce727d572e0871b3d042549a2a582f7'},<br>
>> META:{'DOCUMENT_ROOT': '/var/www/html',<br>
>> 'GATEWAY_INTERFACE': 'CGI/1.1',<br>
>> 'HTTP_ACCEPT': '*/*',<br>
>> 'HTTP_ACCEPT_ENCODING': 'gzip, deflate',<br>
>> 'HTTP_ACCEPT_LANGUAGE': 'en-us',<br>
>> 'HTTP_CONNECTION': 'keep-alive',<br>
>> 'HTTP_COOKIE': 'sessionid=9ce727d572e0871b3d042549a2a582f7; __utma=175132154.1224947860.1303083934.1309411927.1313033085.5; __utmz=175132154.1306203174.3.2.utmccn=(organic)|utmcsr=google|utmctr=it+service+desk+mydomain|utmcmd=organic; __utmz=192312886.1312265964.32.21.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=mydomain%20eResearch; __utma=192312886.1704004095.1303085135.1312265964.1313025486.33',<br>
>> 'HTTP_HOST': '<a href="http://vera144.its.mydomain.edu.au" target="_blank">vera144.its.mydomain.edu.au</a>',<br>
>> 'HTTP_REFERER': '<a href="http://vera144.its.mydomain.edu.au/webclient/upload_myphoto/" target="_blank">http://vera144.its.mydomain.edu.au/webclient/upload_myphoto/</a>',<br>
>> 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50',<br>
>> 'PATH': '/sbin:/usr/sbin:/bin:/usr/bin',<br>
>> 'PATH_INFO': u'/webclient/myphoto/',<br>
>> 'PATH_TRANSLATED': '/srv/omeroserver/var/omero.fcgi/webclient/myphoto/',<br>
>> 'QUERY_STRING': '',<br>
>> 'REMOTE_ADDR': '130.194.148.244',<br>
>> 'REMOTE_PORT': '49846',<br>
>> 'REQUEST_METHOD': 'GET',<br>
>> 'REQUEST_URI': '/webclient/myphoto/',<br>
>> 'SCRIPT_FILENAME': '/srv/omeroserver/var/omero.fcgi',<br>
>> 'SCRIPT_NAME': u'',<br>
>> 'SERVER_ADDR': '130.194.245.189',<br>
>> 'SERVER_ADMIN': 'root@localhost',<br>
>> 'SERVER_NAME': '<a href="http://vera144.its.mydomain.edu.au" target="_blank">vera144.its.mydomain.edu.au</a>',<br>
>> 'SERVER_PORT': '80',<br>
>> 'SERVER_PROTOCOL': 'HTTP/1.1',<br>
>> 'SERVER_SIGNATURE': '<address>Apache/2.2.3 (Red Hat) Server at <a href="http://vera144.its.mydomain.edu.au" target="_blank">vera144.its.mydomain.edu.au</a> Port 80</address>\n',<br>
>> 'SERVER_SOFTWARE': 'Apache/2.2.3 (Red Hat)',<br>
>> 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x1d1cc890>,<br>
>> 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x1d1cc410>,<br>
>> 'wsgi.multiprocess': True,<br>
>> 'wsgi.multithread': False,<br>
>> 'wsgi.run_once': False,<br>
>> 'wsgi.url_scheme': 'http',<br>
>> 'wsgi.version': (1, 0)}><br>
>><br>
>><br>
>> Cheers,<br>
>> Leon Kolchinsky<br>
>><br>
>> _______________________________________________<br>
>> ome-users mailing list<br>
>> <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
>> <a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
><br>
> William Moore<br>
> Wellcome Trust Centre for Gene Regulation & Expression<br>
> College of Life Sciences<br>
> MSI/WTB/JBC Complex<br>
> University of Dundee<br>
> Dow Street<br>
> Dundee DD1 5EH<br>
> United Kingdom<br>
><br>
> Phone 01382 386364<br>
> <a href="http://openmicroscopy.org" target="_blank">http://openmicroscopy.org</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> ome-users mailing list<br>
> <a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a><br>
> <a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users" target="_blank">http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a><br>
<br>
</div></div></blockquote></div><br></div></div>