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 #2509 (closed)

Opened 14 years ago

Closed 14 years ago

BUG: Script getScripts()

Reported by: wmoore Owned by: jamoore
Priority: blocker Milestone: OMERO-Beta4.2
Component: Scripting Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2010-06-10 (11)

Description

Stack trace below.

Change History (3)

comment:1 Changed 14 years ago by wmoore

  • Component changed from General to Scripting
  • Owner set to jmoore
  • Priority changed from minor to blocker

Go to the /examples folder and try...

wjm:examples will$ python ScriptingService/adminWorkflow.py -s localhost -u root -p omero -f ScriptingService/HelloWorld.py upload params

Traceback (most recent call last):
  File "ScriptingService/adminWorkflow.py", line 443, in <module>
    getParams(scriptService, commandArgs["script"])
  File "ScriptingService/adminWorkflow.py", line 176, in getParams
    params = scriptService.getParams(scriptId)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero_api_IScript_ice.py", line 138, in getParams
    return _M_omero.api.IScript._op_getParams.invoke(self, ((scriptID, ), _ctx))
omero.InternalException: exception ::omero::InternalException
{
    serverStackTrace = Traceback (most recent call last):
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/util/decorators.py", line 61, in exc_handler
    rv = func(*args, **kwargs)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/processor.py", line 794, in parseJob
    prx, process = self.process(client, session, job, current, None, properties, iskill)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/util/decorators.py", line 28, in handler
    return func(*args, **kwargs)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/processor.py", line 855, in process
    client.download(file, str(process.script_path))
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero/clients.py", line 644, in download
    prx.setFileId(ofile.id.val)
  File "/Users/will/Documents/workspace/Omero/dist/lib/python/omero_api_RawFileStore_ice.py", line 85, in setFileId
    return _M_omero.api.RawFileStore._op_setFileId.invoke(self, ((fileId, ), _ctx))
UnknownException: exception ::Ice::UnknownException
{
    unknown = java.lang.IllegalStateException: Must provide principal
	at ome.services.util.Executor$Impl.execute(Executor.java:325)
	at ome.services.blitz.repo.PublicRepositoryI.getFile(PublicRepositoryI.java:1100)
	at ome.services.blitz.repo.PublicRepositoryI.file(PublicRepositoryI.java:609)
	at omero.grid._RepositoryDisp.___file(_RepositoryDisp.java:494)
	at omero.grid._RepositoryDisp.__dispatch(_RepositoryDisp.java:737)
	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 = 
    message = Internal exception
}

comment:2 Changed 14 years ago by jmoore

  • Status changed from new to assigned

comment:3 Changed 14 years ago by jmoore

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [7282]) Removing unprotected state in PublicRepository. (Fix #2509)

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.116486 sec.)

We're Hiring!