Task #2561 (closed)
Opened 14 years ago
Closed 14 years ago
BUG: User Script sharing
Reported by: | wmoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | 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: | n.a. |
Sprint: | 2010-06-24 (12) |
Description (last modified by wmoore)
Uploaded a user script as one user, and tried to run it as another user, using their own user-processor.
This should work, right? I never tested it before!
Change History (4)
comment:1 Changed 14 years ago by wmoore
comment:2 Changed 14 years ago by wmoore
- Description modified (diff)
- Owner set to jmoore
The client simply gets this error...
File "adminWorkflow.py", line 438, in doWorkflow runScript(session, scriptService, commandArgs["script"]) File "adminWorkflow.py", line 201, in runScript 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.ResourceError: exception ::omero::ResourceError { serverStackTrace = serverExceptionClass = message = No processor available. }
comment:3 Changed 14 years ago by jmoore
- Component changed from General to Scripting
"script serve user" is a shortcut for "script serve user=<my user id>" which means that only files belonging to that user id will be launched. Can you try the same test with "user=<other users id>"?
comment:4 Changed 14 years ago by jmoore
- Resolution set to invalid
- Status changed from new to closed
Will verified that this works with "user=<id>"