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 #10406 (closed)

Opened 11 years ago

Closed 11 years ago

BUG: Insert (birds eye) in Web for format .vsi

Reported by: pwalczysko Owned by: web-team@…
Priority: major Milestone: 5.0.0-beta1
Component: Web Version: n.a.
Keywords: FS Cc: fs@…, ux@…,
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description

On Gretzky, imported
test_images_good/cellsens/anda/Image_01_V76 K2 11_lung.vsi [Image_01_V76 K2 11_lung.vsi]

Insight:
Opening, scaling and panning okay. Insert (bird's eye) loaded up quickly.

Web:
Opening scaling and panning in the viewer okay, but the bird's eye is not being loaded even after > 2h after opening the image in full viewer (see screenshot).
wmoore advised that this is a server-side problem.

Attachments (3)

birds eye never loads up.png (445.3 KB) - added by pwalczysko 11 years ago.
birds eye when closed cannot be reopened.png (562.8 KB) - added by pwalczysko 11 years ago.
Screen shot 2013-05-31 at 11.49.27.png (1.4 MB) - added by wmoore 11 years ago.
Open in web viewer (bit slow)

Change History (7)

Changed 11 years ago by pwalczysko

Changed 11 years ago by pwalczysko

comment:1 Changed 11 years ago by jmoore

  • Sprint FS Demo 2 deleted

Not included in fs demo 2 tag. Removing from sprint

comment:2 Changed 11 years ago by wmoore

If I import the image above via CLI and then try to view thumbs in the web I get

2013-05-31 10:14:54,748 ERROR [                           omero.gateway] (proc.20342) getThumbnail:6330 Traceback (most recent call last):
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 6283, in getThumbnail
    tb = self._prepareTB()
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 6185, in _prepareTB
    tb.setPixelsId(pid, self._conn.SERVICE_OPTS)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 3462, in __call__
    return self.handle_exception(e, *args, **kwargs)
  File "/Users/will/Desktop/OMERO/components/tools/OmeroWeb/omeroweb/webclient/webclient_gateway.py", line 1941, in handle_exception
    e, *args, **kwargs)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero/gateway/__init__.py", line 3459, in __call__
    return self.f(*args, **kwargs)
  File "/Users/will/Desktop/OMERO/dist/lib/python/omero_api_ThumbnailStore_ice.py", line 131, in setPixelsId
    return _M_omero.api.ThumbnailStore._op_setPixelsId.invoke(self, ((pixelsId, ), _ctx))
SecurityViolation: exception ::omero::SecurityViolation
{
    serverStackTrace = ome.conditions.SecurityViolation: isGraphCriticalCheck: not enough context
	at ome.security.basic.CurrentDetails.isGraphCritical(CurrentDetails.java:204)
	at ome.security.basic.BasicSecuritySystem.isGraphCritical(BasicSecuritySystem.java:302)
	at ome.services.ThumbnailCtx.isExtendedGraphCritical(ThumbnailCtx.java:614)
	at ome.services.ThumbnailCtx.loadAndPrepareRenderingSettings(ThumbnailCtx.java:239)
	at ome.services.ThumbnailCtx.loadAndPrepareRenderingSettings(ThumbnailCtx.java:176)
	at ome.services.ThumbnailBean.setPixelsId(ThumbnailBean.java:276)
...
	at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:643)
	at java.lang.Thread.run(Thread.java:680)

    serverExceptionClass = ome.conditions.SecurityViolation
    message = isGraphCriticalCheck: not enough context
}

After a while (few minutes) I can refresh and I get the thumbnail OK.

On importing via Insight, I simply see the "clock' thumbnail for this image and "Not a valid Image" when I try to open it

comment:3 Changed 11 years ago by jamoore

This is the difference between using the thumbnail set methods (which fail more silently) and setPixelsId. We'll need to move some logic from the set methods into setPixelsId to make this behave better. J-m: or is there some other special handling that's going on?

Changed 11 years ago by wmoore

Open in web viewer (bit slow)

comment:4 Changed 11 years ago by wmoore

  • Resolution set to worksforme
  • Status changed from new to closed

Now that we use the thumbnail for bird's eye view (and maybe other changes too) this seems to be working for me, although is a bit slow on my local server. https://trac.openmicroscopy.org.uk/ome/attachment/ticket/10406/Screen%20shot%202013-05-31%20at%2011.49.27.png

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.63704 sec.)

We're Hiring!