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.
>>>
- - - - - - - - -