Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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)

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)
    at

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.

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

(In [6802]) Test for ticket. See #2253.

comment:4 Changed 14 years ago by jmoore

(In [6810]) see #2253 - Redirecting IO on RawFileStore.setFileId

comment:5 Changed 14 years ago by jmoore

(In [6814]) Various fixes to have scripting running again. See #1341, #2304, #2261, #2253

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.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.95680 sec.)

We're Hiring!