[ome-devel] No Processor Available

Josh Moore josh at glencoesoftware.com
Mon Aug 13 10:56:04 BST 2012


On Aug 2, 2012, at 9:25 AM, Rubén Muñoz wrote:

> Hi Josh,

Hi Rubén,

> Sorry for the delay.

Same here! :)

> After a summer break we have been upgrading to 4.4
> We never did changes to the omero directory different than installing one script: 
> 
> $bin/omero script upload metadata/makecomment.py

Do you want this to be a script that anyone can run? If so, you will need to pass the "--official" flag? (Alternatively, you can copy the script directly to $OMERO_HOME/lib/scripts)

If a script is not uploaded as "official", then it can only be run by a locally run processor:

  bin/omero script serve user

> With 4.4  looks great, all the data is accessible, but the scripts still do not run. 
> I have just tried the preinstalled ones, all them seem to give similar error page.

That sounds like a more serious issue. Can you send the output of `bin/omero script list` and the Processor-0.log for the execution of one of those official scripts?

Cheers,
~Josh

> P.D.: We have detected issues with the new ImageJ Insight plugin but not related. 
> 
> Hope you can help us with some instructions. 
> 
> My best,
> 
> Rubén
> 
> NoProcessorAvailable at /webclient/script_ui/4252/
> exception ::omero::NoProcessorAvailable
> {
>    serverStackTrace = 
>    serverExceptionClass = 
>    message = No processor available! [1 response(s)]
>    processorCount = 1
> }
> Request Method:	GET
> Request URL:	http://www.lenartlab.embl.de:4080/webclient/script_ui/4252/?Image=4810
> Django Version:	1.3.1
> Exception Type:	NoProcessorAvailable
> Exception Value:	
> exception ::omero::NoProcessorAvailable
> {
>    serverStackTrace = 
>    serverExceptionClass = 
>    message = No processor available! [1 response(s)]
>    processorCount = 1
> }
> Exception Location:	/opt/omero/lib/python/omero_api_IScript_ice.py in getParams, line 138
> Python Executable:	/usr/bin/python
> Python Version:	2.6.6
> Python Path:	
> ['/opt/omero/lib/python/omeroweb',
> '/opt/Ice-3.3/python',
> '/opt/omero/lib/python',
> '/opt/omero/var/lib',
> '/opt/omero/lib/fallback',
> '/usr/lib64/python26.zip',
> '/usr/lib64/python2.6',
> '/usr/lib64/python2.6/plat-linux2',
> '/usr/lib64/python2.6/lib-tk',
> '/usr/lib64/python2.6/lib-old',
> '/usr/lib64/python2.6/lib-dynload',
> '/usr/lib64/python2.6/site-packages',
> '/usr/lib64/python2.6/site-packages/gst-0.10',
> '/usr/lib64/python2.6/site-packages/gtk-2.0',
> '/usr/lib64/python2.6/site-packages/webkit-1.0',
> '/usr/lib/python2.6/site-packages',
> '/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info']
> Server time:	Thu, 2 Aug 2012 08:20:51 +0100
> 
> 
> Environment:
> 
> 
> Request Method: GET
> Request URL: http://www.lenartlab.embl.de:4080/webclient/script_ui/4252/?Image=4810
> 
> Django Version: 1.3.1
> Python Version: 2.6.6
> Installed Applications:
> ['django.contrib.staticfiles',
> 'django.contrib.markup',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.sites',
> 'omeroweb.feedback',
> 'omeroweb.webadmin',
> 'omeroweb.webclient',
> 'omeroweb.webgateway',
> 'omeroweb.webtest',
> 'omeroweb.webredirect',
> 'omeroweb.webstart']
> Installed Middleware:
> ('django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware')
> 
> 
> Traceback:
> File "/opt/omero/lib/python/django/core/handlers/base.py" in get_response
>  111.                         response = callback(request, *callback_args, **callback_kwargs)
> File "/opt/omero/lib/python/omeroweb/decorators.py" in wrapped
>  376.             retval = f(request, *args, **kwargs)
> File "/opt/omero/lib/python/omeroweb/decorators.py" in wrapper
>  413.             context = f(request, *args, **kwargs)
> File "/opt/omero/lib/python/omeroweb/webclient/views.py" in script_ui
>  2231.     params = scriptService.getParams(long(scriptId))
> File "/opt/omero/lib/python/omero/gateway/__init__.py" in __call__
>  3271.             return self.handle_exception(e, *args, **kwargs)
> File "/opt/omero/lib/python/omeroweb/webclient/webclient_gateway.py" in handle_exception
>  1875.                     e, *args, **kwargs)
> File "/opt/omero/lib/python/omero/gateway/__init__.py" in __call__
>  3268.             return self.f(*args, **kwargs)
> File "/opt/omero/lib/python/omero_api_IScript_ice.py" in getParams
>  138.             return _M_omero.api.IScript._op_getParams.invoke(self, ((scriptID, ), _ctx))
> 
> Exception Type: NoProcessorAvailable at /webclient/script_ui/4252/
> Exception Value: exception ::omero::NoProcessorAvailable
> {
>    serverStackTrace = 
>    serverExceptionClass = 
>    message = No processor available! [1 response(s)]
>    processorCount = 1
> }
> 
> 
> On Jul 9, 2012, at 3:37 PM, Josh Moore wrote:
> 
>> 
>> On Jul 6, 2012, at 1:47 PM, Rubén Muñoz wrote:
>> 
>>> Hello Josh, 
>>> 
>>> Sorry for the late reply. 
>>> I have checked the logs you suggested. The master.{err|out} do not output anything, but there're others that might be related to the error:
>>> 
>>> Cannot load the script: 3948
>>> Error: "No processor available."
>>> Please contact your administrator. 
>>> 
>>> Thanks for having a look, we are thinking about upgrading to the next mayor release. Currently we are 4.3.3 stable and no script seems to work. 
>>> Please let me know if you think that our installation is corrupt. 
>> 
>> 
>> Thanks for the logs, Rubén. I don't (yet) think that your installation is corrupt. We are having issues with the processor in general (see: http://trac.openmicroscopy.org.uk/ome/ticket/8266) but that seems to be more related to network issues. In your case, the line:
>> 
>>> ==> Processor-0.log <==
>>> 2012-07-06 13:41:03,900 INFO  [                            omero.remote] (Dummy-5   )  Rslt: False
>> 
>> points to the fact that the processor doesn't _want_ to run the script you are giving it. What script is this that you are trying to run? Does it (and it's ID) show up in the output of: bin/omero script list? Were any changes made to the lib/scripts directory?
>> 
>> Cheers,
>> ~Josh
>> 
>>> Regards,
>>> Rubén
>>> 
>>> $ cd /op/omero/var/log
>>> $ tail -f *
>>> 
>>> ==> Blitz-0.log <==
>>> 2012-07-06 13:41:03,830 INFO  [        ome.services.util.ServiceHandler] (l.Server-9)  Meth:	interface ome.api.IAdmin.getEventContext
>>> 2012-07-06 13:41:03,830 INFO  [        ome.services.util.ServiceHandler] (l.Server-9)  Args:	()
>>> 2012-07-06 13:41:03,831 INFO  [         ome.security.basic.EventHandler] (l.Server-9)  Auth:	user=3,group=3,event=null(User),sess=41f7025c-f41a-4300-87bb-09263fbc629d
>>> 2012-07-06 13:41:03,831 INFO  [        ome.services.util.ServiceHandler] (-thread-35)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.reload(41f7025c-f41a-4300-87bb-09263fbc629d)
>>> 2012-07-06 13:41:03,831 INFO  [        ome.services.util.ServiceHandler] (-thread-35)  Args:	[null, InternalSF at 1582065822]
>>> 2012-07-06 13:41:03,832 INFO  [         ome.security.basic.EventHandler] (-thread-35)  Auth:	user=0,group=0,event=null(Sessions),sess=030cd7a6-3377-42ba-a569-2d796184029e
>>> 2012-07-06 13:41:03,835 INFO  [                 org.perf4j.TimingLogger] (-thread-35) start[1341574863831] time[4] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$6.doWork]
>>> 2012-07-06 13:41:03,835 INFO  [        ome.services.util.ServiceHandler] (-thread-35)  Rslt:	(ome.model.meta.Experimenter:Id_3, ome.model.meta.ExperimenterGroup:Id_3, [1, 3], ... 4 more)
>>> 2012-07-06 13:41:03,835 INFO  [                 org.perf4j.TimingLogger] (l.Server-9) start[1341574863830] time[5] tag[omero.call.success.ome.logic.AdminImpl.getEventContext]
>>> 2012-07-06 13:41:03,835 INFO  [        ome.services.util.ServiceHandler] (l.Server-9)  Rslt:	ome.system.SimpleEventContext at 327d6d28
>>> 2012-07-06 13:41:03,837 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Executor.doWork -- omero.grid.ParamsHelper.getParseJobForScript(3948)
>>> 2012-07-06 13:41:03,837 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Args:	[null, InternalSF at 1582065822]
>>> 2012-07-06 13:41:03,837 INFO  [         ome.security.basic.EventHandler] (l.Server-6)  Auth:	user=3,group=3,event=null(User),sess=41f7025c-f41a-4300-87bb-09263fbc629d
>>> 2012-07-06 13:41:03,839 INFO  [                 org.perf4j.TimingLogger] (l.Server-6) start[1341574863837] time[2] tag[omero.call.success.omero.grid.ParamsHelper$1.doWork]
>>> 2012-07-06 13:41:03,839 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Rslt:	null
>>> 2012-07-06 13:41:03,840 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Executor.doWork -- ome.services.blitz.impl.SharedResourcesI.submitJob
>>> 2012-07-06 13:41:03,840 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Args:	[null, InternalSF at 1582065822]
>>> 2012-07-06 13:41:03,846 INFO  [         ome.security.basic.EventHandler] (l.Server-6)  Auth:	user=3,group=3,event=45779(User),sess=41f7025c-f41a-4300-87bb-09263fbc629d
>>> 2012-07-06 13:41:03,849 INFO  [       ome.security.basic.CurrentDetails] (l.Server-6) Adding log:INSERT,class ome.model.jobs.ParseJob,309
>>> 2012-07-06 13:41:03,850 INFO  [       ome.security.basic.CurrentDetails] (l.Server-6) Adding log:INSERT,class ome.model.jobs.JobOriginalFileLink,309
>>> 2012-07-06 13:41:03,890 INFO  [                 org.perf4j.TimingLogger] (l.Server-6) start[1341574863840] time[50] tag[omero.call.success.ome.services.blitz.impl.SharedResourcesI$6.doWork]
>>> 2012-07-06 13:41:03,890 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Rslt:	ome.model.jobs.ParseJob:Id_309
>>> 2012-07-06 13:41:03,890 INFO  [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-6) Added servant to adapter: ProcessorCallback/86c8344f-c6a7-4628-b400-60e6f001b0f2(ome.services.blitz.impl.ProcessorCallbackI at 3418738e)
>>> 
>>> ==> Processor-0.log <==
>>> 2012-07-06 13:41:03,896 INFO  [                            omero.remote] (Dummy-5   )  Meth: ProcessorI.willAccept
>>> 
>>> ==> Blitz-0.log <==
>>> 2012-07-06 13:41:03,897 INFO  [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-7) Added servant to adapter: df2f3af6-b105-487e-82a1-e15d624376fb/0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:1:-687df7cf:13812f9002d:-7defomero.api.JobHandle(omero.api._JobHandleTie at 1890a3d1)
>>> 2012-07-06 13:41:03,898 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Meth:	interface ome.api.StatefulServiceInterface.close
>>> 2012-07-06 13:41:03,898 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Args:	()
>>> 2012-07-06 13:41:03,899 INFO  [         ome.security.basic.EventHandler] (l.Server-0)  Auth:	user=0,group=0,event=null(User),sess=df2f3af6-b105-487e-82a1-e15d624376fb
>>> 2012-07-06 13:41:03,899 INFO  [                 org.perf4j.TimingLogger] (l.Server-0) start[1341574863898] time[1] tag[omero.call.success.ome.services.JobBean.close]
>>> 2012-07-06 13:41:03,899 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Rslt:	null
>>> 2012-07-06 13:41:03,899 INFO  [        ome.services.util.ServiceHandler] (l.Server-0) Cleanup: ome.services.JobBean at 3ff2faf0
>>> 2012-07-06 13:41:03,899 INFO  [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-0) Unregistered servant:df2f3af6-b105-487e-82a1-e15d624376fb/0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:1:-687df7cf:13812f9002d:-7defomero.api.JobHandle(omero.api._JobHandleTie at 1890a3d1)
>>> 
>>> ==> Processor-0.log <==
>>> 2012-07-06 13:41:03,900 INFO  [                            omero.remote] (Dummy-5   )  Rslt: False
>>> 
>>> ==> Indexer-0.log <==
>>> 2012-07-06 13:41:04,284 INFO  [   ome.services.fulltext.FullTextIndexer] (3-thread-4) INDEXED 2 objects in 1 batch(es) [228 ms.]
>>> 
>>> ==> Blitz-0.log <==
>>> 2012-07-06 13:41:13,893 INFO  [ ome.services.blitz.impl.ServiceFactoryI] (l.Server-6) Unregistered servant:ProcessorCallback/86c8344f-c6a7-4628-b400-60e6f001b0f2(ome.services.blitz.impl.ProcessorCallbackI at 3418738e)
>>> 2012-07-06 13:41:13,893 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Executor.doWork -- ome.services.blitz.impl.SharedResourcesI.updateJob
>>> 2012-07-06 13:41:13,893 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Args:	[null, InternalSF at 1582065822]
>>> 2012-07-06 13:41:13,900 INFO  [         ome.security.basic.EventHandler] (l.Server-6)  Auth:	user=3,group=3,event=45780(User),sess=41f7025c-f41a-4300-87bb-09263fbc629d
>>> 2012-07-06 13:41:13,912 INFO  [       ome.security.basic.CurrentDetails] (l.Server-6) Adding log:UPDATE,class ome.model.jobs.ParseJob,309
>>> 2012-07-06 13:41:13,948 INFO  [                 org.perf4j.TimingLogger] (l.Server-6) start[1341574873893] time[55] tag[omero.call.success.ome.services.blitz.impl.SharedResourcesI$7.doWork]
>>> 2012-07-06 13:41:13,948 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Rslt:	null
>>> 
>>> ==> Indexer-0.log <==
>>> 2012-07-06 13:41:16,486 INFO  [    ome.services.fulltext.FullTextThread] (3-thread-2) Currently running; skipping
>>> 2012-07-06 13:41:16,706 INFO  [   ome.services.fulltext.FullTextIndexer] (3-thread-5) INDEXED 1 objects in 1 batch(es) [199 ms.]
>> 
>> 
>> 
>> 
>>> On Jul 2, 2012, at 11:50 AM, Josh Moore wrote:
>>> 
>>>> 
>>>> On Jun 22, 2012, at 9:08 AM, Rubén Muñoz wrote:
>>>> 
>>>>> Hi Will and everybody, 
>>>> 
>>>> Hi Rubén,
>>>> 
>>>> Sorry that we let this fall through the cracks. Vacation time is starting.
>>>> 
>>>>> I am getting the Error: 'No processor available' with every scipt from Insight. 
>>>>> Our version is 4.3.3. Do you recommend to upgrade or is there an quicker fix?
>>>> 
>>>> There shouldn't be a need to upgrade; something else must be happening that's not a part of #8266.
>>>> 
>>>>> In your trac I found the following:
>>>>> 
>>>>> http://trac.openmicroscopy.org.uk/ome/ticket/8266#
>>>>> 
>>>>> Tried that and also tried to restart the whole server (including the machine)
>>>>> 
>>>>> Am I missing something?
>>>> 
>>>> Is there anything unusual in Processor-0.log, or master.{err,out}?
>>>> 
>>>>> Thanks for the great support Users' meeting!
>>>> 
>>>> You're very welcome.
>>>> 
>>>>> Rubén
>>>> 
>>>> Cheers,
>>>> ~Josh
>>> 
>> 
> 



More information about the ome-devel mailing list