Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.

Changes between Initial Version and Version 2 of Ticket #8888


Ignore:
Timestamp:
05/24/2012 04:55:34 PM (10 years ago)
Author:
wmoore
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8888

    • Property Owner changed from jburel to cxallan
    • Property Cc wmoore added
    • Property Component changed from Insight to Services
    • Property Summary changed from Bug: Split-view of thumbnails missing images to Bug: Render with No Active Channels
  • Ticket #8888 – Description

    initial v2  
    22 
    33 * OMERO-merge-blue - Build # 157 
     4 
     5 
     6This is due to the fact that the rendering Engine throws an exception if you turn off all the channels then try to render 
     7 
     8{{{ 
     9i = conn.getObject("Image", 145) 
     10pid = i.getPixelsId() 
     11re = conn.createRenderingEngine() 
     12re.lookupPixels(pid) 
     13re.load() 
     14pd = omero.romio.PlaneDef() 
     15pd.z = 10 
     16pd.t = 0 
     17re.renderCompressed(pd)       # OK 
     18re.setActive(0, False)              # This is a single-channel image 
     19re.renderCompressed(pd)  
     20 
     21  File "/Users/will/Desktop/OMERO/dist/lib/python/omero_api_RenderingEngine_ice.py", line 326, in renderCompressed 
     22    return _M_omero.api.RenderingEngine._op_renderCompressed.invoke(self, ((_def, ), _ctx)) 
     23omero.ApiUsageException: exception ::omero::ApiUsageException 
     24{ 
     25    serverStackTrace = ome.conditions.ApiUsageException: No active channel bindings found. 
     26        at omeis.providers.re.GreyScaleStrategy.findFirstActiveChannelBinding(GreyScaleStrategy.java:274) 
     27        at omeis.providers.re.GreyScaleStrategy.renderAsPackedInt(GreyScaleStrategy.java:131) 
     28        at omeis.providers.re.Renderer.renderAsPackedInt(Renderer.java:511) 
     29 
     30}}} 

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.14170 sec.)

We're Hiring!