Task #5849 (closed)
Opened 13 years ago
Closed 13 years ago
Bug: detachOnDestroy is not observed
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | blocker | Milestone: | OMERO-Beta4.3 |
Component: | OmeroPy | Version: | n.a. |
Keywords: | n.a. | Cc: | cneves |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-06-16 (14) |
Description (last modified by jmoore)
Python 2.6.6 (r266:84292, Dec 30 2010, 16:35:14) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import omero >>> c = omero.client("localhost") >>> s = c.createSession("root","omero") s.g>>> s.getSessionId() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'ServiceFactoryPrx' object has no attribute 'getSessionId' >>> c.getSessionId() '4c6fd788-d0a2-4e97-975e-1c07a318fb6d' >>> import time >>> time.ctime() 'Thu Jun 9 21:39:32 2011' >>> time.ctime() 'Thu Jun 9 21:46:48 2011' >>> time.ctime() 'Thu Jun 9 21:55:06 2011' >>> s.getAdminService() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero_API_ice.py", line 204, in getAdminService return _M_omero.api.ServiceFactory._op_getAdminService.invoke(self, ((), _ctx)) Ice.ConnectionLostException: Ice.ConnectionLostException: recv() returned zero >>> c.closeSession() >>> c.joinSession("4c6fd788-d0a2-4e97-975e-1c07a318fb6d") Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/clients.py", line 400, in joinSession return self.createSession(session, session) File "/Users/moore/GlencoeSoftware.git/git/omero.git/dist/lib/python/omero/clients.py", line 454, in createSession prx = self.getRouter(self.__ic).createSession(username, password, ctx) File "/opt/Ice-3.3.1-64/python/Glacier2_Router_ice.py", line 107, in createSession return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx)) Glacier2.PermissionDeniedException: exception ::Glacier2::PermissionDeniedException { reason = Password check failed }
Change History (2)
comment:1 Changed 13 years ago by jmoore
- Description modified (diff)
- Remaining Time set to 0.5
- Sprint set to 2011-06-16 (14)
- Status changed from new to accepted
comment:2 Changed 13 years ago by jmoore <josh@…>
- Remaining Time changed from 0.5 to 0
- Resolution set to fixed
- Status changed from accepted to closed
(In [573d6e4dc2a7f422ed1211a26f27716b20f4139b/ome.git] on branch develop) Reuse SessionCache code for reloading (Fix #5849)
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Tested upcoming release with the following script:
Console output:
Log: