[ome-users] Line plot in web UI

Aleksandra Tarkowska A.Tarkowska at dundee.ac.uk
Thu May 23 13:42:45 BST 2013


Hi Philippe

What platform do you use? is it MAC OS X?
How did you install Python Image Library (PIL)

Ola



On 23 May 2013, at 09:33, Philippe Mailly <philippe.mailly at college-de-france.fr<mailto:philippe.mailly at college-de-france.fr>> wrote:

Hi Ola,

It's not linked to a particular image. It append for all images that I test on this server. The OMEROweb.log errors are :

File "/opt/OMERO/OMERO.server/lib/python/django/core/handlers/base.py", line 111, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/opt/OMERO/OMERO.server/lib/python/omeroweb/webgateway/views.py", line 1005, in wrap
    return f(request, *args, **kwargs)

  File "/opt/OMERO/OMERO.server/lib/python/omeroweb/decorators.py", line 377, in wrapped
    retval = f(request, *args, **kwargs)

  File "/opt/OMERO/OMERO.server/lib/python/omeroweb/webgateway/views.py", line 1075, in render_row_plot
    gif_data = img.renderRowLinePlotGif(int(z),int(t),int(y), int(w))

  File "/opt/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 5709, in wrapped
    return f(self, *args, **kwargs)

  File "/opt/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 7124, in renderRowLinePlotGif
    draw.rectangle([0, 0, width-1, base], fill=self.LP_TRANSPARENT, outline=self.LP_TRANSPARENT)

  File "/usr/lib/python2.7/dist-packages/PIL/ImageDraw.py", line 246, in rectangle
    ink, fill = self._getink(outline, fill)

  File "/usr/lib/python2.7/dist-packages/PIL/ImageDraw.py", line 144, in _getink
    if self.palette and not Image.isNumberType(ink):

AttributeError: 'module' object has no attribute 'isNumberType'

2013-05-23 09:27:40,300 ERROR [                 omeroweb.feedback.views] (proc.27973) handler500:141 handler500: Server error
2013-05-23 09:27:40,300 ERROR [                 omeroweb.feedback.views] (proc.27973) handler500:143 Traceback (most recent call last):


Thanks

Philippe


Le 23/05/13 10:17, Aleksandra Tarkowska a écrit :
In addition to my previous email, could you first check log files on the server? There might be an error in omero_dir/var/log/OMEROweb.log or OMEROweb_request.log

Thanks
Ola


On 23 May 2013, at 09:11, A. Tarkowska <A.Tarkowska at dundee.ac.uk<mailto:A.Tarkowska at dundee.ac.uk>> wrote:

Hi Philippe

Could you please give us more details about this particular image, such as file format, etc. Would you be able to send this image to me directly?


Ola



On 23 May 2013, at 08:37, Philippe Mailly <philippe.mailly at college-de-france.fr<mailto:philippe.mailly at college-de-france.fr>> wrote:

Hi,

It's seem that the line plot function in the web interface doesn't work. I got a error message "error loading line plot". With OMERO.insight the line plot works. I use OMERO 4.4.8 on Ubuntu 13.04 server and the web interface through Apache.
On an other OMERO server 4.4.5 I have now problem with line plot in web access.

Philippe
<philippe_mailly.vcf>_______________________________________________
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

<philippe_mailly.vcf>


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/20130523/d77c2164/attachment.html>


More information about the ome-users mailing list