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.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8888 (new)

Opened 10 years ago

Last modified 10 years ago

Bug: Render with No Active Channels — at Version 2

Reported by: saloynton Owned by: cxallan
Priority: major Milestone: OMERO-Beta4.4
Component: Services Version: n.a.
Keywords: n.a. Cc: ajpatterson, wmoore
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by wmoore)

Split-view of thumbnails, missing images shown for images in dataset with no blue channels. Should have a space filler generated of correct size to preserve the layout.

  • OMERO-merge-blue - Build # 157

This is due to the fact that the rendering Engine throws an exception if you turn off all the channels then try to render

i = conn.getObject("Image", 145)
pid = i.getPixelsId()
re = conn.createRenderingEngine()
re.lookupPixels(pid)
re.load()
pd = omero.romio.PlaneDef()
pd.z = 10
pd.t = 0
re.renderCompressed(pd)       # OK
re.setActive(0, False)              # This is a single-channel image
re.renderCompressed(pd) 

  File "/Users/will/Desktop/OMERO/dist/lib/python/omero_api_RenderingEngine_ice.py", line 326, in renderCompressed
    return _M_omero.api.RenderingEngine._op_renderCompressed.invoke(self, ((_def, ), _ctx))
omero.ApiUsageException: exception ::omero::ApiUsageException
{
    serverStackTrace = ome.conditions.ApiUsageException: No active channel bindings found.
	at omeis.providers.re.GreyScaleStrategy.findFirstActiveChannelBinding(GreyScaleStrategy.java:274)
	at omeis.providers.re.GreyScaleStrategy.renderAsPackedInt(GreyScaleStrategy.java:131)
	at omeis.providers.re.Renderer.renderAsPackedInt(Renderer.java:511)

Change History (3)

Changed 10 years ago by saloynton

comment:1 Changed 10 years ago by jburel

  • Cc wmoore added
  • Component changed from Insight to Web
  • Owner changed from jburel to web-team@…

This is an issue in Web

comment:2 Changed 10 years ago by wmoore

  • Component changed from Web to Services
  • Description modified (diff)
  • Owner changed from web-team@… to cxallan
  • Summary changed from Bug: Split-view of thumbnails missing images to Bug: Render with No Active Channels
Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

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

We're Hiring!