@(7a189d8...) /tmp/chris/components/tools/OmeroPy $ PYTHONPATH=$PYTHONPATH:build/lib:test python test/gatewaytest/get_objects.py ..I to findByQuery(('select obj from Annotation obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.textValue=:textValue', object #0 (::omero::sys::Parameters) { map = { key = textValue value = object #1 (::omero::RString) { _val = FindThisTag } } theFilter = theOptions = }), {}) Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 2985, in __call__ return self.f(*args, **kwargs) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero_api_IQuery_ice.py", line 133, in findByQuery return _M_omero.api.IQuery._op_findByQuery.invoke(self, ((query, params), _ctx)) ApiUsageException: exception ::omero::ApiUsageException { serverStackTrace = ome.conditions.ApiUsageException: Query named: select obj from Annotation obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.textValue=:textValue has returned more than one Object findBy methods must return a single value. Please try findAllBy methods for queries which return Lists. at ome.logic.QueryImpl.throwNonUnique(QueryImpl.java:376) at ome.logic.QueryImpl.findByQuery(QueryImpl.java:368) at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.EventHandler.invoke(EventHandler.java:165) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy73.findByQuery(Unknown Source) at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy73.findByQuery(Unknown Source) at sun.reflect.GeneratedMethodAccessor463.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) at ome.services.throttling.Callback.run(Callback.java:56) at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:136) at ome.services.blitz.impl.QueryI.findByQuery_async(QueryI.java:92) at omero.api._IQueryTie.findByQuery_async(_IQueryTie.java:113) at omero.api._IQueryDisp.___findByQuery(_IQueryDisp.java:342) at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) serverExceptionClass = ome.conditions.ApiUsageException message = Query named: select obj from Annotation obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.textValue=:textValue has returned more than one Object findBy methods must return a single value. Please try findAllBy methods for queries which return Lists. } E..WARNING:blitz_gateway:ApiUsageException on to <2603779f-c247-4360-ab24-6806c825bf99omero.api.IQuery> findByQuery(('select obj from Annotation obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent', object #0 (::omero::sys::Parameters) { map = { } theFilter = theOptions = }), {}) Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 2985, in __call__ return self.f(*args, **kwargs) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero_api_IQuery_ice.py", line 133, in findByQuery return _M_omero.api.IQuery._op_findByQuery.invoke(self, ((query, params), _ctx)) ApiUsageException: exception ::omero::ApiUsageException { serverStackTrace = ome.conditions.ApiUsageException: Query named: select obj from Annotation obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent has returned more than one Object findBy methods must return a single value. Please try findAllBy methods for queries which return Lists. at ome.logic.QueryImpl.throwNonUnique(QueryImpl.java:376) at ome.logic.QueryImpl.findByQuery(QueryImpl.java:368) at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.EventHandler.invoke(EventHandler.java:165) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy73.findByQuery(Unknown Source) at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy73.findByQuery(Unknown Source) at sun.reflect.GeneratedMethodAccessor463.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) at ome.services.throttling.Callback.run(Callback.java:56) at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:136) at ome.services.blitz.impl.QueryI.findByQuery_async(QueryI.java:92) at omero.api._IQueryTie.findByQuery_async(_IQueryTie.java:113) at omero.api._IQueryDisp.___findByQuery(_IQueryDisp.java:342) at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) serverExceptionClass = ome.conditions.ApiUsageException message = Query named: select obj from Annotation obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent has returned more than one Object findBy methods must return a single value. Please try findAllBy methods for queries which return Lists. } .EWARNING:omero.client:Ignoring error in client.__del__: Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 316, in __del__ self.closeSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 749, in closeSession self.getRouter(oldIc).destroySession() File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 113, in destroySession return _M_Glacier2.Router._op_destroySession.invoke(self, ((), _ctx)) SocketException: Ice.SocketException: Too many open files EWARNING:omero.client:Ignoring error in client.__del__: Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 316, in __del__ self.closeSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 749, in closeSession self.getRouter(oldIc).destroySession() File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 113, in destroySession return _M_Glacier2.Router._op_destroySession.invoke(self, ((), _ctx)) SocketException: Ice.SocketException: Too many open files EWARNING:omero.client:Ignoring error in client.__del__: Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 316, in __del__ self.closeSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 749, in closeSession self.getRouter(oldIc).destroySession() File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 113, in destroySession return _M_Glacier2.Router._op_destroySession.invoke(self, ((), _ctx)) SocketException: Ice.SocketException: Too many open files WARNING:omero.client:Ignoring error in client.__del__: Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 316, in __del__ self.closeSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 749, in closeSession self.getRouter(oldIc).destroySession() File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 113, in destroySession return _M_Glacier2.Router._op_destroySession.invoke(self, ((), _ctx)) SyscallException: Ice.SyscallException: Too many open files EWARNING:omero.client:Ignoring error in client.__del__: Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 316, in __del__ self.closeSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 749, in closeSession self.getRouter(oldIc).destroySession() File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 113, in destroySession return _M_Glacier2.Router._op_destroySession.invoke(self, ((), _ctx)) SyscallException: Ice.SyscallException: Too many open files WARNING:omero.client:Ignoring error in client.__del__: Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 316, in __del__ self.closeSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 749, in closeSession self.getRouter(oldIc).destroySession() File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 113, in destroySession return _M_Glacier2.Router._op_destroySession.invoke(self, ((), _ctx)) SyscallException: Ice.SyscallException: Too many open files EWARNING:omero.client:Ignoring error in client.__del__: Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 316, in __del__ self.closeSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 749, in closeSession self.getRouter(oldIc).destroySession() File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 113, in destroySession return _M_Glacier2.Router._op_destroySession.invoke(self, ((), _ctx)) SyscallException: Ice.SyscallException: Too many open files EE ====================================================================== ERROR: testFindAnnotation (__main__.FindObjectTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/gatewaytest/get_objects.py", line 146, in testFindAnnotation find_tag = self.gateway.getObject("Annotation", attributes={"textValue":tag_value}) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 2291, in getObject result = self.getQueryService().findByQuery(query, params) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 2988, in __call__ return self.handle_exception(e, *args, **kwargs) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 2985, in __call__ return self.f(*args, **kwargs) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero_api_IQuery_ice.py", line 133, in findByQuery return _M_omero.api.IQuery._op_findByQuery.invoke(self, ((query, params), _ctx)) ApiUsageException: exception ::omero::ApiUsageException { serverStackTrace = ome.conditions.ApiUsageException: Query named: select obj from Annotation obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.textValue=:textValue has returned more than one Object findBy methods must return a single value. Please try findAllBy methods for queries which return Lists. at ome.logic.QueryImpl.throwNonUnique(QueryImpl.java:376) at ome.logic.QueryImpl.findByQuery(QueryImpl.java:368) at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.EventHandler.invoke(EventHandler.java:165) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:111) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:108) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.tools.hibernate.ProxyCleanupFilter$Interceptor.invoke(ProxyCleanupFilter.java:231) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.util.ServiceHandler.invoke(ServiceHandler.java:116) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy73.findByQuery(Unknown Source) at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at ome.security.basic.BasicSecurityWiring.invoke(BasicSecurityWiring.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at ome.services.blitz.fire.AopContextInitializer.invoke(AopContextInitializer.java:43) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy73.findByQuery(Unknown Source) at sun.reflect.GeneratedMethodAccessor463.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at ome.services.blitz.util.IceMethodInvoker.invoke(IceMethodInvoker.java:179) at ome.services.throttling.Callback.run(Callback.java:56) at ome.services.throttling.InThreadThrottlingStrategy.callInvokerOnRawArgs(InThreadThrottlingStrategy.java:56) at ome.services.blitz.impl.AbstractAmdServant.callInvokerOnRawArgs(AbstractAmdServant.java:136) at ome.services.blitz.impl.QueryI.findByQuery_async(QueryI.java:92) at omero.api._IQueryTie.findByQuery_async(_IQueryTie.java:113) at omero.api._IQueryDisp.___findByQuery(_IQueryDisp.java:342) at omero.api._IQueryDisp.__dispatch(_IQueryDisp.java:508) at IceInternal.Incoming.invoke(Incoming.java:159) at Ice.ConnectionI.invokeAll(ConnectionI.java:2037) at Ice.ConnectionI.message(ConnectionI.java:972) at IceInternal.ThreadPool.run(ThreadPool.java:577) at IceInternal.ThreadPool.access$100(ThreadPool.java:12) at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:971) serverExceptionClass = ome.conditions.ApiUsageException message = Query named: select obj from Annotation obj join fetch obj.details.owner as owner join fetch obj.details.group join fetch obj.details.creationEvent where obj.textValue=:textValue has returned more than one Object findBy methods must return a single value. Please try findAllBy methods for queries which return Lists. } ====================================================================== ERROR: testGetExperimenter (__main__.GetObjectTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/gatewaytest/get_objects.py", line 239, in setUp super(GetObjectTest, self).setUp() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 54, in setUp self.prepTestDB() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 126, in prepTestDB dbhelpers.bootstrap() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 394, in bootstrap p = p.create() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 203, in create client = USERS[self.owner].login() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 99, in login if not client.connect(): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1564, in connect self._createSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1474, in _createSession self.setSecure(self.secure) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1447, in setSecure self.c = self.c.createClient(secure=secure) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 306, in createClient nClient.joinSession(self.getSessionId()) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 410, in joinSession return self.createSession(session, session) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 464, in createSession prx = self.getRouter(self.__ic).createSession(username, password, ctx) File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 107, in createSession return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx)) SyscallException: Ice.SyscallException: Too many open files ====================================================================== ERROR: testGetImage (__main__.GetObjectTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/gatewaytest/get_objects.py", line 239, in setUp super(GetObjectTest, self).setUp() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 54, in setUp self.prepTestDB() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 126, in prepTestDB dbhelpers.bootstrap() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 389, in bootstrap client = loginAsRoot() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 41, in loginAsRoot return login(ROOT) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 45, in login return alias.login() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 99, in login if not client.connect(): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1564, in connect self._createSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1474, in _createSession self.setSecure(self.secure) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1445, in setSecure self.c = oldC.createClient(secure=secure) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 306, in createClient nClient.joinSession(self.getSessionId()) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 410, in joinSession return self.createSession(session, session) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 464, in createSession prx = self.getRouter(self.__ic).createSession(username, password, ctx) File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 107, in createSession return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx)) SyscallException: Ice.SyscallException: Too many open files ====================================================================== ERROR: testGetProject (__main__.GetObjectTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/gatewaytest/get_objects.py", line 239, in setUp super(GetObjectTest, self).setUp() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 54, in setUp self.prepTestDB() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 126, in prepTestDB dbhelpers.bootstrap() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 389, in bootstrap client = loginAsRoot() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 41, in loginAsRoot return login(ROOT) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 45, in login return alias.login() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 99, in login if not client.connect(): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1564, in connect self._createSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1474, in _createSession self.setSecure(self.secure) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1445, in setSecure self.c = oldC.createClient(secure=secure) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 303, in createClient nClient = omero.client(props) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/__init__.py", line 28, in client return omero.clients.BaseClient(*args, **kwargs) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 131, in __init__ self._initData(id) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 263, in _initData self.__oa = self.__ic.createObjectAdapter("omero.ClientCallback") File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Ice.py", line 274, in createObjectAdapter adapter = self._impl.createObjectAdapter(name) SocketException: Ice.SocketException: Too many open files ====================================================================== ERROR: testListExperimentersAndGroups (__main__.GetObjectTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/gatewaytest/get_objects.py", line 239, in setUp super(GetObjectTest, self).setUp() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 54, in setUp self.prepTestDB() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 126, in prepTestDB dbhelpers.bootstrap() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 389, in bootstrap client = loginAsRoot() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 41, in loginAsRoot return login(ROOT) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 45, in login return alias.login() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 99, in login if not client.connect(): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1564, in connect self._createSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1464, in _createSession self._ic_props[omero.constants.PASSWORD]) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 464, in createSession prx = self.getRouter(self.__ic).createSession(username, password, ctx) File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 107, in createSession return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx)) SyscallException: Ice.SyscallException: Too many open files ====================================================================== ERROR: testListProjects (__main__.GetObjectTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/gatewaytest/get_objects.py", line 239, in setUp super(GetObjectTest, self).setUp() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 54, in setUp self.prepTestDB() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 126, in prepTestDB dbhelpers.bootstrap() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 389, in bootstrap client = loginAsRoot() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 41, in loginAsRoot return login(ROOT) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 45, in login return alias.login() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 99, in login if not client.connect(): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1564, in connect self._createSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1464, in _createSession self._ic_props[omero.constants.PASSWORD]) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 464, in createSession prx = self.getRouter(self.__ic).createSession(username, password, ctx) File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 107, in createSession return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx)) SocketException: Ice.SocketException: Too many open files ====================================================================== ERROR: testSearchObjects (__main__.GetObjectTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/gatewaytest/get_objects.py", line 239, in setUp super(GetObjectTest, self).setUp() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 54, in setUp self.prepTestDB() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 126, in prepTestDB dbhelpers.bootstrap() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 389, in bootstrap client = loginAsRoot() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 40, in loginAsRoot refreshConfig() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/dbhelpers.py", line 31, in refreshConfig bg = omero.gateway.BlitzGateway() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1208, in __init__ self._resetOmeroClient() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1499, in _resetOmeroClient self.c = omero.client(pmap=['--Ice.Config='+','.join(self.ice_config)]) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/__init__.py", line 28, in client return omero.clients.BaseClient(*args, **kwargs) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 118, in __init__ id.properties = Ice.createProperties(args) File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Ice.py", line 524, in createProperties properties = IcePy.createProperties(args, defaults) FileException: exception ::Ice::FileException { error = 24 path = /Users/moore/ice.config } ====================================================================== ERROR: testTraversal (__main__.GetObjectTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/gatewaytest/get_objects.py", line 239, in setUp super(GetObjectTest, self).setUp() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 47, in setUp self.doDisconnect() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/scripts/testdb_create.py", line 69, in doDisconnect self.gateway = omero.client_wrapper(group='system', try_super=True) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/__init__.py", line 24, in client_wrapper return omero.gateway.BlitzGateway(*args, **kwargs) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1208, in __init__ self._resetOmeroClient() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/gateway/__init__.py", line 1499, in _resetOmeroClient self.c = omero.client(pmap=['--Ice.Config='+','.join(self.ice_config)]) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/__init__.py", line 28, in client return omero.clients.BaseClient(*args, **kwargs) File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 118, in __init__ id.properties = Ice.createProperties(args) File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Ice.py", line 524, in createProperties properties = IcePy.createProperties(args, defaults) FileException: exception ::Ice::FileException { error = 24 path = /Users/moore/ice.config } ---------------------------------------------------------------------- Ran 13 tests in 116.833s FAILED (errors=8) WARNING:omero.client:Ignoring error in client.__del__: Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 316, in __del__ self.closeSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 749, in closeSession self.getRouter(oldIc).destroySession() File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 113, in destroySession return _M_Glacier2.Router._op_destroySession.invoke(self, ((), _ctx)) SyscallException: Ice.SyscallException: Too many open files WARNING:omero.client:Ignoring error in client.__del__: Traceback (most recent call last): File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 316, in __del__ self.closeSession() File "/private/tmp/chris/components/tools/OmeroPy/build/lib/omero/clients.py", line 749, in closeSession self.getRouter(oldIc).destroySession() File "/usr/local/Cellar/zeroc-ice33/3.3.1/python/Glacier2_Router_ice.py", line 113, in destroySession return _M_Glacier2.Router._op_destroySession.invoke(self, ((), _ctx)) SyscallException: Ice.SyscallException: Too many open files