Task #2509 (closed)
Opened 9 years ago
Closed 9 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 9 years ago by wmoore
- Component changed from General to Scripting
- Owner set to jmoore
- Priority changed from minor to blocker
comment:2 Changed 9 years ago by jmoore
- Status changed from new to assigned
comment:3 Changed 9 years ago by jmoore
- Remaining Time set to 0
- Resolution set to fixed
- Status changed from assigned to closed
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
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 }