[ome-users] Plot line error

Aleksandra Tarkowska A.Tarkowska at dundee.ac.uk
Tue May 28 09:37:52 BST 2013


Hi Philippe

Sorry in the delay to respond to you. It seems to be the PIL issue. Did you try the following patch?

https://github.com/python-imaging/Pillow/pull/140

Thanks
Ola


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

Hi,

The plot line functionality don't work in the web interface. I got the error message in the web log:

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

 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'

The OMERO server 4.4.8 run under Ubuntu 13.04 and python math libraries are installed. And I have no problem with the Insight module.


Philippe


<philippe_mailly.vcf>_______________________________________________
ome-users mailing list
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20130528/c4a4ccc9/attachment.html>


More information about the ome-users mailing list