We're Hiring!

error script

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

error script

Postby chettia02 » Tue Jul 03, 2012 1:49 pm

hello
I seen know the solution for this error
Image
thnks
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: error script

Postby jmoore » Tue Jul 03, 2012 1:52 pm

Hi. We'll need to see the rest of the error message. Also, what were you doing when it happened? Did you submit the form?
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: error script

Postby chettia02 » Tue Jul 03, 2012 1:55 pm

Traceback (most recent call last):

File "c:\omero_dist\lib\python\django\core\handlers\base.py", line 92, in get_response
response = callback(request, *callback_args, **callback_kwargs)

File "c:\omero_dist\lib\python\omeroweb\webclient\views.py", line 174, in wrapped
return f(request, *args, **kwargs)

File "c:\omero_dist\lib\python\omeroweb\webclient\views.py", line 3090, in script_ui
params = scriptService.getParams(long(scriptId))

File "c:\omero_dist\lib\python\omero\gateway\__init__.py", line 2959, in __call__
return self.handle_exception(e, *args, **kwargs)

File "c:\omero_dist\lib\python\omeroweb\webclient\webclient_gateway.py", line 1651, in handle_exception
e, *args, **kwargs)

File "c:\omero_dist\lib\python\omero\gateway\__init__.py", line 2956, in __call__
return self.f(*args, **kwargs)

File "c:\omero_dist\lib\python\omero_api_IScript_ice.py", line 138, in getParams
return _M_omero.api.IScript._op_getParams.invoke(self, ((scriptID, ), _ctx))

ResourceError: exception ::omero::ResourceError
{
serverStackTrace =
serverExceptionClass =
message = No processor available.
}


<WSGIRequest
GET:<QueryDict: {u'IDs': [u'678'], u'Data_Type': [u'Image']}>,
POST:<QueryDict: {}>,
COOKIES:{'sessionid': '604868868f3c81e3e23cfc13c294ad93'},
META:{'ALLUSERSPROFILE': 'C:\\ProgramData',
'APPDATA': 'C:\\Users\\Administrateur\\AppData\\Roaming',
'COMMONPROGRAMFILES': 'C:\\Program Files (x86)\\Common Files',
'COMMONPROGRAMFILES(X86)': 'C:\\Program Files (x86)\\Common Files',
'COMMONPROGRAMW6432': 'C:\\Program Files\\Common Files',
'COMPUTERNAME': 'IC-4342',
'COMSPEC': 'C:\\Windows\\system32\\cmd.exe',
'CONTENT_LENGTH': '',
'CONTENT_TYPE': 'text/plain',
'DIST': 'c:\\omero_dist\\',
'DJANGO_SETTINGS_MODULE': 'omeroweb.settings',
'FOUND': '1',
'FP_NO_HOST_CHECK': 'NO',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HOMEDRIVE': 'C:',
'HOMEPATH': '\\Users\\Administrateur',
'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_ACCEPT_LANGUAGE': 'fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3',
'HTTP_CONNECTION': 'keep-alive',
'HTTP_COOKIE': 'sessionid=604868868f3c81e3e23cfc13c294ad93',
'HTTP_HOST': 'ic-4342:4080',
'HTTP_REFERER': 'http://ic-4342:4080/webclient/userdata/',
'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0',
'LOCALAPPDATA': 'C:\\Users\\Administrateur\\AppData\\Local',
'LOGONSERVER': '\\\\IC-4342',
'NUMBER_OF_PROCESSORS': '12',
'OS': 'Windows_NT',
'PATH': 'C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Ice-3.3.1\\bin;C:\\Program Files (x86)\\Common Files\\Acronis\\SnapAPI\\;C:\\Python25\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Ice-3.3.1\\bin',
'PATHEXT': '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.py;.pyw',
'PATH_INFO': u'/webclient/script_ui/1/',
'PROCESSOR_ARCHITECTURE': 'x86',
'PROCESSOR_ARCHITEW6432': 'AMD64',
'PROCESSOR_IDENTIFIER': 'Intel64 Family 6 Model 44 Stepping 2, GenuineIntel',
'PROCESSOR_LEVEL': '6',
'PROCESSOR_REVISION': '2c02',
'PROGRAMDATA': 'C:\\ProgramData',
'PROGRAMFILES': 'C:\\Program Files (x86)',
'PROGRAMFILES(X86)': 'C:\\Program Files (x86)',
'PROGRAMW6432': 'C:\\Program Files',
'PROMPT': '$P$G',
'PSMODULEPATH': 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',
'PUBLIC': 'C:\\Users\\Public',
'PYTHONPATH': 'c:\\omero_dist\\lib\\python;C:\\Ice-3.3.1\\python;c:\\omero_dist\\lib\\python;c:\\omero_dist\\var\\lib;c:\\omero_dist\\lib\\fallback',
'QUERY_STRING': 'Data_Type=Image&IDs=678',
'REMOTE_ADDR': '192.168.108.107',
'REMOTE_HOST': '',
'REQUEST_METHOD': 'GET',
'SCRIPT_NAME': u'',
'SERVER_NAME': 'IC-4342',
'SERVER_PORT': '4080',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.5.5',
'SESSIONNAME': 'Console',
'SYSTEMDRIVE': 'C:',
'SYSTEMROOT': 'C:\\Windows',
'TEMP': 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\1',
'TMP': 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\1',
'USERDOMAIN': 'IC-4342',
'USERNAME': 'Administrateur',
'USERPROFILE': 'C:\\Users\\Administrateur',
'WINDIR': 'C:\\Windows',
'WINDOWS_TRACING_FLAGS': '3',
'WINDOWS_TRACING_LOGFILE': 'C:\\BVTBin\\Tests\\installpackage\\csilogfile.log',
'wsgi.errors': <open file '<stderr>', mode 'w' at 0x004700B0>,
'wsgi.file_wrapper': <class 'django.core.servers.basehttp.FileWrapper'>,
'wsgi.input': <socket._fileobject object at 0x049B4930>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: error script

Postby jmoore » Tue Jul 03, 2012 2:07 pm

"No processor available" likely means that you don't have prerequisites installed. Can you show us the output of bin/omero admin diagnostics? ~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: error script

Postby chettia02 » Tue Jul 03, 2012 2:15 pm

================================================================================

OMERO Diagnostics 4.3.4-dbcbce5a-b4
================================================================================


Commands: java -version 1.6.0 (C:\Windows\system32\java.E
XE)
Commands: python -V 2.5.5 (C:\Python25\python.EXE)
Commands: icegridnode --version 3.3.1 (C:\Ice-3.3.1\bin\icegridno
de.EXE)
Commands: icegridadmin --version 3.3.1 (C:\Ice-3.3.1\bin\icegridad
min.EXE)
Commands: psql --version not found

Server: icegridnode running
Server: Blitz-0 active (pid = 2676, enabled)
Server: DropBox inactive (disabled)
Server: FileServer inactive (disabled)
Server: Indexer-0 active (pid = 2752, enabled)
Server: MonitorServer inactive (disabled)
Server: OMERO.Glacier2 active (pid = 2772, enabled)
Server: OMERO.IceStorm active (pid = 2832, enabled)
Server: PixelData-0 active (pid = 2864, enabled)
Server: Processor-0 inactive (disabled)
Server: Tables-0 inactive (disabled)
Server: TestDropBox inactive (enabled)

Log dir: c:\omero_dist\var\log exists

Log files: Blitz-0.log 158.0 MB errors=953 warnings=41
9
Log files: DropBox.log n/a
Log files: FileServer.log n/a
Log files: Indexer-0.log 398.0 KB errors=9 warnings=12

Log files: MonitorServer.log n/a
Log files: OMEROweb.log 1.0 MB errors=727 warnings=10
5
Log files: PixelData-0.log 256.0 KB errors=8 warnings=12

Log files: Processor-0.log n/a
Log files: Tables-0.log n/a
Log files: TestDropBox.log n/a
Log files: master.err 0.0 KB
Log files: master.out 0.0 KB
Log files: Total size 161.09 MB

Parsing Blitz-0.log:[line:904] => Server restarted <=
Parsing Blitz-0.log:[line:1362] => Server restarted <=
Parsing Blitz-0.log:[line:3586] => Server restarted <=
Parsing Blitz-0.log:[line:5799] => Server restarted <=
Parsing Blitz-0.log:[line:5920] => Server restarted <=
Parsing Blitz-0.log:[line:15728] => Server restarted <=
Parsing Blitz-0.log:[line:35181] => Server restarted <=
Parsing Blitz-0.log:[line:35426] => Server restarted <=
Parsing Blitz-0.log:[line:50744] => Server restarted <=
Parsing Blitz-0.log:[line:51166] => Server restarted <=
Parsing Blitz-0.log:[line:72416] => Server restarted <=
Parsing Blitz-0.log:[line:130469] => Server restarted <=
Parsing Blitz-0.log:[line:142580] => Server restarted <=
Parsing Blitz-0.log:[line:147503] => Server restarted <=
Parsing Blitz-0.log:[line:244177] => Server restarted <=
Parsing Blitz-0.log:[line:280780] => Server restarted <=
Parsing Blitz-0.log:[line:299466] => Server restarted <=
Parsing Blitz-0.log:[line:462074] => Server restarted <=
Parsing Blitz-0.log:[line:462456] => Server restarted <=
Parsing Blitz-0.log:[line:547109] => Server restarted <=
Parsing Blitz-0.log:[line:636599] => Server restarted <=
Parsing Blitz-0.log:[line:636720] => Server restarted <=
Parsing Blitz-0.log:[line:637241] => Server restarted <=
Parsing Blitz-0.log:[line:637362] => Server restarted <=
Parsing Blitz-0.log:[line:637483] => Server restarted <=
Parsing Blitz-0.log:[line:637605] => Server restarted <=
Parsing Blitz-0.log:[line:637726] => Server restarted <=

Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:PATH=C:\Python25\;C:\Windows\system32;C:\Windows;C:\Windows\System32
\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Ice-3.3.1\bin;C:\Program Fi
les (x86)\Common Files\Acronis\SnapAPI\;C:\Python25\;C:\Windows\system32;C:\Wind
ows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Ice-
3.3.1\bin
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)

OMERO data dir: 'C:\\OMERO' Exists? True Is writable? True
OMERO.web status... DEVELOPMENT: You will have to check status by hand!

c:\omero_dist>
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: error script

Postby jmoore » Tue Jul 03, 2012 2:19 pm

For that script to work, you'll need to install PyTables as explained under https://www.openmicroscopy.org/site/sup ... #section-2 Cheers, ~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: error script

Postby chettia02 » Tue Jul 03, 2012 2:42 pm

i install tables-2.1.win32-py2.5.msi
but there is the same problm
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: error script

Postby wmoore » Tue Jul 03, 2012 2:58 pm

Hi,

One more thing to try:

Code: Select all
$ bin/omero admin ice "server stop Processor-0"


See: http://trac.openmicroscopy.org.uk/ome/ticket/8266
User avatar
wmoore
Team Member
 
Posts: 674
Joined: Mon May 18, 2009 12:46 pm

Re: error script

Postby chettia02 » Wed Jul 04, 2012 7:38 am

résult:




c:\omero_dist>bin\omero admin ice "server stop Processor-0"
error: the server didn't stop successfully:
The server is already inactive.

c:\omero_dist>
chettia02
 
Posts: 113
Joined: Thu May 24, 2012 8:24 am

Re: error script

Postby jmoore » Wed Jul 04, 2012 7:51 am

Then trying enabling it and running diagnostics again:
Code: Select all
bin\omero admin ice "server enable Processor-0"
bin\omero admin diagnostics


Thanks,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Next

Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest