[ome-users] OMERO on 64 bit Windows

Josh Moore josh at glencoesoftware.com
Mon May 17 12:47:01 BST 2010


Davies, Ian (GE Healthcare) writes:
 > Hello Josh,

Hi Ian,

 > I updated PATH as you suggested but this had no effect.  I then updated
 > PYTHONPATH to include references to the 64bit versions and now the omero
 > db script command produces the desired result.  pgAdmin III shows that
 > all the tables etc have been added, I assume correctly.

Great. Good to hear.

 > Unfortunately, starting the server gives this:
 > C:\omero_dist>bin\omero admin start
 > Creating C:\omero_dist\var\master
 > Initializing C:\omero_dist\var\log
 > Creating C:\omero_dist\var\registry
 > No descriptor given. Using etc\grid\windefault.xml
 > [SC] CreateService SUCCESS
 > 
 > SERVICE_NAME: OMERO.master
 >         TYPE               : 10  WIN32_OWN_PROCESS
 >         STATE              : 2  START_PENDING
 >                                 (NOT_STOPPABLE, NOT_PAUSABLE,
 > IGNORES_SHUTDOWN))
 >         WIN32_EXIT_CODE    : 0  (0x0)
 >         SERVICE_EXIT_CODE  : 0  (0x0)
 >         CHECKPOINT         : 0x1
 >         WAIT_HINT          : 0x7d0
 >         PID                : 3364
 >         FLAGS              :
 > 
 > Waiting on startup. Use CTRL-C to exit
 > ..............................Failed to startup after 5 minutes
 > 
 > I include the diagnostics output as follows:
 > 
 > C:\omero_dist>bin\omero admin diagnostics
 > ========================================================================
 > ========
 > OMERO Diagnostics Beta-4.1.1-r5927-b91
 > ========================================================================
 > ========
 > 
 > Commands:   java -version                  1.6.0
 > (C:\WINDOWS\system32\java.EXE)
 > Commands:   python -V                      2.6.5
 > (C:\Python26\python.EXE)
 > Commands:   icegridnode --version          3.4.0
 > (C:\ICE\bin\x64\icegridnode.EXE -- 2 others)
...
 > Log files:  master.err                     0.0 KB
 > Log files:  master.out                     0.0 KB
 > Log files:  Total size                     0.27 MB 


Debugging on Windows is unfortunately quite painful because of Ice's
handling of standard out/err. There are instructions for viewing
issues in the Event Viewer here:

  http://lists.openmicroscopy.org.uk/pipermail/ome-users/2009-May/001769.html

But before doing that, I'd highly recommed you downgrade to Ice 3.3.1
which is the currently supported version. Ice 3.4 has definitely *not*
been tested on Windows for use with OMERO.

Sorry for the inconvience.
~Josh.

 > -----Original Message-----
 > From: Josh Moore [mailto:josh at glencoesoftware.com] 
 > Sent: 14 May 2010 21:16
 > To: Davies, Ian (GE Healthcare)
 > Cc: ome-users at lists.openmicroscopy.org.uk
 > Subject: [ome-users] OMERO on 64 bit Windows
 > 
 > 
 > Hi Ian,
 > 
 > Looks like the Ice installation is not working properly. What did you
 > add to your PATH environment variable? Are the x64 directories before
 > the other Ice directories?
 > 
 > For example, my PATH setting from a 64-bit Windows Server
 > 2003 machine has: ...;C:\Ice-3.3.1\bin\x64;C:\Ice-3.3.1\bin
 > 
 > Cheers,
 > ~Josh
 > 
 > 
 > Davies, Ian (GE Healthcare) writes:
 >  >
 >  > I'm trying to install OMERO4 (again), this time on a 64 bit Windows
 > > machine and I can't set up the database without seeing this:
 >  >
 >  >
 >  > C:\omero_dist>bin\omero db script
 >  > Error loading:c:\omero_dist\lib\python\omero\plugins\admin.py
 >  > Traceback (most recent call last):
 >  >   File "c:\omero_dist\lib\python\omero\cli.py", line 996, in
 > loadplugins
 >  >     execfile( plugin, loc )
 >  >   File "c:\omero_dist\lib\python\omero\plugins\admin.py", line 24, in
 >  > <module>
 >  >     import omero_ServerErrors_ice
 >  >   File "c:\omero_dist\lib\python\omero_ServerErrors_ice.py", line 13,
 > in
 >  > <module>
 >  >     import Ice, IcePy, __builtin__
 >  >   File "C:\ICE\python\Ice.py", line 47, in <module>
 >  >     import IcePy
 >  > ImportError: DLL load failed: %1 is not a valid Win32 application.
 >  > Error loading:c:\omero_dist\lib\python\omero\plugins\upload.py
 >  > Traceback (most recent call last):
 >  >   File "c:\omero_dist\lib\python\omero\cli.py", line 996, in
 > loadplugins
 >  >     execfile( plugin, loc )
 >  >   File "c:\omero_dist\lib\python\omero\plugins\upload.py", line 14,
 > in
 >  > <module>
 >  >     import omero.util.originalfileutils;
 >  >   File "c:\omero_dist\lib\python\omero\util\__init__.py", line 11, in
 >  > <module>
 >  >     import Ice
 >  >   File "C:\ICE\python\Ice.py", line 47, in <module>
 >  >     import IcePy
 >  > ImportError: DLL load failed: %1 is not a valid Win32 application.
 >  > Error printing text
 >  > DLL load failed: %1 is not a valid Win32 application.
 >  > C:\omero_dist>bin\
 >  >
 >  >
 >  > What do I need to do to make this work?
 >  > Regards,
 >  > Ian Davies



More information about the ome-users mailing list