[ome-users] OMERO.server4.4.4 Settings Configuration (Could not import omero.cli! No module named Ice)

Blazej Pindelski b.pindelski at dundee.ac.uk
Tue Nov 13 16:19:38 GMT 2012


> Hi everybody,

Hi Unai,

> I'm trying to install OMERO.server-4.4.4 on a Windows Server Standard computer, 32 bits, Service Pack 2.
>
> First of all, I installed the following components before starting the configuration of the database:
>
> - Java Development Kit 1.7
> - Python 2.6.6
> - pywin32-218.win32
> - postgresql-9.2.1-1-windows
> - Ice-3.4.2
>
> Then I followed the steps indicated in here:
> https://www.openmicroscopy.org/site/support/omero4/sysadmins/windows/server-installation.html
>
> When trying to configurate the database settings, I get the following error:
>
>
> O:\omero_dist>bin\omero config set omero.db.name omero_database
> ********************************************************************************
>
>
>        ERROR: Could not import omero.cli! (No module named Ice)
>
>        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.
>
> ********************************************************************************

That error indicates that bin\omero (and ultimately your Python installation)
isn't able to access the Ice module.

>
>        Debugging Info:
>        --------------
>        CWD=O:\omero_dist
>        VERSION=2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (In
> tel)]
>        OMERO_HOME=None
>        PYTHONPATH=['O:\\omero_dist\\lib\\python', 'O:\\omero_dist\\var\\lib', '
> O:\\omero_dist\\bin', 'O:\\omero_dist\\lib\\python', 'O:\\omero_dist', 'C:\\Wind
> ows\\system32\\python26.zip', 'C:\\Python26\\DLLs', 'C:\\Python26\\lib', 'C:\\Py
> thon26\\lib\\plat-win', 'C:\\Python26\\lib\\lib-tk', 'C:\\Python26', 'C:\\Python
> 26\\lib\\site-packages', 'C:\\Python26\\lib\\site-packages\\win32', 'C:\\Python2
> 6\\lib\\site-packages\\win32\\lib', 'C:\\Python26\\lib\\site-packages\\Pythonwin
> ', 'O:\\omero_dist\\lib\\fallback']
>
>
> The enviroment variables seem to be correctly set:
>
> O:\omero_dist>echo %PYTONPATH%
> C:\Program Files\ZeroC\Ice-3.4.2\python

This looks ok. One thing I noticed (and maybe it would be worth trying out) is that
on Windows Python sometimes doesn't like when Ice is installed into a folder with
a hyphen ("-") character present in the name. I tend to install Ice to a top-level folder
(e.g. C:\ice).

What happens when you try this in your command prompt:

C:\>python
Python 2.6.6 (r266:84297, Aug 24 2010, 18:46:32) [MSC v.1500 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import Ice


> O:\omero_dist>echo %Path%
> C:\Windows\system32\cmd.exe;C:\Program Files\ZeroC\Ice-3.4.2\bin;C:\Python26;C:\
> Program Files\PHP\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Pr
> ogram Files\Intel\DMIX;C:\Windows\System32\Windows System Resource Manager\bin;C
> :\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Panda Security\WaAge
> nt\Common;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32\cmd.ex
> e
>
> Can anybody help me with this problem?
>
> Thanks in advance,
> Unai

Regards,
Blazej

The University of Dundee is a registered Scottish Charity, No: SC015096




More information about the ome-users mailing list