Task #2253 (closed)
Opened 9 years ago
Closed 9 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 9 years ago by jmoore
- Cc jburel added
- Priority changed from minor to critical
- Sprint set to 2010-04-30 (8)
comment:2 Changed 9 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 9 years ago by wmoore
comment:4 Changed 9 years ago by jmoore
comment:5 Changed 9 years ago by jmoore
comment:6 Changed 9 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:
trying to load make movie.py serverStackTrace = "" serverExceptionClass = "" message = "Sha1s don't match! expected db20c35172db1741018364c56906cd7bf7c1ed3d, found 038fda17df9fe1e8665ed41c4dc3ade6bfe01f12" at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:501) at java.lang.Class.newInstance0(Class.java:350) at java.lang.Class.newInstance(Class.java:303) at IceInternal.BasicStream$DynamicUserExceptionFactory.createAndThrow(BasicStream.java:2243) at IceInternal.BasicStream.throwException(BasicStream.java:1632) at IceInternal.Outgoing.throwUserException(Outgoing.java:442) at omero.api._IScriptDelM.getParams(_IScriptDelM.java:138) atThis 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.