[ome-users] thumbnails not visible for group members

MEYENHOFER Felix felix.meyenhofer at unifr.ch
Fri Oct 12 08:45:01 BST 2018


Hi Jean-Marie

yes, we tried that. There are several owners of the group, but the thumbnails only are visible to administrators, being owner of the group seems not to be enough. 

Best regards, 

Felix

> On 3 Oct 2018, at 15:53 , Jean-Marie Burel (Staff) <j.burel at dundee.ac.uk> wrote:
> 
> Hi Felix
> 
> Thanks for reporting the issue
> We will need to investigate and see what happened after chown and chgrp
> commands.
> Did you try to browse the project as the new owner in the new target
> group. I assume the new owner is a member of the group.
> 
> Cheers
> 
> Jmarie
> 
> On 02/10/2018, 10:29, "ome-users on behalf of MEYENHOFER Felix"
> <ome-users-bounces at lists.openmicroscopy.org.uk on behalf of
> felix.meyenhofer at unifr.ch> wrote:
> 
>> Hello
>> 
>> I have currently the problem, that the thumbnails of the image data are
>> not shown when a group member browses projects and datasets in OMERO.web.
>> It seems the only users that can see the thumbnails are administrators.
>> 
>> The re-occuring error is:
>> 
>> 2018-10-01 21:19:25,295 WARNI [                           omero.gateway]
>> (proc.23336) debug():4623 ApiUsageException on <class
>> 'omeroweb.webclient.webclient_gateway.OmeroWebSafeCallWrapper'> to
>> <6c637789-a0b3-41d7-896b-b76b5094dfd9omero.api.ThumbnailStore>
>> resetDefaults((<ServiceOptsDict: {'omero.session.uuid':
>> 'e9ab7aeb-7a0a-4cca-a040-7c2c8691563b', 'omero.group': '655',
>> 'omero.client.uuid': '5fe7868d-f6ba-4bde-b261-b406a25cc331'}>,), {})
>> Traceback (most recent call last):
>> File "/home/omero/OMERO.py/lib/python/omero/gateway/__init__.py", line
>> 4641, in __call__
>>   return self.f(*args, **kwargs)
>> File "/home/omero/OMERO.py/lib/python/omero_api_ThumbnailStore_ice.py",
>> line 1136, in resetDefaults
>>   return _M_omero.api.ThumbnailStore._op_resetDefaults.invoke(self,
>> ((), _ctx))
>> ApiUsageException: exception ::omero::ApiUsageException
>> {
>>   serverStackTrace = ome.conditions.ApiUsageException: Unable to reset
>> rendering settings in a read-only group for Pixels set id:4341
>> at ome.services.ThumbnailBean.resetDefaults(ThumbnailBean.java:1355)
>> at sun.reflect.GeneratedMethodAccessor1151.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>> pUtils.java:307)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>> nt(ReflectiveMethodInvocation.java:183)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:150)
>> at ome.security.basic.EventHandler.invoke(EventHandler.java:153)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:216)
>> at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:200)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
>> TransactionInterceptor.java:108)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilt
>> er.java:249)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>> roxy.java:202)
>> at com.sun.proxy.$Proxy98.resetDefaults(Unknown Source)
>> at sun.reflect.GeneratedMethodAccessor1151.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>> pUtils.java:307)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>> nt(ReflectiveMethodInvocation.java:183)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:150)
>> at
>> ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:93)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer
>> .java:43)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>> roxy.java:202)
>> at com.sun.proxy.$Proxy98.resetDefaults(Unknown Source)
>> at sun.reflect.GeneratedMethodAccessor1224.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:172)
>> at ome.services.throttling.Callback.run(Callback.java:56)
>> at
>> ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(In
>> ThreadThrottlingStrategy.java:56)
>> at
>> ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAm
>> dServant.java:140)
>> at
>> ome.services.blitz.impl.ThumbnailStoreI.resetDefaults_async(ThumbnailStore
>> I.java:131)
>> at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>> pUtils.java:307)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>> nt(ReflectiveMethodInvocation.java:183)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:150)
>> at omero.cmd.CallContext.invoke(CallContext.java:78)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>> roxy.java:202)
>> at com.sun.proxy.$Proxy99.resetDefaults_async(Unknown Source)
>> at
>> omero.api._ThumbnailStoreTie.resetDefaults_async(_ThumbnailStoreTie.java:1
>> 68)
>> at
>> omero.api._ThumbnailStoreDisp.___resetDefaults(_ThumbnailStoreDisp.java:86
>> 1)
>> at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:999)
>> at IceInternal.Incoming.invoke(Incoming.java:221)
>> at Ice.ConnectionI.invokeAll(ConnectionI.java:2536)
>> at Ice.ConnectionI.dispatch(ConnectionI.java:1145)
>> at Ice.ConnectionI.message(ConnectionI.java:1056)
>> at IceInternal.ThreadPool.run(ThreadPool.java:395)
>> at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
>> at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:832)
>> at java.lang.Thread.run(Thread.java:748)
>> 
>>   serverExceptionClass = ome.conditions.ApiUsageException
>>   message = Unable to reset rendering settings in a read-only group for
>> Pixels set id:4341
>> }
>> 2018-10-01 21:19:25,296 ERROR [                           omero.gateway]
>> (proc.23336) getThumbnail():8314 Traceback (most recent call last):
>> File "/home/omero/OMERO.py/lib/python/omero/gateway/__init__.py", line
>> 8257, in getThumbnail
>>   tb = self._prepareTB(rdefId=rdefId)
>> File "/home/omero/OMERO.py/lib/python/omero/gateway/__init__.py", line
>> 8136, in _prepareTB
>>   tb.resetDefaults(ctx)
>> File "/home/omero/OMERO.py/lib/python/omero/gateway/__init__.py", line
>> 4644, in __call__
>>   return self.handle_exception(e, *args, **kwargs)
>> File
>> "/home/omero/OMERO.py/lib/python/omeroweb/webclient/webclient_gateway.py",
>> line 2099, in handle_exception
>>   e, *args, **kwargs)
>> File "/home/omero/OMERO.py/lib/python/omero/gateway/__init__.py", line
>> 4641, in __call__
>>   return self.f(*args, **kwargs)
>> File "/home/omero/OMERO.py/lib/python/omero_api_ThumbnailStore_ice.py",
>> line 1136, in resetDefaults
>>   return _M_omero.api.ThumbnailStore._op_resetDefaults.invoke(self,
>> ((), _ctx))
>> ApiUsageException: exception ::omero::ApiUsageException
>> {
>>   serverStackTrace = ome.conditions.ApiUsageException: Unable to reset
>> rendering settings in a read-only group for Pixels set id:4341
>> at ome.services.ThumbnailBean.resetDefaults(ThumbnailBean.java:1355)
>> at sun.reflect.GeneratedMethodAccessor1151.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>> pUtils.java:307)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>> nt(ReflectiveMethodInvocation.java:183)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:150)
>> at ome.security.basic.EventHandler.invoke(EventHandler.java:153)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at ome.tools.hibernate.SessionHandler.doStateful(SessionHandler.java:216)
>> at ome.tools.hibernate.SessionHandler.invoke(SessionHandler.java:200)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(
>> TransactionInterceptor.java:108)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilt
>> er.java:249)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:121)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>> roxy.java:202)
>> at com.sun.proxy.$Proxy98.resetDefaults(Unknown Source)
>> at sun.reflect.GeneratedMethodAccessor1151.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>> pUtils.java:307)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>> nt(ReflectiveMethodInvocation.java:183)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:150)
>> at
>> ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:93)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer
>> .java:43)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>> roxy.java:202)
>> at com.sun.proxy.$Proxy98.resetDefaults(Unknown Source)
>> at sun.reflect.GeneratedMethodAccessor1224.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:172)
>> at ome.services.throttling.Callback.run(Callback.java:56)
>> at
>> ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(In
>> ThreadThrottlingStrategy.java:56)
>> at
>> ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAm
>> dServant.java:140)
>> at
>> ome.services.blitz.impl.ThumbnailStoreI.resetDefaults_async(ThumbnailStore
>> I.java:131)
>> at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
>> pl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(Ao
>> pUtils.java:307)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoi
>> nt(ReflectiveMethodInvocation.java:183)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:150)
>> at omero.cmd.CallContext.invoke(CallContext.java:78)
>> at
>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Refle
>> ctiveMethodInvocation.java:172)
>> at
>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopP
>> roxy.java:202)
>> at com.sun.proxy.$Proxy99.resetDefaults_async(Unknown Source)
>> at
>> omero.api._ThumbnailStoreTie.resetDefaults_async(_ThumbnailStoreTie.java:1
>> 68)
>> at
>> omero.api._ThumbnailStoreDisp.___resetDefaults(_ThumbnailStoreDisp.java:86
>> 1)
>> at omero.api._ThumbnailStoreDisp.__dispatch(_ThumbnailStoreDisp.java:999)
>> at IceInternal.Incoming.invoke(Incoming.java:221)
>> at Ice.ConnectionI.invokeAll(ConnectionI.java:2536)
>> at Ice.ConnectionI.dispatch(ConnectionI.java:1145)
>> at Ice.ConnectionI.message(ConnectionI.java:1056)
>> at IceInternal.ThreadPool.run(ThreadPool.java:395)
>> at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
>> at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:832)
>> at java.lang.Thread.run(Thread.java:748)
>> 
>>   serverExceptionClass = ome.conditions.ApiUsageException
>>   message = Unable to reset rendering settings in a read-only group for
>> Pixels set id:4341
>> }
>> 
>> 
>> The error started to appear after a chown and chgrp command on a given
>> project.
>> 
>> would regenerating the thumbnails help?
>> 
>> Best regards,
>> 
>> Felix
>> 
>> 
>> 
>> _______________________________________________
>> 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
> _______________________________________________
> ome-users mailing list
> ome-users at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users



More information about the ome-users mailing list