We're Hiring!

Installation of OME Server 4.4.6 on Windows 2008 and Windows

Having a problem deploying OMERO? 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

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Installation of OME Server 4.4.6 on Windows 2008 and Windows

Postby Anand » Tue Apr 09, 2013 9:38 am

I am using the latest versions of Ice (3.5.0), JDK (7u17), Omero server (4.4.6-ice34-b102), Postgresql (9.2), Python (3.3.0), and Pywin (32-218). As per the installation procedure I have installed Ice, JDK, Python, PostgreSQL and Pywin. I have even extracted Omero in omero.server folder. On extracting bin\omero db script, an error occurs and installation does not start.

The same error occurs on Microsoft Windows 2008 SP2 Std Edn as well as on Microsoft Windows XP Prof SP3. The error is appended below:

Please help.

- - - - - - - - - - -

Directory of C:\OMERO.server

08/04/2013 05:44 PM <DIR> .
08/04/2013 05:44 PM <DIR> ..
08/04/2013 05:50 PM <DIR> bin
08/04/2013 05:44 PM <DIR> etc
08/04/2013 05:44 PM <DIR> include
08/04/2013 05:44 PM <DIR> lib
11/02/2013 10:25 AM 17,987 LICENSE.txt
08/04/2013 05:50 PM <DIR> licenses
08/04/2013 05:50 PM <DIR> sql
1 File(s) 17,987 bytes
8 Dir(s) 137,110,106,112 bytes free

C:\OMERO.server>cd bin

C:\OMERO.server\bin>omero config get
File "C:\OMERO.server\bin\\omero", line 27
print "FATAL: Running %s as root can corrupt your directory permissions." %
sys.argv[0]
^
SyntaxError: invalid syntax

C:\OMERO.server\bin>omero db script
File "C:\OMERO.server\bin\\omero", line 27
print "FATAL: Running %s as root can corrupt your directory permissions." %
sys.argv[0]
^
SyntaxError: invalid syntax

C:\OMERO.server\bin>omero admin diagnostics
File "C:\OMERO.server\bin\\omero", line 27
print "FATAL: Running %s as root can corrupt your directory permissions." %
sys.argv[0]
^
SyntaxError: invalid syntax

C:\OMERO.server\bin>echo %path%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\php;c:\python33;c:\ze
roc\ice-3.5.0\bin

C:\OMERO.server\bin>echo %pythonpath%
C:\OMERO.server\lib\python;c:\zeroc\ice-3.5.0\python

C:\OMERO.server\bin>java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) Client VM (build 23.7-b01, mixed mode, sharing)

C:\OMERO.server\bin>python
Python 3.3.1 (v3.3.1:d9893d13c628, Apr 6 2013, 20:25:12) [MSC v.1600 32 bit (In
tel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>

- - - - - - - - -
Anand
 
Posts: 13
Joined: Tue Apr 09, 2013 5:46 am

Re: Installation of OME Server 4.4.6 on Windows 2008 and Win

Postby jmoore » Tue Apr 09, 2013 10:16 am

Hi Jadhav,

sorry for the confusion, but OMERO does not yet support Ice 3.5, which was just released. We'll update the page to make this clearer. For the moment, you'll need to use 3.3 or 3.4.

Python 3 is also not supported, which also needs to be made clearer.

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

Re: Installation of OME Server 4.4.6 on Windows 2008 and Win

Postby Anand » Wed Apr 10, 2013 9:47 am

Hi Josh,

Thanks for the prompt reply. I have re-installed Ice-3.4.2 and Python 2.6.6 (64-bit). On executing omero db script, following error is displayed:

- - - - - - -

C:\OMERO.server\bin>omero db script
********************************************************************************

ERROR: Could not import omero.cli! (DLL load failed: %1 is not a valid W
in32 application.)

This means that your installation is incomplete. Contact
the OME mailing lists for more information:

http://www.openmicroscopy.org/site/community

If you are building from source, please supply the build log
as well as which version you are building from. If you
downloaded a distribution, please provide which link you
used.

********************************************************************************

Debugging Info:
--------------
CWD=C:\OMERO.server\bin
VERSION=2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AM
D64)]
OMERO_HOME=None
PYTHONPATH=['C:\\OMERO.server\\lib\\python', 'C:\\OMERO.server\\var\\lib
', 'C:\\OMERO.server\\bin', 'C:\\OMERO.server\\lib\\python', 'c:\\ZeroC\\Ice-3.4
.2\\python', 'C:\\Windows\\system32\\python26.zip', 'c:\\Python26\\DLLs', 'c:\\P
ython26\\lib', 'c:\\Python26\\lib\\plat-win', 'c:\\Python26\\lib\\lib-tk', 'c:\\
Python26', 'c:\\Python26\\lib\\site-packages', 'c:\\Python26\\lib\\site-packages
\\win32', 'c:\\Python26\\lib\\site-packages\\win32\\lib', 'c:\\Python26\\lib\\si
te-packages\\Pythonwin', 'C:\\OMERO.server\\lib\\fallback']


C:\OMERO.server>python
Python 2.6.6 (r266:84297, Aug 24 2010, 18:13:38) [MSC v.1500 64 bit (AMD64)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.path.append ('C:\\OMERO.server\\lib\\python')
>>> import omero.cli
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\OMERO.server\lib\python\omero\cli.py", line 43, in <module>
from omero.util import get_user
File "C:\OMERO.server\lib\python\omero\util\__init__.py", line 11, in <module>

import Ice
File "c:\ZeroC\Ice-3.4.2\python\Ice.py", line 47, in <module>
import IcePy
ImportError: DLL load failed: %1 is not a valid Win32 application.
>>>

- - - - - - -

How do I sort out this issue? Please help.

Anand
Anand
 
Posts: 13
Joined: Tue Apr 09, 2013 5:46 am

Re: Installation of OME Server 4.4.6 on Windows 2008 and Win

Postby jmoore » Wed Apr 10, 2013 9:53 am

What's the value of your %PATH% environment variable? Could you try the solution described here: http://lists.openmicroscopy.org.uk/pipermail/ome-users/2010-May/002270.html?

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


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest