Unable to run the script
Posted: Thu Feb 17, 2011 6:31 pm
Hi all,
I have problem with my script.
Very often time, I can't launch my script, which I can launch again right after restarting the server.
the error message is
more details are
is there any problem with my OMERO setting?
I have problem with my script.
Very often time, I can't launch my script, which I can launch again right after restarting the server.
the error message is
"Unable to run the script"
org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. Cannot run the script
more details are
java.lang.Exception: java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data.
Cannot run the script.
at org.openmicroscopy.shoola.env.data.views.ProcessBatchCall.doStep(ProcessBatchCall.java:101)
at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274)
at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
at java.lang.Thread.run(Unknown Source)
Caused by: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data.
Cannot run the script.
at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:802)
at org.openmicroscopy.shoola.env.data.OMEROGateway.runScript(OMEROGateway.java:6672)
at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.runScript(OmeroImageServiceImpl.java:902)
at org.openmicroscopy.shoola.env.data.views.calls.ScriptRunner$1.initialize(ScriptRunner.java:74)
at org.openmicroscopy.shoola.env.data.views.ProcessBatchCall.doStep(ProcessBatchCall.java:99)
... 6 more
Caused by: org.openmicroscopy.shoola.env.data.ProcessException: Cannot run script with ID:7655
at org.openmicroscopy.shoola.env.data.OMEROGateway.runScript(OMEROGateway.java:515)
at org.openmicroscopy.shoola.env.data.OMEROGateway.runScript(OMEROGateway.java:6670)
... 9 more
Caused by: omero.InternalException
serverStackTrace = "Traceback (most recent call last):
File "/usr0/local/omero.server/OMERO.server-Beta-4.2.1/lib/python/omero/util/decorators.py", line 61, in exc_handler
rv = func(*args, **kwargs)
File "/usr0/local/omero.server/OMERO.server-Beta-4.2.1/lib/python/omero/processor.py", line 819, in processJob
prx, process = self.process(client, session, job, current, params, iskill = True)
File "/usr0/local/omero.server/OMERO.server-Beta-4.2.1/lib/python/omero/util/decorators.py", line 28, in handler
return func(*args, **kwargs)
File "/usr0/local/omero.server/OMERO.server-Beta-4.2.1/lib/python/omero/processor.py", line 858, in process
process = ProcessI(self.ctx, "python", properties, params, iskill, omero_home = self.omero_home)
File "/usr0/local/omero.server/OMERO.server-Beta-4.2.1/lib/python/omero/processor.py", line 117, in __init__
self.make_files()
File "/usr0/local/omero.server/OMERO.server-Beta-4.2.1/lib/python/omero/processor.py", line 140, in make_files
self.dir = create_path("process", ".dir", folder = True)
File "/usr0/local/omero.server/OMERO.server-Beta-4.2.1/lib/python/omero/util/temp_files.py", line 338, in create_path
return manager.create_path(prefix, suffix, folder = folder)
File "/usr0/local/omero.server/OMERO.server-Beta-4.2.1/lib/python/omero/util/temp_files.py", line 266, in create_path
name = tempfile.mkdtemp(prefix = prefix, suffix = suffix, dir = self.dir)
File "/usr/lib64/python2.5/tempfile.py", line 328, in mkdtemp
_os.mkdir(file, 0700)
OSError: [Errno 13] Permission denied: '/afs/cs.cmu.edu/user/bhcho/omero/tmp/omero_bhcho/31342/processBF51VO.dir'
"
serverExceptionClass = ""
message = "Internal exception"
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
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.runScript(_IScriptDelM.java:508)
at omero.api.IScriptPrxHelper.runScript(IScriptPrxHelper.java:662)
at omero.api.IScriptPrxHelper.runScript(IScriptPrxHelper.java:634)
at org.openmicroscopy.shoola.env.data.OMEROGateway.runScript(OMEROGateway.java:511)
... 10 more
at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.showErrorDialog(UserNotifierImpl.java:159)
at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:246)
at org.openmicroscopy.shoola.env.ui.UserNotifierImpl.notifyError(UserNotifierImpl.java:218)
at org.openmicroscopy.shoola.env.ui.ActivityComponent.showException(ActivityComponent.java:480)
at org.openmicroscopy.shoola.env.ui.ActivityComponent.actionPerformed(ActivityComponent.java:957)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
is there any problem with my OMERO setting?