Task #10406 (closed)
Opened 6 years ago
Closed 6 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)
Change History (7)
Changed 6 years ago by pwalczysko
Changed 6 years ago by pwalczysko
comment:1 Changed 6 years ago by jmoore
- Sprint FS Demo 2 deleted
comment:2 Changed 6 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 6 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?
comment:4 Changed 6 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
Not included in fs demo 2 tag. Removing from sprint