Task #2253 (closed)
Opened 14 years ago
Closed 14 years ago
Allow redirecting from legacy IO services to repositories ( Part I:RFS )
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.2 |
Component: | OmeroFs | Version: | n.a. |
Keywords: | n.a. | Cc: | cxallan, cblackburn, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2010-04-30 (8) |
Description
User does:
rfs = sf.createRawFileStore(); rfs.setId(id)
This shouldn't go boom, but should redirect itself to the appropriate repository.
Change History (6)
comment:1 Changed 14 years ago by jmoore
- Cc jburel added
- Priority changed from minor to critical
- Sprint set to 2010-04-30 (8)
comment:2 Changed 14 years ago by wmoore
Is this the same bug?
====================================================================== ERROR: testUploadOfficalScript (__main__.TestScripts) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/integration/scripts.py", line 65, in testUploadOfficalScript params = scriptService.getParams(id) File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero_api_IScript_ice.py", line 137, in getParams return _M_omero.api.IScript._op_getParams.invoke(self, ((scriptID, ), _ctx)) InternalException: exception ::omero::InternalException { serverStackTrace = serverExceptionClass = message = Sha1s don't match! expected 7770c2360ff7a83452d88caea8e35332e075b19e, found ccc7233c89087da6c7b484f5be578595e3162c0d }
Commit test in a sec.
comment:3 Changed 14 years ago by wmoore
comment:4 Changed 14 years ago by jmoore
comment:5 Changed 14 years ago by jmoore
comment:6 Changed 14 years ago by jmoore
- Remaining Time changed from 0.5 to 0
- Resolution set to fixed
- Status changed from new to closed
- Summary changed from Allow redirecting from legacy IO services to repositories to Allow redirecting from legacy IO services to repositories ( Part I:RFS )
Restricting this ticket to just redirecting for RawFileStore. RawPixelStore and ThumbnailStore may also need work in the future.
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
From Jean-Marie:
This is caused by omero.client.download in processor.py downloading a most likely completely empty file. This will need to either use a new method SharedResources.findRepositoryForFile or by enabling the IO switching.